> Using two binary kernel patches (in
> sd_check_for_writable_cd() to allow 
> profile code 0x1a instead of 0x12,  and forcing
> un_f_dvdram_writable_device == TRUE), allows me to do
> this, using
> a Pioneer DVD writer device with a (formatted) DVD+RW
> media inserted
> into the drive:

...

> # newfs -t 512 -c 512 -n 1 -i 32768
> /dev/rdsk/c3t0d0s0
> newfs: construct a new file system
> /dev/rdsk/c3t0d0s0: (y/n)? y
> Warning: 256 sector(s) in last cylinder unallocated
> /dev/rdsk/c3t0d0s0:     9180416 sectors in 17931
> cylinders of 512 tracks, 1 sectors
> 4482.6MB in 88 cyl groups (205 c/g,
> 205 c/g, 51.25MB/g, 1664 i/g)
> super-block backups (for fsck -F ufs -o b=#) at:
> 32, 105008, 209984, 314960, 419936, 524912, 629888,
> , 734864, 839840, 944816,
> 8188160, 8293136, 8398112, 8503088, 8608064,
> , 8713040, 8818016, 8922992,
>  9027968, 9132944
> # fsck /dev/rdsk/c3t0d0s0
> ** /dev/rdsk/c3t0d0s0
> ** Last Mounted on
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3a - Check Connectivity
> ** Phase 3b - Verify Shadows/ACLs
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cylinder Groups
> 2 files, 9 used, 4570469 free (13 frags, 571307
> blocks, 0.0% fragmentation)
> # mount /dev/dsk/c3t0d0s0 /mnt2
> # df -h /mnt2
> Filesystem             size   used  avail capacity
>  Mounted on
> /dev/dsk/c3t0d0s0      4.4G   4.4M   4.3G     1%
>    /mnt2
> # umount /mnt2
> # eject /dev/rdsk/c3t0d0p0

Juergen, if you can tell me which bytes to patch in the sd driver binary for 
Solaris 10 1/06, I'll get to work in `adb` right away.
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to