T.R | Title | User | Personal Name | Date | Lines |
---|
270.1 | MSG directory grown too big | KURMA::GMURRAY | Have Mercy I Cry City ! | Wed Mar 18 1992 14:33 | 11 |
|
On further investigation, this seems to have been caused by his
having a very large MSG directory - 123 blocks, containing 627 files.
The majority of these have been imported from VMSmail. Is there any
way to redistribute them, say into the DOCn directories ?
Thanks,
Gil
|
270.2 | Rename directory and files | SIOG::T_REDMOND | Thoughts of an Idle Mind | Wed Mar 18 1992 15:19 | 15 |
| Convert the .MSG directory file. Do this by creating a new directory
and then renaming all the current files into the new directory. Then
rename the directory file itself.
$ CREATE/ DIR [.NEW_MSG]
$ RENAME [.MSG]*.* [.NEW_MSG]*.*
$ RENAME NEW_MSG.DIR MSG.DIR
$ PURGE MSG.DIR
You should find that the file size (for 627 files) is much less than
127 blocks. I don't know that this is the actual root problem though,
the problems with large directory files tended to have vanished when
VMS V5 appeared.
Tony
|
270.3 | That did the trick | KURMA::GMURRAY | Have Mercy I Cry City ! | Wed Mar 18 1992 15:25 | 13 |
|
Thanks a lot Tony,
The MSG.DIR has gone from 122/123 blocks down to 45/54 blocks !
I've advised him to use auto-forward from his VMSmail, rather than
use VMSmail import from now on. This way the files will go to the
shared areas instead.
Cheers,
Gil
|
270.4 | Version 1 on directory? | IOSG::TALLETT | Mit Schuh bish hi | Thu Mar 19 1992 08:24 | 8 |
|
RE: .2
Someone once told me that directories should be version ;1 but
I don't remember why...
Regards,
Paul
|
270.5 | Mostly because they don't work otherwise! | IOSG::PYE | Graham - ALL-IN-1 Sorcerer's Apprentice | Thu Mar 19 1992 11:04 | 8 |
| Paul,
One reason is that VMS doesn't treat them as directories otherwise!
You can have a lot of fun with this, since of you do $DIR .DIR they
show up, but $DIR [.name] doesn't work....
Graham
|
270.6 | New code | IOSG::TALLETT | Mit Schuh bish hi | Fri Mar 20 1992 08:19 | 12 |
|
So the code in .2 should read:
$ CREATE/DIR [.NEW_MSG]
$ RENAME [.MSG]*.*;* [.NEW_MSG]
$ DELETE MSG.DIR;
$ RENAME NEW_MSG.DIR MSG.DIR
or else you will get a ;2 directory.
Regards,
Paul
|
270.7 | Alternatively.... | IOSG::PYE | Graham - ALL-IN-1 Sorcerer's Apprentice | Fri Mar 20 1992 11:49 | 9 |
| Or perhaps:
$ RENAME MSG.DIR OLD_MSG.DIR
$ CREATE/DIRECTORY [.MSG] ! Must spell qualifiers in full :-)
$ RENAME [.OLD_MSG]*.*;* [.MSG]
$ SET FILE/PROTECTION=O:DREW OLD_MSG.DIR;
$ DELETE OLD_MSG.DIR;
Graham
|