Mounting a USB Drive in FreeBSD

Search for NTFS package

pkg search ntfs

Install NTFS packages

pkg install fusefs-ntfs-2014.2.15_2

Read through basic instructions

less /usr/local/share/doc/ntfs-3g/README.FreeBSD

Link the NTFS mount binary

ln -s `which ntfs-3g` /usr/sbin/mount_ntfs-3g

Enable FuseFS in /etc/rc.conf

echo '' >> /etc/rc.conf
echo '# Enable fusefs support required for ntfs-3g' >> /etc/rc.conf
echo 'fusefs_enable="YES"' >> /etc/rc.conf
echo '' >> /etc/rc.conf

Connect the USB drive and search for your USB drive in the discovered disks

dmesg | grep -i da

Inspect the disk partitions on the USB drive

fdisk /dev/da10

Create a mount point

mkdir /media/usb-hdd

Mount the USB partition

mount_ntfs-3g -o ro /dev/da8s1 /media/usb-hdd

Verify the disk contents

ls -alR /media/usb-hdd

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s