That's only for mounting , not for making a partition (gpart add -t ???), nor formatting, no ?
PS: For fat32 i think the commands are:
Code:
gpart create -s mbr da0
gpart add -t fat32 da0
newfs_msdos -F32 /dev/da0s1
With the commands i just mentioned above, my usb stick was not readable by the "local copy center using windows".
Altough it worked when i used linux/gparted for making partition table & fat32.
There are two distinct varieties of FAT32, see
gpart(8), namely fat32 (type 11) and fat32lba (type 12).
I ran into this recently with some new Lexar USB sticks, 4 of 32G (USB3) and 2 of 64G (USB2, my mistake).
The '32G' ones, like all my older sticks, are fat32lba - but the '64G' ones came as fat32 type 11 (as shown by gpart) and are not recognised by my Samsung J5, so I chose to let the phone reformat the still empty stick, which it did as fat32lba, afterwards working on either phone or laptop.
Also, 6 months ago I'd shrunk the win10pro NTFS partition on my refurbished T430s' SSD by 80GiB, then had windows create a 32GiB FAT32 partition for shared data, installing FreeBSD in the remaining 48GiB slice 4.
The point being, windows 10 itself creates with 'fat32lba type 12' on an MBR scheme, so if you used gpart add '-t fat32lba' rather than '-t fat32', I expect your "local copy centre" should be happy.
There's no such distinction in the newfs_msdos command - on the surface anyway.
HTH, Ian