This page looks best with JavaScript enabled

Ext4/fat32/NTFS on FreeBSD

 ·  🎃 kr0m

On FreeBSD, it is possible to use various file systems. In this article, I will explain how to mount different file systems typical of other operating systems such as Linux or Windows, so that we can share these partitions between operating systems.

We can see the available partitions with:

gpart show


Ext4:

mount -t ext2fs /dev/ada1s1 /mnt/1T

vi /etc/fstab
/dev/ada1s1 /mnt/1T ext2fs rw 0 0

fat32:

mount -v -t msdosfs /dev/da0s1 /mnt/aux/

vi /etc/fstab
/dev/da0s1 /mnt/aux/ msdosfs rw 0 0

NTFS:

pkg install fusefs-ntfs fusefs-lkl

vi /boot/rc.conf

kld_list="fusefs ..."

ntfs-3g /dev/ada4s1 /mnt/2T

vi /etc/fstab

/dev/ada4s1        /mnt/2T        ntfs      mountprog=/usr/local/bin/ntfs-3g,late,rw                0       0
If you liked the article, you can treat me to a RedBull here