[TEST/REVIEW]: rootfs mounting code rework

Poul-Henning Kamp phk at phk.freebsd.dk
Sun Dec 5 02:02:16 PST 2004


In message <20041205044145.A18185 at mail.chesapeake.net>, Jeff Roberson writes:
>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 '/'.

I'm not sure, and I don't really care much.  The order in which the
kernel tries various root filesystems is not affected apart from me
removing the "ask" mode which is badly implemented, prone to problems
and unecessary now that we can set it in the loader.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list