Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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?

Replies are listed 'Best First'.
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 romping around the Monastery: (10)
As of 2016-06-29 16:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (385 votes). Check out past polls.