NetBSD Problem Report #24849

Received: (qmail 29650 invoked by uid 605); 19 Mar 2004 12:18:32 -0000
Message-Id: <20040319121657.AB54119B01@dmath5.geometrie.tuwien.ac.at>
Date: Fri, 19 Mar 2004 13:16:57 +0100 (CET)
From: wiz@NetBSD.org
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: wiz@NetBSD.org
To: gnats-bugs@gnats.netbsd.org
Cc: drochner@NetBSD.org
Subject: MAKEDEV doesn't create all of cd[01][a-h]
X-Send-Pr-Version: 3.95

>Number:         24849
>Category:       misc
>Synopsis:       MAKEDEV doesn't create all of cd[01][a-h]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 19 12:19:00 +0000 2004
>Closed-Date:    
>Last-Modified:  Wed Jun 16 18:28:41 +0000 2010
>Originator:     Thomas Klausner
>Release:        NetBSD 1.6ZF
>Organization:

>Environment:


>Description:
When mscdlabel(8) was introduced two years ago, cd device partitions other
than a and [cd] became useful; however, no support was added to MAKEDEV
to create the corresponding devices.
>How-To-Repeat:
Try to mount e.g. cd0b from a multisession CD after running mscdlabel
on it.
>Fix:
The fix is not hard, however, there's a policy question.
I'd suggest we create cd[01][a-h] per default, and make
	sh MAKEDEV cd2
create all the devices cd2[a-h] respectively (and so on for 3-9).
However, at least one person feels that a and [cd] are enough by
default and other ones should only be created on demand, e.g.
by something like
	sh MAKEDEV cd0b
If we go that way, I'd like to change the 'sh MAKEDEV cd2' command
to add all of them, and only make a and [cd] by default.
>Release-Note:
>Audit-Trail:
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: misc/24849: MAKEDEV doesn't create all of cd[01][a-h]
Date: Thu, 10 Jun 2010 05:56:57 +0000

  > When mscdlabel(8) was introduced two years ago, cd device partitions
  > other than a and [cd] became useful; however, no support was added to
  > MAKEDEV to create the corresponding devices.

 Does anyone know how/if this interacts with wedges?

 -- 
 David A. Holland
 dholland@netbsd.org

From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org, darran@NetBSD.org
Subject: re: misc/24849: MAKEDEV doesn't create all of cd[01][a-h]
Date: Thu, 10 Jun 2010 17:31:28 +1000

 > The following reply was made to PR kern/24849; it has been noted by GNATS.
 > 
 > From: David Holland <dholland-bugs@netbsd.org>
 > To: gnats-bugs@netbsd.org
 > Cc: 
 > Subject: Re: misc/24849: MAKEDEV doesn't create all of cd[01][a-h]
 > Date: Thu, 10 Jun 2010 05:56:57 +0000
 > 
 >   > When mscdlabel(8) was introduced two years ago, cd device partitions
 >   > other than a and [cd] became useful; however, no support was added to
 >   > MAKEDEV to create the corresponding devices.
 >  
 >  Does anyone know how/if this interacts with wedges?

 i'm not sure about that, but i've had this problem on port-sparc* when
 dealing with sun labels and a hacked cd.c that read the sunlabel and
 populated it.  then i had to mknod my own devices...

 i don't think wedges interact with cds at all yet, do they?


 .mrg.

From: Martin Husemann <martin@duskware.de>
To: matthew green <mrg@eterna.com.au>
Cc: gnats-bugs@NetBSD.org, kern-bug-people@netbsd.org,
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, darran@NetBSD.org
Subject: Re: misc/24849: MAKEDEV doesn't create all of cd[01][a-h]
Date: Thu, 10 Jun 2010 09:59:34 +0200

 On Thu, Jun 10, 2010 at 05:31:28PM +1000, matthew green wrote:
 > i don't think wedges interact with cds at all yet, do they?

 No, and if they would, the suggested change would still not cause any
 problems.

 Martin

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.