Subject: misc/24849: MAKEDEV doesn't create all of cd[01][a-h]
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wiz@NetBSD.org>
List: netbsd-bugs
Date: 03/19/2004 13:16:57
>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 UTC 2004
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: