From owner-freebsd-questions@freebsd.org Sat Aug 5 16:10:15 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 6AF04DB7485 for ; Sat, 5 Aug 2017 16:10:15 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 389ED7DEDB for ; Sat, 5 Aug 2017 16:10:15 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-it0-x229.google.com with SMTP id 77so19245248itj.1 for ; Sat, 05 Aug 2017 09:10:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=TvFf7r9tgWp3hE1Ixn3kFN3dEbP7vkway3kzrhzG90U=; b=B/8GuYtsnJ378DAzvUKU+XTphopH9fo/cubngpkKh3YGAewsXPXRwFqeLWIjE2S2OM Q+FDhu+IPwx1/XwQc+prhGMui0FkxRHLZRacCPVrsnq/eDMxiyIGtok2wyjV30aASBMr iI03Bx8ILZ7MG5ah6RfVp7NsU3AdbANR+nzJCKWi6EZCf1k4+3izltWbfgQM7v3ZZVPc 5qkmqaHgSL8PulBq0CPt/neSTkmep6klsUVL3J68gLypi7/iWxj+dN7x/zDsDnMCaXTA lRpL+EyDdjojvlkKwcAOxAKCvDJH5HfaFW31aI6kgsRYErYcjW/1QP/7tIDjS2gH+Sif zOBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=TvFf7r9tgWp3hE1Ixn3kFN3dEbP7vkway3kzrhzG90U=; b=SBnzYaevqRAZSmchVCPC/+wyOLr1YGGQd4XjhH5Kq0SRD88LywtA7exDgUBSde/snp jLkfAGbFwdv7IyY8eUy/ZZg5fvn/7Xm5XwfXzpNhYTJ1O5rsl7BTdBfmWXMBIdkMGkuK i1pJqVcOeqimsi1h9Rgiucw70WArcRSKcyeEs1NT7edSAAIFQ2pQnVJXW5b1M78tscMq /LbB5BtgmLpppgP9H26eiyhpn5NJyWUGdNmQbqaA1orGlZEW0XYFRzSBR7eqInAIJmnh M8y57y2mV9kHbzYdBzUz2EP3ahRISckMN5rUfruwv/N+F7dDb+NHFCatfyj3yVNBqr1L F6RQ== X-Gm-Message-State: AIVw1128HGPck+bbSlkpKj4sp8kLrmuBZXRlQJ/yMxUI+d3a4Q58G0BW VcRV0fNAoHxK5aFgI0xSrn56x1G2Fg== X-Received: by 10.36.252.69 with SMTP id b66mr5571671ith.97.1501949414508; Sat, 05 Aug 2017 09:10:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.117.150 with HTTP; Sat, 5 Aug 2017 09:10:13 -0700 (PDT) In-Reply-To: References: From: Aryeh Friedman Date: Sat, 5 Aug 2017 12:10:13 -0400 Message-ID: Subject: Re: How to suppress boot up messages from sysutils/automount To: Jan Beich Cc: FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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:10:15 -0000 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 wrote: > 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. > -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org