Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: automounted directory status

by DrHyde (Prior)
on Jan 31, 2014 at 11:58 UTC ( [id://1072832]=note: print w/replies, xml ) Need Help??


in reply to automounted directory status

On perl 5.14.2 (the only version I've got on this 'ere Linux machine, but I assume it's the same on 5.8), -w and friends boil down to stat(2) calls:

$ strace perl -e '-w "/etc"' ... stat("/etc", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 ...

Perl doesn't know about filesystems and automount, it just relies on the OS to Do The Right Thing. If you write a little snippet of C code that just stat()s a directory, then I expect you'll find that it behaves the same.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-19 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found