Hi all,
pls review changes for bug 10098 (usbcopy does not deal with smedia
mounted usb flash properly)

webrev: http://cr.opensolaris.org/~alhazred/10098/

Also fixed that after 'format' new Solaris slice was mounted again
with Nautilus popup window.  

Tested on snv125:
# mount -p
...
/dev/dsk/c2t0d0p0:1 - /media/NONAME pcfs - no
nosuid,hidden,nofoldcase,clamptime,noatime,timezone=-10800
/dev/dsk/c2t0d0s0 - /mnt ufs - no
rw,intr,largefiles,logging,xattr,onerror=panic

# ./usbcopy osol121.usb 
Found the following USB devices:
0:      /dev/rdsk/c2t0d0p0      976.5 MB        Multi    Flash Reader     1.00
Enter the number of your choice: 0

WARNING: All data on your USB storage will be lost.
Are you sure you want to install to
Multi Flash Reader 1.00, 976 MB at /dev/rdsk/c2t0d0p0 ?  (y/n) y
Copying and verifying image to USB device
Finished 889 MB in 280 seconds (3.1MB/s)
0 block(s) re-written due to verification failure
Installing grub to USB device /dev/rdsk/c2t0d0s0
Completed copy to USB
#


Best regrds,
::alhazred

Reply via email to