From owner-freebsd-current Sat Dec 27 22:55:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA23477 for current-outgoing; Sat, 27 Dec 1997 22:55:04 -0800 (PST) (envelope-from owner-freebsd-current) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA23460 for ; Sat, 27 Dec 1997 22:55:00 -0800 (PST) (envelope-from jkh@FreeBSD.org) From: "Jordan K. Hubbard" Received: (from jkh@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id WAA29358 for current@freebsd.org; Sat, 27 Dec 1997 22:50:47 -0800 (PST) Date: Sat, 27 Dec 1997 22:50:47 -0800 (PST) Message-Id: <199712280650.WAA29358@freefall.freebsd.org> To: current@FreeBSD.ORG Subject: I'd like to remove this, any objections? Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Index: MAKEDEV =================================================================== RCS file: /home/ncvs/src/etc/etc.i386/MAKEDEV,v retrieving revision 1.142 diff -u -r1.142 MAKEDEV --- MAKEDEV 1997/12/19 14:14:18 1.142 +++ MAKEDEV 1997/12/28 06:45:16 @@ -271,7 +271,6 @@ oldslice=$slice slice=$(($slice+1)) slicename=`dkitos $slice` - rm -f $name$unit$slicename* r$name$unit$slicename* minor=`dkminor 0 $unit $slice $dkrawpart` mknod $name$unit$slicename b $blk $minor mknod r$name$unit$slicename c $chr $minor Yes, this is the line in MAKEDEV which will totally roast your existing slice device entries if you're foolish enough to call MAKEDEV with anything which defaults to the same drive/slice combination (and it's not immediately obvious to the beginner just now many ways there are to do this). Sure I also know why the rm was added in the first place, but I think that the cure is worse than the disease in this case. I've watched so many folks hang themselves on this one it's not funny (sysinstall creates the initial slice entries and, for many, it's never even known that MAKEDEV does anything special for slice sub-entries). Comments? Jordan