From mint-bounce@lists.fishpool.fi  Fri Sep 30 20:11:23 2005
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
Message-ID: <433D804A.7070204@earthlink.net>
Date: Fri, 30 Sep 2005 13:13:30 -0500
From: josephus <dogbird@earthlink.net>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.11) Gecko/20050728
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Andreas Schwab <schwab@suse.de>
Cc: Ingo Schmidt <ich@der-ingo.de>, MiNT-Liste <mint@fishpool.com>
Subject: Re: [MiNT] file system check
References: <924346361.20050930001725@der-ingo.de> <jek6gz7arb.fsf@sykes.suse.de>
In-Reply-To: <jek6gz7arb.fsf@sykes.suse.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-To: mint-bounce@lists.fishpool.fi
X-original-sender: dogbird@earthlink.net
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
X-Virus-Scanned: by amavisd-new at relay.boerde.de
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de
X-Spam-Status: No, hits=2.1 tagged_above=-50.5 required=7.0 tests=BAYES_00,
 RCVD_IN_SORBS
X-Spam-Level: **

Andreas Schwab wrote:
> Ingo Schmidt <ich@der-ingo.de> writes:
> 
> 
>>I have a question on fsck.ext2:
>>
>>How does it know if the filesystem is clean or not?
>>
>>I guess htere is some kind of "clean flag".
> 
> 
> Right (a flag in the super block).
> 
> 
>>Who sets this flag to "clean" and when does this flag get set?
> 
> 
> On Linux the kernel clears the dirty flag on mount and sets it again on
> unmount.
> 
> 
>>What happens at a "sync"? Is the filesystem marked as "clean" after a
>>sync or not?
> 
> 
> Only an unmounted filesystem is considered clean.
> 
> Andreas.
> 
I have a 160 mxxtor disk running Linux. The only problem is this 
mechanism.  The disk requires a 8meg cache hit.  As a result I cannot 
ever boot a clean disk.  My system boots and generally works. but I 
cannot boot RO, the system will NEVER boot, it just reboots.  E2FSCK 
will reports strange errors in the FILE SYSTEM>   Sync will not flush 
this giant buffer.

So folks running large disks need to know that the on disk cache is much 
larger than any sync will process.
                            josephus


-- 
Everybody is Ignorant, just on different subjects.
          --- Will Rogers Jr.
It's not what you dont know, it what you know that aint so.
          ---Josh Billings


