Just ran into one "interesting" bit of information...

It's impossible to tell from /proc/mounts if a specific mount point
corresponds to the root of that particular filesystem.  Consider the
following /etc/mtab:

/dev/md6 /export ext3 rw 0 0
/export/home/hpa /home/hpa none rw,bind 0 0
/export/home/suzi /home/suzi none rw,bind 0 0

... and the corresponding /proc/mounts ...

/dev/md6 /export ext3 rw,data=ordered 0 0
/dev/md6 /home/hpa ext3 rw,data=ordered 0 0
/dev/md6 /home/suzi ext3 rw,data=ordered 0 0

/proc/mounts gives absolutely no hint that /home/hpa and /home/suzi
don't correspond to the root of the filesystem /dev/md6.

        -hpa
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to