/sbin/mount and /proc/mounts difference

From: Sven Vermeulen (sven.vermeulen@rug.ac.be)
Date: Sun Nov 18 2001 - 07:50:07 EST


Hi,

When running "mount" I see:
        ~$ mount
        /dev/hda6 on / type reiserfs (rw)
        proc on /proc type proc (rw)
        /dev/hda1 on /boot type ext2 (rw)
        /dev/hda7 on /usr type reiserfs (rw,noatime,notail)
        /dev/hda8 on /home type reiserfs (rw,nosuid,nodev,noatime,notail)
        /dev/hda9 on /var type reiserfs (rw,noexec,nodev)
        /dev/hda10 on /tmp type reiserfs (rw,noexec,nosuid,nodev)

while /proc/mounts says
        ~$ cat /proc/mounts
        /dev/root / reiserfs rw 0 0
        /proc /proc proc rw 0 0
        /dev/hda1 /boot ext2 rw 0 0
        /dev/hda7 /usr reiserfs rw,noatime 0 0
        /dev/hda8 /home reiserfs rw,noatime,nosuid,nodev 0 0
        /dev/hda9 /var reiserfs rw,nodev,noexec 0 0
        /dev/hda10 /tmp reiserfs rw,nosuid,nodev,noexec 0 0

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?

Wkr,
        Sven Vermeulen

-- 
Unix, MS-DOS and Windows NT (also known as the Good, the Bad and the
Ugly). ~(Matt Welsh)
-
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/



This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:17 EST