From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,47a06d19e281eb8d X-Google-Attributes: gidf7344,public X-Google-Thread: 111731,47a06d19e281eb8d X-Google-Attributes: gid111731,public X-Google-Thread: f6134,47a06d19e281eb8d X-Google-Attributes: gidf6134,public X-Google-Thread: 1164f8,47a06d19e281eb8d X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-03-04 08:54:35 PST Xref: gmd.de comp.org.decus:2915 comp.os.vms:42177 comp.sys.dec:14212 comp.unix.advocacy:1059 Path: gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) Newsgroups: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Subject: Re: Is VMS Dying? Date: 4 Mar 1994 16:54:35 GMT Organization: HST Wide Field/Planetary Camera Distribution: world Message-ID: <2l7p4b$kk9@gap.cco.caltech.edu> References: <1994Feb26.204059.4068@mixcom.mixcom.com> <1994Feb27.120007.18724@avatar.montagar.com> <1994Mar2.180439.18733@avatar.montagar.com>, <2l7iil$h9h@gap.cco.caltech.edu>, Reply-To: carl@SOL1.GPS.CALTECH.EDU NNTP-Posting-Host: sol1.gps.caltech.edu In article , rockwell@nova.umd.edu (Raul Deluth Miller) writes: =My complaint was where subcommands under "help" did not paginate. I =was drawing an analogy between vms "help" and unix "man". [On the one =hand, neither provide complete information. On the other hand, both =expect you to have some understanding of the system in formulating =queries. On the third hand, it seems harder to deduce how to =formulate such queries by examining other parts of the vms system.] =. =. Try the command: = $ HELP DIRECTORY EXAMPLES =. To list the contents of the current directory and all subdirectories: = $ DIRECTORY [...] =. To list the contents of all directories on the disk other than the main file =. directory: = $ DIRECTORY [*...] =. To list the contents of all directories on the disk: = $ DIRECTORY [000000...] = =I presume the three dots are to be taken literally? And it's six =zeros for that last command? Yes. =One more question? How do I get a list of all disks? $ SHOW DEV D if you just want a list of the disks that are mounted: $ SHOW DEV D/MOUNTED =For that =matter, how do I get a list of all configured devices? [What do I =need that information for? Mostly, curiosity. I can't very well talk =about a subject intelligently when I have no experience with that =subject.] For most of the devices, simply: $ SHOW DEV There are, however, some devices that won't show up that way (e.g., mailboxes). To get a list of all devices, $ N = 65 $ SET NOON $ DEV = "_" $ LOOP: DEV[8,8] = N $ IF F$TRNLNM(DEV) .NES. "" $ THEN WRITE SYS$OUTPUT "Logical name conflict" $ ELSE SHOW DEV 'DEV' $ ENDIF $ IF N .GE. 90 THEN EXIT $ N = N + 1 $ GOTO LOOP =. Yup. The defaults are set up to give a reasonable level of =. security. If you use the defaults, it's unlikely that you're going =. to have your data corrupted by someone else accidentally. The =. defaults are NOT set at a "tighten down the hatches and lock the =. doors" level. Security on VMS can be made a LOT tighter than the =. default configuration. It can also be made a lot looser. = =I'm talking about read access, not write access. [Though, the unix =convention of having a publically writable /tmp is very, very =convenient. Ok, so maybe I only have a few meg free on my account -- =I can still bring a large bit of source code into a subdirectory under =/tmp and compile some major program if I need to. Maybe I have to =schedule my time a bit, but it's better than being completely =stopped.] Is it, really? I've seen some Unix systems configured so that system-critical software used space on the same disk partition as /tmp. When the users put too much stuff in /tmp, the critical software fails. Not a good idea. Of course, there's nothing to stop a VMS system manager from creating a world-writeable directory. He could even put it on the system disk if he wanted to. If he did the latter, he'd be well advised to enable disk quotas on that volume, set the quotas for accounts running critical software to high values (e.g., the size of the disk), set the quotas for users to zero, create a resource rightslist identifier, grant that to the users, and set a quota for that identifier on the disk to ensure that the users didn't fill up the disk completely. That's a sort of flexibility that's not generally provided by Unix systems. -------------------------------------------------------------------------------- Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My understanding of astronomy is purely at the amateur level (or below). So unless what I'm saying is directly related to VAX/VMS, don't hold me or my organization responsible for it. If it IS related to VAX/VMS, you can try to hold me responsible for it, but my organization had nothing to do with it.