Subject: kern/25108: autogenerated disklabel incorrect for CD
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <abs@absd.org>
List: netbsd-bugs
Date: 04/08/2004 19:10:16
>Number:         25108
>Category:       kern
>Synopsis:       autogenerated disklabel incorrect for CD
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 08 18:11:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     David Brownlee
>Release:        NetBSD 2.0_BETA
>Organization:
>Environment:
	
	
System: NetBSD forsaken 2.0_BETA NetBSD 2.0_BETA (_FORSAKEN_) #0: Wed Apr 7 18:27:43 BST 2004 abs@tll.i.purplei.com:/var/obj/i386/files/netbsd/2.0/sys/arch/i386/compile/_FORSAKEN_ i386
Architecture: i386
Machine: i386
>Description:
        On 1.6.x a 'disklabel' of an ISO9660 cd reports partition 'a' as
        ISO9660, while on under 2.0_BETA it is reported as 4.2BSD.

        1.6.x:

# /dev/rcd1d:
type: ATAPI
disk: LITE-ON LTR-4812
[...]
4 partitions:
#        size    offset     fstype  [fsize bsize cpg/sgs]
 a:   1196844         0    ISO9660                      # (Cyl.    0 -  11968*)
 d:   1196844         0    ISO9660                      # (Cyl.    0 -  11968*)

        2.0_BETA:

# /dev/rcd0d:
type: ATAPI
disk: mydisc
label: fictitious
[...]
4 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:   1196844         0     4.2BSD      0     0     0  # (Cyl.      0 - 11968*)
 d:   1196844         0    ISO9660       0             # (Cyl.      0 - 11968*)

>How-To-Repeat:
	
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: