6964 mkfs_pcfs should detect GPT partition size and fat type for it

Review Request #190 — Created May 11, 2016 and submitted — Latest diff uploaded

tsoome
illumos-gate
6964
894e337...
general

6964 mkfs_pcfs should detect GPT partition size and fat type for it

mkfs on partition sizes 33MB (to get fat32), 32MB & 10MB to get fat16 and 1MB to get fat12.
Verified the result with fstyp -v.

I have used this updated mkfs in usbgen script (to create bootable usb images with distro constructor) as:

mkfs -F pcfs -o b=system ${rs0devs}

Loading...