Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  5 Jun 2000 08:34:24 -0700 (PDT)
From:      msal@ednixon.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/19025: Installer assumes /dev exists if target disk has a filesystem on it.
Message-ID:  <20000605153424.309E837BEEC@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




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