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

Re^3: How to determine if a file is a mount point?

by grep (Monsignor)
on Jun 29, 2008 at 15:04 UTC ( #694605=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How to determine if a file is a mount point?
in thread How to determine if a file is a mount point?

/dev and /proc are both mounted file systems. They are just special, because they are not disk based.

Look at the output of mount. It should list both /dev and /proc.

grep
One dead unjugged rabbit fish later...


Comment on Re^3: How to determine if a file is a mount point?
Re^4: How to determine if a file is a mount point?
by gw1500se (Beadle) on Jun 30, 2008 at 22:18 UTC
    Thanks for the reply. The mount output shows /proc but not /dev. In additional it seems each ext3 mounted filesystem has a different $dev value (which to me makes sense since each is on a separate partition). The ext3 filesystems seems to have a $dev value of >760 while the specials like /dev have a value of <50. It is reliable to use that to determine which is which?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (14)
As of 2014-08-21 19:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (143 votes), past polls