Format a USB flash drive with UFS on OpenSolaris x64

Obtain the disk device name, e.g.:

$ rmformat
Looking for devices...
     1. Logical Node: /dev/rdsk/c11t0d0p0
        Physical Node: /pci@0,0/pci1028,214@1a,7/storage@1/disk@0,0
        Connected Device: JetFlash Transcend 8GB    8.07
        Device Type: Removable
	Bus: USB
	Size: 7.7 GB
	Label: 
	Access permissions: Medium is not write protected.

 

Create an fdisk partition table. e.g:

pfexec fdisk /dev/rdsk/c11t0d0p0

Then create a Solaris2 partition, make it active, save and exit.

 

Now create a new UFS file system on slice 2 (i.e. entire disk) of the disk, e.g.:

pfexec newfs /dev/rdsk/c11t0d0s2

Done.

Advertisements

One thought on “Format a USB flash drive with UFS on OpenSolaris x64

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s