From 02ab2c827dc5bab7d906f77bfdbb34f353f214aa Mon Sep 17 00:00:00 2001 From: matusita Date: Sat, 30 Mar 2002 16:59:06 +0000 Subject: Fix /dev/acdNc minor device number. This bug prevents installing FreeBSD from CD-ROM in 4-stable. Note that in 5-current, we use devfs so this change (hopefully) shouldn't change anything. I'll MFC to 4-stable later. Tested with: FreeBSD/i386, 4.5-STABLE-20020330-JPSNAP --- usr.sbin/sysinstall/devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/sysinstall') diff --git a/usr.sbin/sysinstall/devices.c b/usr.sbin/sysinstall/devices.c index ed45028..2e7b2aa 100644 --- a/usr.sbin/sysinstall/devices.c +++ b/usr.sbin/sysinstall/devices.c @@ -67,7 +67,7 @@ static struct _devname { #ifdef notdef { DEVICE_TYPE_CDROM, "matcd%da", "Matsushita CDROM ('sound blaster' type)", 46, 0, 8, 4 }, #endif - { DEVICE_TYPE_CDROM, "acd%dc", "ATAPI/IDE CDROM", 117, 2, 8, 4 }, + { DEVICE_TYPE_CDROM, "acd%dc", "ATAPI/IDE CDROM", 117, 0, 8, 4 }, { DEVICE_TYPE_TAPE, "rsa%d", "SCSI tape drive", 14, 0, 16, 4 }, { DEVICE_TYPE_TAPE, "rwt%d", "Wangtek tape drive", 10, 0, 1, 4 }, { DEVICE_TYPE_DISK, "da%d", "SCSI disk device", 13, 65538, 8, 16 }, -- cgit v1.1