If there's no partition table on it gpart(8) will give you an error message (since there's no partition table to read from). It's possible the stick was formatted without a partition table.
camcontrol devlist
sees the device, so how do I go about accessing it so that I can format it under FreeBSD?It's superseded by gpart(8) and shouldn't be used anymore.Isn't fdisk(8) for exactly this purpose?
Just create the partition table and a partition, then format it.camcontrol devlist
sees the device, so how do I go about accessing it so that I can format it under FreeBSD?
gpart create -s GPT /dev/da1
# Assuming it's detected as da1 gpart add -t freebsd-ufs /dev/da1
newfs /dev/da1p1
dd if=/dev/da1 of=da1.img bs=1M
and view it with editors/hexedit.