automount usb msdosfs no partition table
cederom at tlen.pl
Mon Oct 9 16:15:45 UTC 2017
On Mon, Oct 9, 2017 at 5:36 PM, mfv via freebsd-questions
<freebsd-questions at freebsd.org> wrote:
>> On Mon, 2017-10-09 at 01:10 Tomasz CEDRO <tomek at cedro.info> wrote:
>>Hello world :-)
>>I need to configure automount for a testing machine. It seems to work
>>fine, except for two issues:
>>1. Mount point does not disappear after device disappears, what makes
>>things harder to script when device is gone. automount -c does not
>>remove the mountpoint, only restarting the service does. It is a bug
>>2. Automounter does not mount USB Pendrive / MSDOSFS devices that does
>>not have a parition table. Some USB Drives does not have valid
>>partition table, they appear as /dev/da0 and can be mounted with
>>mount_msdosfs /dev/da0 /mnt, but they are not recognised by
>>automounter.. how can I make it work with such devices?
>>Any hints appreciated :-)
> Hello Tomek,
> The port/package, sysutils/automount, is able to do what you want. It
> automatically mounts MSDOS or gpart partioned USB thumb drives. Alas,
> it does not automatically mount CD/DVDs which require command line
> My configuration file (/usr/local/etc/automount.conf) differs from the
> sample as follow:
> A devd configuration file that was installed by pkg was not changed.
> It is located at /usr/local/etc/devd/automount_devd.conf.
> My GUI desktop of choice is XFCE4 which has a plugin that recognises
> automatically mounted devices. It is possible to use this plugin to
> umount a USB thumb drive OR use the command line in a virtual terminal
> to umount in the traditional way.
> Cheers ...
Hello Marek! Czesc czolem :-) :-) Thank you for your feedback! I will
compare the ports configuration with default system automount
package.. maybe I will discover a way to auto-mount drives with no
partition table which unforunately happens quite often for FAT
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
More information about the freebsd-questions