Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2001 02:27:41 -0500 (EST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Jordan Hubbard <jkh@osd.bsdi.com>
Cc:        jkh@FreeBSD.org, qa@FreeBSD.org
Subject:   Re: If sysinstall is used after boot to partition, ad0 and wd0 appear
Message-ID:  <Pine.NEB.3.96L.1010322022012.5179B-100000@fledge.watson.org>
In-Reply-To: <20010321231226R.jkh@osd.bsdi.com>

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

On Wed, 21 Mar 2001, Jordan Hubbard wrote:

> I'm not sure what you're proposing here.  I saw several suggestions in
> all that, but some of them had mutually conflicting dependencies and
> it's just not clear to me what it is you're specifically asking to
> have happen.

Ok, how about this:

    Remove the wd lines from MAKEDEV all.

This prevents the devices from being created as part of the install,
although they can still be manually be created if desired, are preserved
across upgrades, and used in the "fixit" MAKEDEV profile.  This is
consistent with other odd-ball or obsoleted devices, which are present in
MAKEDEV but in practice never created except when the operator introduces
drivers for the devices through reconfiguring the kernel or loading a
module.  This still leaves people who upgraded and have historical wd
devices as well as recent ad devices in a situation where both appear, but
for new installs only ad will appear.  I think this is fine, given that
sysinstall apparently doesn't ask the kernel for active disk devices, it
asks /dev for any disk devices.  In the future, given that we can sysctl
export the device tree from newbus, extracting disk names from there would
make more sense (especially in light of devfs). 

Robert N M Watson             FreeBSD Core Team, TrustedBSD Project
robert@fledge.watson.org      NAI Labs, Safeport Network Services

Index: MAKEDEV
===================================================================
RCS file: /home/ncvs/src/etc/MAKEDEV,v
retrieving revision 1.292
diff -u -r1.292 MAKEDEV
--- MAKEDEV	2001/03/15 15:32:42	1.292
+++ MAKEDEV	2001/03/22 07:21:08
@@ -258,8 +258,6 @@
 	sh MAKEDEV ad0 ad1 ad2 ad3 			# bdev, ATA disk
 	sh MAKEDEV ar0 ar1 				# bdev, ATA RAID disk
 	sh MAKEDEV acd0 acd0t afd0 ast0			# bdev, ATAPI devices
-	sh MAKEDEV wd0 wd1 wd2 wd3			# bdev, OLD disk
-	sh MAKEDEV wcd0 wfd0 wst0			# bdev, OLD ATAPI devs
 	sh MAKEDEV vn0					# bdev, virtual disk
 	sh MAKEDEV cd0 matcd0 mcd0 scd0			# bdev, cdrom
 	sh MAKEDEV sa0 wt0				# bdev, tape


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-qa" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1010322022012.5179B-100000>