Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 1996 10:29:23 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Subject:   Re: 2.1.5-R  kernel root on sd0 fails
Message-ID:  <199612130929.KAA17585@uriah.heep.sax.de>
In-Reply-To: <199612130722.SAA24286@godzilla.zeta.org.au> from Bruce Evans at "Dec 13, 96 06:22:41 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As Bruce Evans wrote:

> >No, it ain't broken.  The root device is _intended_ to be
> >automatically changed to the device where the system has been booted
> >from...
> 
> 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.

Changing the fstab could perhaps be made by some clever trickery in
/etc/rc, but it's certainly not easy to cover all cases.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612130929.KAA17585>