Date: Sat, 5 Aug 2000 22:21:42 +0200 (CEST) From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> To: FreeBSD-gnats-submit@freebsd.org Subject: conf/20436: Can't make only cd0 under 4.1-STABLE Message-ID: <200008052021.e75KLgk18978@curry.mchp.siemens.de>
next in thread | raw e-mail | index | archive | help
>Number: 20436 >Category: conf >Synopsis: Can't make only cd0 under 4.1-STABLE >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Aug 05 13:30:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Andre Albsmeier >Release: FreeBSD 4.1-STABLE i386 >Organization: >Environment: FreeBSD 4.1-STABLE >Description: It is not possible to make only cd0. >How-To-Repeat: as root: mkdir /tmp/x cd /tmp/x cp /dev/MAKEDEV . ./MAKEDEV cd ls -l ./MAKEDEV cd0 produces the same result >Fix: --- /dev/MAKEDEV Tue Aug 1 10:51:44 2000 +++ MAKEDEV Sat Aug 5 22:17:41 2000 @@ -794,8 +794,8 @@ mcd*) units=`expr $i : '...\(.*\)'`; name=mcd; chr=29;; scd*) units=`expr $i : '...\(.*\)'`; name=scd; chr=45;; esac - if [ -z "${units}" -o "${units}" -le 0 ]; then - units=1 + if [ -z "${units}" ]; then + units=0 fi if [ "${units}" -le 31 ]; then i=0 >Release-Note: >Audit-Trail: >Unformatted: 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?200008052021.e75KLgk18978>