on Sat, Dec 01, 2001 at 02:55:09PM -0500, Hall Stevenson ([EMAIL PROTECTED]) wrote: > * Nathan Weston ([EMAIL PROTECTED]) [011201 14:23]: > > > > If you run 'mount' with no arguments, it tells what type each > > partition is mounted at. You can also do 'dmesg | grep -i ext3' to > > show all the ext3-related messages from startup, although it doesn't > > mention the device names of the partitions it's mounting. > > I already tried mount as you mention. It basically looks exactly like > /etc/mtab... > > /dev/hdb6 on / type auto (rw,errors=remount-ro,errors=remount-ro) > /dev/hdb1 on /boot type ext3 (rw)
How about cat /proc/mounts? The 'mount' command reads the content of /etc/mtab. If you've mounted your root partition readonly, this file isn't updated (do the math). If you want definitive mount status, ensure that /proc is mounted, and cat /proc/mounts. I discourage the practice of mounting system partitions with type 'auto'. Specify what you want. If you get it, great, if you don't, fix the problem. > Oddly, the dmesg command returns nothing. I think that's 'cause iptables > has filled it up... 'cat /var/log/dmesg' does show this though: > > kjournald starting. Commit interval 5 seconds > EXT3-fs: mounted filesystem with ordered data mode. > VFS: Mounted root (ext3 filesystem) readonly. > > and > > EXT3 FS 2.4-0.9.15, 06 Nov 2001 on ide0(3,70), internal journal > > and > > kjournald starting. Commit interval 5 seconds > EXT3 FS 2.4-0.9.15, 06 Nov 2001 on ide0(3,65), internal journal > EXT3-fs: mounted filesystem with ordered data mode. Hmm... Peace. -- Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/ What part of "Gestalt" don't you understand? Home of the brave http://gestalt-system.sourceforge.net/ Land of the free Free Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org Geek for Hire http://kmself.home.netcom.com/resume.html
pgpHDYvuO1MRd.pgp
Description: PGP signature