On Thu, Jun 14, 2007 at 03:31:02PM -0700, H. Peter Anvin wrote:
> 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.

 Ram Pai's /proc/mounts_new idea:
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg04908.html

    Karel

-- 
 Karel Zak  <[EMAIL PROTECTED]>
-
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