Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Aug 2017 18:00:31 +0200
From:      Jan Beich <jbeich@vfemail.net>
To:        Aryeh Friedman <aryeh.friedman@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to suppress boot up messages from sysutils/automount
Message-ID:  <h8xm-m2cg-wny@FreeBSD.org>
In-Reply-To: <CAGBxaX=28-CQUzon9M4RzX65O=OZ4=4zDfLttco-A-LrBDH4vA@mail.gmail.com> (Aryeh Friedman's message of "Sat, 5 Aug 2017 09:02:50 -0400")
References:  <CAGBxaX=28-CQUzon9M4RzX65O=OZ4=4zDfLttco-A-LrBDH4vA@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Aryeh Friedman <aryeh.friedman@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.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?h8xm-m2cg-wny>