External disk mounting issue (mount / ntfs-3g)

I am new to FreeBSD

I must be missing something pls help

there is external disk connected to my FreeBSD computer

Code:
automount also not working after upgrade to 14.2

auto_master ->
#
# Automounter master map, see auto_master(5) for details.
#
/net            -hosts          -nobrowse,nosuid,intr
/media          -media          -nosuid,noatime,autoro
/-              -noauto


gpart show

=>        63  1953525105  da0  MBR  (932G)
          63        1985       - free -  (993K)
        2048  1953521072    1  ntfs  (932G)
  1953523120        2048       - free -  (1.0M)

not working :
sudo mount /dev/da0s1 /home/jiten/mnt
mount: /dev/da0s1: No such file or directory

works:
sudo ntfs-3g /dev/da0s1 /home/jiten/mnt/
 
Last edited by a moderator:
# kldstat | grep fuse

It should show that fusefs.ko is loaded. That's what makes it possible to mount an NTFS-formatted disk.

If fusefs.ko is not found in /boot/modules or a smilar location to be loaded by the kldload command, install the sysutils/fusefs-ntfs port or package, and follow instructions in pkg-message for the port to enable the mounting.

gpart can show you that the filesystem on the disk is indeed NTFS (as opposed to UFS/JFS/whatever), but it won't mount that filesystem. And yes, there's a difference.
 
Code:
cat /etc/rc.conf | grep -i fuse
kld_list="i915kms fusefs"
jiten@jiten-freebsd ~> kldstat | grep fuse
15 1 0xffffffff832ab000 12e18 fusefs.ko
 
Last edited by a moderator:
I think I'm beginning to see it:

1. What you said does NOT work: sudo mount /dev/da0s1 /home/jiten/mnt
2. What you said DOES work: sudo ntfs-3g /dev/da0s1 /home/jiten/mnt/

Which means that:

As per auto_master(5), you probably need a line like this in your /etc/auto_master map file:
/home/jiten/mnt/ -fstype=ntfs-3g :/dev/da0s1

You may need to play with the -fstype= flag. Sometimes it's ntfs-3g, sometimes just ntfs.

Reasoning: /usr/local/bin/ntfs-3g is a different kind of mounter than just plain /sbin/mount. It took me some time to get used to that.
 
Back
Top