[PATCH] Fix for USB media not found at boot

Hans Petter Selasky hselasky at c2i.net
Mon Oct 5 11:17:25 UTC 2009


On Saturday 03 October 2009 23:06:00 Hans Petter Selasky wrote:
> On Saturday 03 October 2009 20:51:07 Marcel Moolenaar wrote:
> > On Oct 3, 2009, at 9:00 AM, Hans Petter Selasky wrote:
> >
> > An approach like this also allows one to indefinitely wait for the root
> > device, which is a good feature to have...
>
> Here is a patch you can try:
>
> http://perforce.freebsd.org/chv.cgi?CH=169183
>
> NOTE: I was not able to get any characters from gets() nor cncheckc(), so
> there seems to be a bug somewhere. This used to work before at mount-root
> time.
>

Hi,

I currently only see one problem. If any partitions that should be automounted 
by /etc/fstab are not on the root disk, then /etc/fstab will fail, because the 
current code will only wait for for the root mount partition. Probably the 
script executing /etc/fstab should be updated to wait for disks aswell.

--HPS



More information about the freebsd-current mailing list