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?