Auto-mounting USB NTFS formatted devices on FreeBSD 10.2 and HEAD
Edward Tomasz Napierała
trasz at FreeBSD.org
Mon Jan 25 15:13:53 UTC 2016
On 0125T1943, Eugene Grosbein wrote:
> On 25.01.2016 19:14, Andrzej Bylicki wrote:
> > Hello,
> >
> > I mounted all of my NTFS formatted drives via fuse from the
> > sysutils/fusefs-ntfs port. I am not entirely sure, but assuming that it is
> > possible to automate the mounting procedure by adding the correct line to
> > /etc/fstab.
>
> It is possible to add correct line to /etc/fstab provided that you know
> path device file in advance. For example, I have this for my dual-boot
> FreeBSD 10.2/Windows 8.1 home system:
>
> /dev/raid/r0s2 /mnt/c fuse ro,failok,late,mountprog=/usr/local/bin/ntfs-3g,windows_names,streams_interface=windows,umask=022,inherit,noatime,show_sys_files
>
> Never tried to do automount for USB, though. I just have "/dev/da0s1 /flash msdosfs rw,noauto,..."
> in my /etc/fstab and do "mount /flash" as needed, manually.
Note that you can easily hook it up to autofs: just uncomment
the "-noauto" map in /etc/auto_master, enable autofs, and "cd"
into /flash.
More information about the freebsd-stable
mailing list