Re: /sbin/mount and /proc/mounts difference

Martin Dalecki (dalecki@evision-ventures.com)
Mon, 19 Nov 2001 10:48:38 +0100


Urban Widmark wrote:
>
> On Sun, 18 Nov 2001, Sven Vermeulen wrote:
>
> > As you can see the notail-option of reiserfs isn't listed on /proc/mounts,
> > but it is on "mount".
> >
> > Does this have any particular reason?
>
> mount writes everything to /etc/mtab and displays that when asked.

Not quite...

~/tmp# strings /bin/mount | grep mounts
Note that one does not really mount a device, one mounts
/proc/mounts
~/tmp#
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/