Date: Sat, 14 Dec 1996 00:43:59 +1100 From: Bruce Evans <bde@zeta.org.au> To: freebsd-hackers@freebsd.org, j@uriah.heep.sax.de Subject: Re: 2.1.5-R kernel root on sd0 fails Message-ID: <199612131343.AAA01802@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> It would be nice if the entries in /etc/fstab for the boot device were >> automatically changed. I keep a backup root file system on a removable >> (zip) drive and the drive number is often wrong when I need it. > >This is a chicken-and-egg problem, isn't it? The root file system >must be mounted first (and _that_'s the operation that fails), in >order to change the fstab. vfs_mountroot() normally succeeds in mounting it ro (because the bootstrap has passed the correct device number), but remounting it rw usual fails (becuase the device number in fstab is different). It's stupid to even look in fstab for the root file system. Other file systems are more interesting. The device names for the the ones on the same disk as the root file system (as specified in fstab) normally need to be changed in the same way as for the root file system. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612131343.AAA01802>