in reply to Re: Filesystem checking
in thread Filesystem checking

I tried this on both AIX and Linux, $volume was '' on both. Worth a try, though...

Replies are listed 'Best First'.
Re: Re: Re: Filesystem checking
by pelagic (Priest) on Apr 30, 2004 at 13:35 UTC
    I was sorta guessing ... but now I looked into the code:
    For VMS, W32, Mac and OS2 '$volume' means something like drive e.g. 'C:'
    as for Unix its not implemented at all and always returns ''

    pelagic
      I would not say it's "not implemented". There is simply no such concept of a special volume part in a Unix filename (which is a good thing, IMHO).
        Yes, in the filename it's not, but in the file there is (otherwise the question would be meaningless). Therefore it should be part of File::Spec. Please observe that the module isn't called FileName::Spec or File::Name.