T.R | Title | User | Personal Name | Date | Lines |
---|
575.1 | | JON::MORONEY | R.I.P. Machine | Fri Oct 09 1987 16:28 | 5 |
| Somehow, someone somewhere did a $ SET DIRECTORY/VERS=1 [your_directory]
This makes all new files have version=1 in the directory.
-Mike
|
575.2 | I checked that (re-.1 | CARKEY::HARRIS | | Fri Oct 09 1987 16:36 | 9 |
|
>Somehow, someone somewhere did a $ SET DIRECTORY/VERS=1 [your_directory]
>
>This makes all new files have version=1 in the directory.
I did a DIR/FULL on my directory and had "No version limit" under File
attributes.
-Bruce
|
575.3 | 000000.dir may be it | SMOKEY::SARDESON | A little more cofused every day... | Fri Oct 09 1987 16:56 | 9 |
|
>>>I did a DIR/FULL on my directory and had "No version limit" under File
>>>attributes.
it could be the [000000] in the volume, if your directory was created before
the version limit was changed to 1, then your directory would still be "0",
but all new file would be "1"
bruce
|
575.4 | Wrong "version" info | JON::MORONEY | R.I.P. Machine | Fri Oct 09 1987 17:01 | 12 |
| >I did a DIR/FULL on my directory and had "No version limit" under File
>attributes.
No, these are different. What you saw is how many versions of the directory
may exist before VMS attempts to purge it (kinda useless for directories)
The $SET DIRECTORY command sets a field in the directory file which determines
how many versions of files created in the directory will exist by default.
Don't remember what displays this.
-Mike
|
575.5 | $ help set dir /version_limit | SMOKEY::SARDESON | A little more cofused every day... | Fri Oct 09 1987 17:23 | 22 |
| >>>
>>>The $SET DIRECTORY command sets a field in the directory file which determines
>>>how many versions of files created in the directory will exist by default.
>>>
>>>Don't remember what displays this.
>>>
from $ HELP SET DIR /version_limit
...
To find out what the current version limit is for a directory, you
must use the DUMP/HEADER command. Specify the /FORMATTED qualifier
to format the output and the /BLOCKS=COUNT:0 qualifier to avoid
dumping the entire directory contents. For example,
DUMP/HEADER/FORMATTED/BLOCKS=COUNT:0 directory-spec
this should show you the verison limit.
bruce
|
575.6 | truth is stranger than fiction | ANGORA::ZARLENGA | This is not my beautiful house | Fri Oct 09 1987 17:26 | 8 |
| I got burnt by this 2 years ago. It's crazy, but DUMP/HEADER
is the way to tell the default file version limit. Even though
VMS recognizes directories as such (it'll say it in DUMP), it
tells you how many versions of <whatever>.DIR you can have!!
They haven't gotten around to correcting this oversight yet.
-mike z
|
575.7 | Original Version? | ODIXIE::LINDQUIST | | Fri Oct 09 1987 19:30 | 12 |
| Just to venture off on a slightly different tack...
Could you have copied this file, and thus started out with a
file with a version limit of 1? Then each time you edited or
whatever, the new version would inherit the characteristics
of the previous version of the file. The file would inherit
characteristics from the directory only if a previous version
doesn't exist.
Anyway, that's my two cents. And worth every penny...
- Lee
|