Access a CDROM's Volume Header

From Nekochan
Jump to: navigation, search

Assuming CD on controller 0 and SCSI id=4:

 % ls -l /dev/dsk/dks0d4*
 brw-------    1 root     sys        4,  8 Mar 19 15:52 dks0d4s
 brw-------    1 root     sys      128, 64 Jan 26 13:27 dks0d4s0
 brw-------    1 root     sys      128, 65 Jan 26 13:27 dks0d4s1
 brw-------    1 root     sys      128, 79 Jan 26 13:27 dks0d4s15
 brw-------    1 root     sys      128, 70 Jan 26 13:27 dks0d4s6
 brw-------    1 root     sys      128, 71 Jan 26 13:27 dks0d4s7
 % install -F /dev/dsk -m 600 -u root -g sys -blk 128,72 dks0d4s8
 % ls -l /dev/dsk/dks0d4s8
 brw-------    1 root     sys      128, 72 Mar 19 15:52 dks0d4s8

Current contents:

       File name        Length     Block #
       sgilabel            512          32
       io4prom         1029914          33
       mr             28672000        2045
       sash64           190904       58045
       sashARCS         283172       58418
       sashIP17         284720       58972