First issue, where sd(7d) uses a bogus disk label for (multisession / mixed 
audio+data)
cds on x86.

See this thread for instructions on creating the test audio cd:
http://www.opensolaris.org/jive/thread.jspa?threadID=20268&tstart=0


To reproduce the problem, I need two CDs:  the multisession / mixed audio+data
from the above thread, and a data CD, that uses less data than the 
mixed audio+data CD.

The data CD can be contructed like this:

  mkisofs -o /tmp/track1.iso -publisher "Me" -V "DataCD" -f -r -J /etc/passwd 
/etc/group

  cdrecord -data /tmp/track1.iso


Problem:

- Insert the data CD

- print the disk label

% prtvtoc /dev/rdsk/c0t1d0s2
...
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      5    01          0      1200      1199
       2      5    01          0      1200      1199   /media/DataCD

- eject the data CD and insert the audio CD

- print the disk label; note that it prints exactly the same label as above,
  with a slice 2 size of 1200 sectors.
  Capacity of the audio cd is much larger!


This breaks fstyp:

# fstyp /dev/rdsk/c0t1d0s2
unknown_fstyp (no matches)
# fstyp /dev/rdsk/c0t1d0p0
hsfs


(Tamarack uses the s2 slice to identify the filesystem).
 
 
This message posted from opensolaris.org
_______________________________________________
ufs-discuss mailing list
[email protected]

Reply via email to