Craig A. Berry wrote:

> But what if the redefinition of the volume logical was to another disk, not 
> to another directory?  Or what if the logical has been deassigned entirely 
> and doesn't exist?  Perhaps we can avoid the whole mess by just using the 
> physical device name returned by stat() (and fed to lib$fid_to_name on 
> input).  In this approach there would be no translation of the returned 
> device spec, just straight substitution.  I suggested several messages back 
> that this wouldn't work, but I now suspect it might in all cases except the 
> SYSCOMMON-type backlink examples, which need another solution anyway.

I too do not see a need for $trnlnm() and a need for a few strcat's with
the device from stat() and the other DIRECTORY, NAME, TYPE from 
lib$fid_to_name().

Why wouldn't that stat() returned physical device be OK for SYSCOMMON?
What problem do you foresee?

Peter Prymmer


Reply via email to