[TEST/REVIEW]: rootfs mounting code rework

Warner Losh imp at harmony.village.org
Mon Dec 6 10:50:53 PST 2004


> On Sun, 5 Dec 2004, Poul-Henning Kamp wrote:
> 
> > In message <p0620073ebdd844240e34@[128.113.24.47]>, Garance A Drosihn writes:
> > >At 11:08 AM +0100 12/4/04, Poul-Henning Kamp wrote:
> > >>http://phk.freebsd.dk/patch/rootfs.patch
> > >>
> > >>Please test and review.
> > >
> > >Hmm.  Does this mean that we'll always get the correct partition
> > >for '/', even if /etc/fstab is wrong for '/'?  By "correct", I
> > >mean "the partition that the kernel was loaded from".
> >
> > The loader reads /etc/fstab and picks the entry for '/' out of it
> > so I can only pressume that whoever did that disagree with your
> > notion of "correct".
> 
> I believe he's referring to the case where you load a kernel from
> somewhere other than the default '/'.

The only way I've made this work is to put a /etc/fstab on the default
/ which points to the real one I want to use...

Warner


More information about the freebsd-current mailing list