From owner-freebsd-bugs Thu Jan 10 5: 7:28 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 0E52037B402; Thu, 10 Jan 2002 05:07:22 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id AAA19682; Fri, 11 Jan 2002 00:07:18 +1100 Date: Fri, 11 Jan 2002 00:07:56 +1100 (EST) From: Bruce Evans X-X-Sender: To: "Crist J . Clark" Cc: Subject: Re: conf/20436: Can't make only cd0 under 4.1-STABLE In-Reply-To: <200201100900.g0A903H39165@freefall.freebsd.org> Message-ID: <20020110235151.U12236-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 10 Jan 2002, Crist J . Clark wrote: > So... This make everyone happy? > > Index: src/etc/MAKEDEV > =================================================================== > RCS file: /export/ncvs/src/etc/MAKEDEV,v > retrieving revision 1.320 > diff -u -r1.320 MAKEDEV > --- src/etc/MAKEDEV 27 Dec 2001 22:41:35 -0000 1.320 > +++ src/etc/MAKEDEV 10 Jan 2002 08:42:46 -0000 > @@ -831,7 +831,7 @@ > scd*) units=`expr $i : '...\(.*\)'`; name=scd; chr=45;; > esac > if [ -z "${units}" -o "${units}" -le 0 ]; then > - units=1 > + units=0 > fi > if [ "${units}" -le 31 ]; then > i=0 No :). (1) "sh MAKEDEV cdN" still makes N units numbered 0 to N-1 instead of unit N like one would expect. (2) The bug is also in acd*t*. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message