From owner-freebsd-questions@freebsd.org Sat Aug 5 16:00:36 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81881DB6CA2 for ; Sat, 5 Aug 2017 16:00:36 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 62A127DAC8; Sat, 5 Aug 2017 16:00:36 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id A3246AB73; Sat, 5 Aug 2017 16:00:35 +0000 (UTC) From: Jan Beich To: Aryeh Friedman Cc: freebsd-questions@freebsd.org Subject: Re: How to suppress boot up messages from sysutils/automount References: Date: Sat, 05 Aug 2017 18:00:31 +0200 In-Reply-To: (Aryeh Friedman's message of "Sat, 5 Aug 2017 09:02:50 -0400") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Aug 2017 16:00:36 -0000 Aryeh Friedman 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.