Discussion:
using automounter (automatically mounting USB drives)
Eitan Adler
2010-05-18 11:58:58 UTC
Permalink
How can I automatically mount USB drives when I plug them in?
I found a program sysutils/automounter which appears to create a link
/media/msdosfs/USB20FD but doesn't actually mount anything.
David DEMELIER
2010-05-18 21:07:04 UTC
Permalink
Post by Eitan Adler
How can I automatically mount USB drives when I plug them in?
I found a program sysutils/automounter which appears to create a link
/media/msdosfs/USB20FD but doesn't actually mount anything.
_______________________________________________
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
I don't know sysutils/automounter, but the

COMMENT= Provides scripts to dynamically configure amd

would means that it only prepare the devices entries to be used by the
amd(8) daemon (amd — automatically mount file systems)

Take a look at the amd(8) manpage (I can't help you I never used it)
and the rc.conf(5) to enable it.
--
Demelier David
Alexandre L.
2010-05-19 13:09:14 UTC
Permalink
To enable it at system startup, you must add the following line to /etc/rc.conf :
automounter_enable="YES"
Objet: Re: using automounter (automatically mounting USB drives)
Date: Mardi 18 mai 2010, 21h07
Post by Eitan Adler
How can I automatically mount USB drives when I plug
them in?
Post by Eitan Adler
I found a program sysutils/automounter which appears
to create a link
Post by Eitan Adler
/media/msdosfs/USB20FD but doesn't actually mount
anything.
Post by Eitan Adler
_______________________________________________
mailing list
Post by Eitan Adler
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
I don't know sysutils/automounter, but the
COMMENT=        Provides scripts to
dynamically configure amd
would means that it only prepare the devices entries to be
used by the
amd(8) daemon (amd — automatically mount file systems)
Take a look at the amd(8) manpage (I can't help you I never
used it)
and the rc.conf(5) to enable it.
--
Demelier David
_______________________________________________
mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
Eitan Adler
2010-05-19 17:56:29 UTC
Permalink
Post by Alexandre L.
automounter_enable="YES"
Which I have already done. However this only causes the labels in
/media to appear to disappear. It does not seem like it actually
mounts anything.
--
Eitan Adler
Loading...