From owner-freebsd-hackers Fri Dec 13 04:20:29 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id EAA12911 for hackers-outgoing; Fri, 13 Dec 1996 04:20:29 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id EAA12889 for ; Fri, 13 Dec 1996 04:20:25 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id NAA03396 for ; Fri, 13 Dec 1996 13:18:43 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id LAA21451 for freebsd-hackers@freebsd.org; Fri, 13 Dec 1996 11:03:36 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.2/8.6.9) id KAA17585 for freebsd-hackers@freebsd.org; Fri, 13 Dec 1996 10:29:23 +0100 (MET) From: J Wunsch Message-Id: <199612130929.KAA17585@uriah.heep.sax.de> Subject: Re: 2.1.5-R kernel root on sd0 fails To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Fri, 13 Dec 1996 10:29:23 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199612130722.SAA24286@godzilla.zeta.org.au> from Bruce Evans at "Dec 13, 96 06:22:41 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. ;-)