Last updated: 2019-02-24
Mounting drives can be a hassle because things differ based on the filesystem type, the media type, and which program you use to mount the drive.
Some packages to install for managing drives and filesystems:
pkg install fusefs-ntfs fusefs-ext4fuse fusefs-ext2 fusefs-simple-mtpfs
These are for ntfs (Windows), ext4, ext2 (Linux), mtpfs (Android, phones, etc.)
When you plug in a flash drive you can find its disk device id by running dmesg and seeing what you just plugged in. On my system, I typically get the flash drives to be at 'da' plus a number.
You can also get this information by using other commands:
camcontrol devlist
gpart show -l
geom disk list
I set up some mount points under /mnt and /media. Make the directories there for your needs and change the owner to your user so you can read/write them easily.
ntfs format flash drive
ntfs-3g /dev/da2s1 /mnt/USB128
fat32 format
mount -v -t msdosfs /dev/da0s1 /mnt/flashdrive
ext4 format (mounts read only)
fuse-ext2 /dev/gpt/linux /mnt/linux/
ntfs format drive
/dev/gpt/windata /mnt/Internal-HD ntfs rw,mountprog=/usr/local/bin/ntfs-3g,late 0 0
ext4 format (read only)
/dev/gpt/linuxdata /mnt/linuxdata ext2fs ro 0 0
Note: My disks are labelled in the above example.
Something need fixing? Contact me: