[fa.info-vax] Version limit Query

info-vax@ucbvax.ARPA (06/07/85)

From: Richard Garland <OC.GARLAND@CU20B.ARPA>


Does anyone know how to set the version limit on  a directory which
was created without a limit, such that subsequent files will inherit
the limit?

It seems that if I create a directory with a limit, files inherit that
limit.  If however, I create the directory without a limit, then later
do a SET FILE FOO.DIR/VERSION=n  the new limit has no effect on files
created in the directory.  It is as if the SET FILE command put a limit
on the number of DIRECTORY VERSIONS (which is meaningless to VMS) instead 
of setting a limit on FILE VERSIONS IN THE DIRECTORY.  Is there any way 
to do this once a directory is created?

Thanks for any help.

					Rg
-------

info-vax@ucbvax.ARPA (06/07/85)

From: Gail Rubin <grubin@bbn-spca>

Use SET DIRECTORY /VERSION=n, not SET FILE.

SET FILE always works the same on its file argument, it doesn't matter
whether the argument is a directory or not. So of course 
	SET FILE FOO.DIR/VERSION=n 
just limits how many FOO.DIR's there can be (which, as you noted, is
meaningless).

To have VMS interpret your commands as relating to a DIRECTORY, use
SET DIRECTORY.

-- Gail Rubin
(grubin@bbn-spca or @bbn-unix)

info-vax@ucbvax.ARPA (06/11/85)

From: ecsvax!jerryr%mcnc.csnet@csnet-relay.ARPA

Setting the version limit on a directory after creating it affects only
the files created AFTER the version limit change.  The old version limit
was stored in the file header of the old files.  If you reset the
version limit of the directory, you need to reset for the existing files
in that directory as well.
					Jerry Robinson
					UNC School of Medicine