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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 19 12:19:00 +0000 2004
>Closed-Date:    Fri Jun 17 07:31:38 +0000 2022
>Last-Modified:  Fri Jun 17 07:31:38 +0000 2022
>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

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Fri, 17 Jun 2022 07:31:38 +0000
State-Changed-Why:
kre@ argued that enough time has passed to make this less relevant,
and I don't even know when I last touched a multi-session CD.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.