Re: [Nolug] authoritative knowledge of how a device is mounted

From: -ray <ray_at_ops.selu.edu>
Date: Tue, 25 Feb 2003 08:42:15 -0600 (CST)
Message-ID: <Pine.LNX.4.44.0302250833490.25368-100000@romulus.csd.selu.edu>

On Tue, 25 Feb 2003, Scott Harney wrote:

> mtab is autogenerated, by the way.
>
> You can also cat /proc/mounts though this would be Linux
> specific. And you'll note it looks just like /etc/mtab.

/etc/mtab contains a little more info than /proc/mounts (like mount
options). From what i understand, mtab is maintained by mount/umount in
userland, /proc/mounts is the kernel's idea of what is mounted.

I'm pretty sure you can delete /etc/mtab and mount will still show what
you want, so yea mount with no options is prolly your best bet.

-ray

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ray DeJean  				       	 http://www.r-a-y.org
Systems Engineer                    Southeastern Louisiana University
IBM Certified Specialist  	      AIX Administration, AIX Support
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
___________________
Nolug mailing list
nolug@nolug.org
Received on 02/25/03

This archive was generated by hypermail 2.2.0 : 12/19/08 EST