Hello.
I've created the script below to mount all the disk drives connected to my PC :
#Linux :
#Windows :
#FreeBSD :
I would like to mount those disks automatically as soon as FreeBSD boot. So,I've added these entries in the file /etc/fstab
it didn't work. But where is the mistake ?
I've created the script below to mount all the disk drives connected to my PC :
#Linux :
Code:
lklfuse -o type=ext4 /dev/ada0s1 /mnt/ada0s1 # CT500 (466 GB / Ubuntu 21.04)
lklfuse -o type=ext4 /dev/ada1p3 /mnt/ada1p3 # Samsung SSD 860 EVO 500GB / nixos
lklfuse -o type=ext4 /dev/da1p1 /mnt/da1p1 # Toshiba (932G)
lklfuse -o type=ext4 /dev/da2s1 /mnt/da2s1 # 1.8T Toshiba
#Windows :
Code:
ntfs-3g /dev/nvd0p2 /mnt/nvd0p2 # Windows da 900GB
ntfs-3g /dev/da0p1 /mnt/da0p1 # Elements
ntfs-3g /dev/da3p2 /mnt/da3p2 # 1.8T Seagate
#FreeBSD :
Code:
mount -t ufs /dev/ada1p2 /mnt/ada1p2 # Samsung SSD 860 EVO 500GB / FreeBSD da 100 GB
I would like to mount those disks automatically as soon as FreeBSD boot. So,I've added these entries in the file /etc/fstab
Code:
/dev/ada0s1 /mnt/ada0s1 ext4 rw 1 1
/dev/ada1p3 /mnt/ada1p3 ext4 rw 1 1
/dev/da1p1 /mnt/da1p1 ext4 rw 1 1
/dev/da2s1 /mnt/da2s1 ext4 rw 1 1
/dev/nvd0p2 /mnt/nvd0p2 ntfs-3g rw 1 1
/dev/da0p1 /mnt/da0p1 ntfs-3g rw 1 1
/dev/da3p2 /mnt/da3p2 ntfs-3g rw 1 1
/dev/ada1p2 /mnt/ada1p2 ufs rw 1 1
it didn't work. But where is the mistake ?