Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: Filesystem checking

by coec (Chaplain)
on Apr 30, 2004 at 12:57 UTC ( [id://349393]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://349393]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-24 04:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found