From owner-freebsd-current Sat Oct 5 21:51:32 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CBCD37B401 for ; Sat, 5 Oct 2002 21:51:31 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FB3743E42 for ; Sat, 5 Oct 2002 21:51:30 -0700 (PDT) (envelope-from bde@zeta.org.au) 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 OAA10833; Sun, 6 Oct 2002 14:51:15 +1000 Date: Sun, 6 Oct 2002 15:01:06 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Steve Kargl Cc: Poul-Henning Kamp , Subject: Re: devfs oddity? In-Reply-To: <20021005223947.GA17512@troutmask.apl.washington.edu> Message-ID: <20021006144225.G15291-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 5 Oct 2002, Steve Kargl wrote: > > In message <20021005221611.GA17396@troutmask.apl.washington.edu>, Steve Kargl w > > rites: > > >root[208] cdcontrol play > > >cdcontrol: no CD device name specified, defaulting to /dev/cd0c > > >cdcontrol: /dev/cd0cc: No such file or directory > > > > > >Why is an extra "c" appended to cd0c? The first "c" is part of the standard name for the whole of a (labelled) disk device. phk is busily breaking this standard. The second "c" is because cdcontrol tries tacking on a "c" in case the user forgot it. Here the user didn't specify a device name, so the default of "cd0c" was tried, and since that was broken recently, it doesn't work, and a "c" is tacked on to it. The user can work around this easily enough by specifying the device, except in the !DEVFS case when the device doesn't exist. > Okay. This just started with a kernel built from > sources of Friday vintage (without GEOM). My previous > kernel from Sun Sep 8 08:53:47 PDT 2002 does not have > this problem. Building and running a kernel in the > the time between and Sep 8 and new has been an adventure. This is because rev.1.62 of scsi_cd.c axed labelling support. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message