[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ext3 root partition with kernel-image packages



On 6 May 2002, Jeff Carr wrote:

> On Mon, 2002-05-06 at 12:52, Steve Greenland wrote:
> > On 06-May-02, 11:49 (CDT), Jeff Carr <Jeff.Carr@eng.nciaccess.com> wrote:
> > > /etc/filesystems is one of the ways
> > > mount decides what filesystem types to try. I think most other dists
> > > include one. So if you put:
> > >
> > > ext3
> > > ext2
> > > vfat
> > >
> > > in that file, mount will always try those first in that order.
> >
> > How does it read /etc/filesystems before it mounts the root filesystem?
> >
>
> Good question; I suppose it doesn't for the initial / filesystem.
> Specifically it looks like order is decided in fs/super.c and stored in
> fs_names. On some machines I have, the kernel mounts it as ext2(ro) and
> then the init scripts will remount it as ext3(rw). On others, the kernel
> initially mounts it as ext3. Maybe the default order was changed in
> newer kernels.

Mhh ... I think it would be cool to check bugs.debian.org/initrd-tools.
The solution is there:

	iif (ext2 in kernel and ext3 in module) then
		kernel will allways try ext2 first and succed
*t

----------------------------------------------------------------------------
             Tomas Pospisek
	     SourcePole   -  Linux & Open Source Solutions
	     http://sourcepole.ch
	     Elestastrasse 18, 7310 Bad Ragaz, Switzerland
	     Tel: +41 (81) 330 77 11
----------------------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: