If it's just a flashdrive, you don't need to do it that complicated.
Either the drive already has a partition scheme, and at least one partition (mostly FAT32 with MBR), then you can see it under what gpart show produces: da0 or any other number instead 0, if there are more than one.
If not, if...