From owner-freebsd-bugs Mon Jun 5 8:40: 9 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5301637BAA7 for ; Mon, 5 Jun 2000 08:40:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA44615; Mon, 5 Jun 2000 08:40:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 309E837BEEC; Mon, 5 Jun 2000 08:34:24 -0700 (PDT) Message-Id: <20000605153424.309E837BEEC@hub.freebsd.org> Date: Mon, 5 Jun 2000 08:34:24 -0700 (PDT) From: msal@ednixon.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/19025: Installer assumes /dev exists if target disk has a filesystem on it. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19025 >Category: misc >Synopsis: Installer assumes /dev exists if target disk has a filesystem on it. >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 05 08:40:04 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Mort Salazar >Release: 4.0-release (iso image) >Organization: >Environment: >Description: standalone sysinstall makes invalid assumption that a hard disk with a filesystem on it must include /dev, then tries to use devices like the cdrom, though the nonexistent /dev entry, and fails. Means you can spend much time replacing the files that were on the disk later. In order to make the install actually work, the disk needs to be blank. Not clear what an upgrade install would do on a disk with no prior operating system on it, or a disk with, for example, with missing or wrong major/minor numbers on /dev entries (say, restored from some alien unix system). >How-To-Repeat: create a filesystem on a new second hard disk, and put some files on it, but no /dev go about installing 4.0-release on that hard disk. the installer will fail to mount the cdrom drive, because it proudly announces it assumes /dev must exist because there's a filesystem on it already, and then can't find the cd device. >Fix: do a MAKEDEV acd and MAKEDEV cd in the install scripts, probably also for whatever other devices could be needed for installation. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message