From owner-freebsd-bugs Thu Sep 16 18:40: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9393C14CA9 for ; Thu, 16 Sep 1999 18:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA36530; Thu, 16 Sep 1999 18:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Thu, 16 Sep 1999 18:40:02 -0700 (PDT) Message-Id: <199909170140.SAA36530@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Mikhail Teterin Subject: Re: bin/13768: sh MAKEDEV cdN creates all cd(N-1)-devices for all N>0 Reply-To: Mikhail Teterin Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/13768; it has been noted by GNATS. From: Mikhail Teterin To: chris@calldei.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/13768: sh MAKEDEV cdN creates all cd(N-1)-devices for all N>0 Date: Thu, 16 Sep 1999 21:31:17 -0400 (EDT) Chris Costello once stated: =On Wed, Sep 15, 1999, Mikhail Teterin wrote: => sh MAKEDEV cd5 => ls -l cd* => brw-r----- 1 root operator 6, 0 15 ___ 22:43 cd0a => brw-r----- 1 root operator 6, 2 15 ___ 22:43 cd0c => brw-r----- 1 root operator 6, 8 15 ___ 22:43 cd1a => brw-r----- 1 root operator 6, 10 15 ___ 22:43 cd1c => brw-r----- 1 root operator 6, 16 15 ___ 22:43 cd2a => brw-r----- 1 root operator 6, 18 15 ___ 22:43 cd2c => brw-r----- 1 root operator 6, 24 15 ___ 22:43 cd3a => brw-r----- 1 root operator 6, 26 15 ___ 22:43 cd3c => brw-r----- 1 root operator 6, 32 15 ___ 22:43 cd4a => brw-r----- 1 root operator 6, 34 15 ___ 22:43 cd4c = = Please count. You have 5 CDROMs on your system; there are 5 =devices. cd0, cd1, cd2, cd3, cd4. I'm not asking for 5 CD-ROM devices. I'm asking for ONE -- cd5. I now understand, that there are two different semantics involved. One -- in case of vty, cd -- treat the digit as the total number of similar devices desired. The other -- in case of da, wd -- treat the digit as part of the device name and create the corresponding devices ONLY. My problems with this: 1. The two semantics are inconsistent with each other -- perhaps, for historical reasons? 2. In case of CD-ROMs, the second (a'la da and wd) semantics seems more sensible to me. Yours, -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message