Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2002 00:07:56 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        "Crist J . Clark" <cjc@FreeBSD.ORG>
Cc:        <freebsd-bugs@FreeBSD.ORG>
Subject:   Re: conf/20436: Can't make only cd0 under 4.1-STABLE
Message-ID:  <20020110235151.U12236-100000@gamplex.bde.org>
In-Reply-To: <200201100900.g0A903H39165@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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