gpart -- label an ntfs partition on usb stick?
Gary Aitken
freebsd at dreamchaser.org
Tue Sep 16 17:23:50 UTC 2014
I'm trying to reformat a USB stick to take large files. It was my understanding
that gpart could do this, and that the proper file type was ntfs. It seems to
work with no label, but when I attempt to label the partition, it objects. I
thought the label was part of the partitioning scheme, and as such should be
independent of the partition type. What am I missing?
# gpart show -l da0
=> 1 125031679 da0 MBR (59G)
1 31 - free - (15k)
32 125031648 1 (null) (59G)
# gpart delete -i 1 da0
da0s1 deleted
# gpart show -l da0
=> 1 125031679 da0 MBR (59G)
1 125031679 - free - (59G)
# gpart add -t ntfs -l ntfs da0
gpart: Invalid argument
# gpart add -t ntfs da0
da0s1 added
# gpart show -l da0
=> 1 125031679 da0 MBR (59G)
1 62 - free - (31k)
63 125031564 1 (null) (59G)
125031627 53 - free - (26k)
More information about the freebsd-questions
mailing list