On the assumption that the whole device is going to be reformatted, and that any
existing partitions are irrelevant, then I don't see any problems umount-ing
like this.

+1

Darren.

On 02/10/10 11:18 AM, Alexander Eremin wrote:
> Hi,
> could I please ask two pair of eyes to take a look at small updated fix for 
> bug 10098 (usbcopy does not deal with smedia mounted usb flash properly)
> 
> webrev: http://cr.opensolaris.org/~alhazred/10098/
> 
>  # mount -p
>  ...
>  /dev/dsk/c2t0d0p0:1 - /media/NONAME pcfs - no
>  nosuid,hidden,nofoldcase,clamptime,noatime,timezone=-1
>  0800
>  /dev/dsk/c2t0d0s0 - /mnt ufs - no
>  rw,intr,largefiles,logging,xattr,onerror=panic
>  
>  # ./usbcopy osol.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
>  #
> 
> Thanks,
> Alexander

Reply via email to