On Thu, 16 Aug 2001 02:22, Tom Brinkman wrote:
> On Wednesday 15 August 2001 10:02 am, Sridhar Dhanapalan wrote:
> > Good question. You've gotten me wondering about that too. If you
> > wanted to do it manually I would assume that you would have to boot
> > from (or chroot to) another filesystem (like a CD or floppy). How do
> > fscks work on boot? When an fsck is needed at bootup, it is run
> > _before_ the partiton is mounted.
>
>   I believe the answer might be fsck is run on mounted partitions.
> They're just mounted read only.  BUT I don't really know, and I haven't
> used ext2 or need e2fsck on any partitions for a long time. Still it's
> a good question and sure made me curious.

Come to think of it, I think this may be the answer. This would be the reason 
why you should set your bootloader to mount the partition with /boot (i.e. 
with the kernel) as read-only. If you view your kernel messages at boot, it 
will initially say that it is mounting read-only. After the kernel is loaded 
and the fscks (if any) done, the partitions are mounted read-write (if 
specified in /etc/fstab).

-- 
Sridhar Dhanapalan.
        "There are two major products that come from Berkeley:
        LSD and UNIX. We don't believe this to be a coincidence."
                -- Jeremy S. Anderson


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://wwww.mandrakestore.com

Reply via email to