[ale] mounting FS

Chris Fowler ChrisF at computone.com
Thu Jan 18 10:17:31 EST 2001





It seems that when a Linux box shuts down the following things happen:


umount -f -a 
mount / -o remount,ro
powerdown


Somewhere,  the bit on the FS for being mounted is set to 0.  When the system comes up next,  The FS seems clean.


Chris


-----Original Message-----
From: Sue Bauer-Lee [mailto:sblee at tazmania.org]
To: ale at ale.org
Sent: Thursday, January 18, 2001 8:00 AM
To: Chris Fowler
Subject: Re: [ale] mounting FS




first, your second mount statement contains a typo. Perhpas this only
exists in your email for help?


Second, many of your questions have answers contained within man pages.
In this case, see the mount man page. It defines checking options
based on filesystem type with a reference to changing the defaults with
tunefs, turning them off with mount isn't what you want.


On Thu, Jan 18, 2001 at 07:29:01AM -0500, Chris Fowler wrote:
> Hello,
> 
> I am running a filesystem as RO and need to write a configuration file.
> Below are the stape I take:
> 
> mount /usr -o remount,rw   # Remount /usr as Read/Write
> write config file                # Place config in /usr/etc
> sync                           # Sync FS
> mount /usr -o reount,ro          # Remount /usr as RO
> restart                          # don't pass go do not collect $200, just reboot
> 
> 
> The kernel complains that the FS is unchecked and needs to be checked.  Even
> after checking it is fine and there is no errors.  
> I want to eliminate that message.   I've used tunefs to elimate the mount
> count.  How can I mark this FS as clean after remounting as RO.
> 
> Thanks,
> Chris


-----------------------------------------------------
Sue Bauer-Lee          |    KE4HNN
PO Box 2900            |    
Lilburn, GA 30048      |    Email: sblee at tazmania.org
-----------------------------------------------------







More information about the Ale mailing list