At 4:39 PM -0800 3/21/00, [EMAIL PROTECTED] wrote:
>
>Why wouldn't that stat() returned physical device be OK for SYSCOMMON?
>What problem do you foresee?

Well, the dev name would be fine, but with this example again:

$ r fidvoltest
Enter a complete path to a known file: sys$common:[sysexe]loginout.exe
stat() says sys$common:[sysexe]loginout.exe is file 488, 2, 0 on device _BUBBA$DRA0
lib$fid_to_name gives a resulting name of DISK$DISK13:[SYSCOMMON.SYSEXE]LOGINOUT.EXE;1

you can't just paste the pieces together and use

_BUBBA$DRA0 :[SYSCOMMON.SYSEXE]LOGINOUT.EXE;1

because there is no SYSCOMMON directory on the root of that device.
There is a VMS$COMMON directory, and there is a SYS0.SYSCOMMON
directory, but I don't know of  a general way of finding out what the
"real" directory is.  I'm not sure it's possible, but I hope I'm
wrong about that.
____________________________________________
Craig A. Berry                   
mailto:[EMAIL PROTECTED]

Reply via email to