How to suppress boot up messages from sysutils/automount
Aryeh Friedman
aryeh.friedman at gmail.com
Sat Aug 5 16:10:15 UTC 2017
Neither one works stand alone (I would use the one that did if one did work
this way)... and removing the -c from the sysutils/automount one doesn't
work... I know it is completely counter intuitive but it is the result of
about 20 hours of attempting to get any kind of auto mounting to work (a
critical functionality for one of the programs I maintain which does auto
uploads on media insert)
On Sat, Aug 5, 2017 at 12:00 PM, Jan Beich <jbeich at vfemail.net> wrote:
> Aryeh Friedman <aryeh.friedman at gmail.com> writes:
>
> > When I boot I get a lot of junk messages (hints about how to configure
> it)
> > form sysutils/automount while I want to keep automount in the startup I
> > want to suppress these messages -- how?
> >
> > Note without both settings below it does not automount my flash drive
> > (da4)... also coping /usr/local/etc/automount.conf.sample to
> > /usr/local/automount.conf (with appropriate edits) doesn't make the
> > messages go away:
> >
> > I have the following in my rc.conf:
> >
> > autofs_enable="YES"
> >
> > and the following in devd.conf:
> >
> > # Discard autofs caches, useful for the -media special map.
> > notify 100 {
> > match "system" "GEOM";
> > match "subsystem" "DEV";
> > action "/usr/local/sbin/automount -c";
> > };
>
> sysutils/automount has no relation to autofs(5). The former doesn't
> support "automount -c". Perhaps, you need to pick either one instead of
> trying to use both at the same time.
>
--
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
More information about the freebsd-questions
mailing list