From owner-freebsd-stable@freebsd.org Mon Oct 9 18:30:13 2017 Return-Path: Delivered-To: freebsd-stable@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 8E5A0E38687 for ; Mon, 9 Oct 2017 18:30:13 +0000 (UTC) (envelope-from bennett@sdf.org) Received: from mx.sdf.org (ol.sdf.org [205.166.94.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ol.sdf.org", Issuer "ol.sdf.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5BCD275BEB for ; Mon, 9 Oct 2017 18:30:12 +0000 (UTC) (envelope-from bennett@sdf.org) Received: from sdf.org (norge.freeshell.org [205.166.94.17]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id v99IU41e020292 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO); Mon, 9 Oct 2017 18:30:05 GMT Received: (from bennett@localhost) by sdf.org (8.15.2/8.12.8/Submit) id v99IU4Bd013697; Mon, 9 Oct 2017 13:30:04 -0500 (CDT) From: Scott Bennett Message-Id: <201710091830.v99IU4Bd013697@sdf.org> Date: Mon, 09 Oct 2017 13:30:04 -0500 To: freebsd-stable@freebsd.org Subject: automount usb msdosfs no partition table Cc: Tomasz CEDRO References: In-Reply-To: User-Agent: Heirloom mailx 12.5 6/20/10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 18:30:13 -0000 On Date: Mon, 9 Oct 2017 01:10:19 +0200 Tomasz CEDRO wrote: > I need to configure automount for a testing machine. It seems to work > fine, except for two issues: I've never used the automounter, so I can't help you with that. > > 1. Mount point does not disappear after device disappears, what makes > things harder to script when device is gone. automount -c does not > remove the mountpoint, only restarting the service does. It is a bug > or feature? > > 2. Automounter does not mount USB Pendrive / MSDOSFS devices that does > not have a parition table. Some USB Drives does not have valid > partition table, they appear as /dev/da0 and can be mounted with > mount_msdosfs /dev/da0 /mnt, but they are not recognised by > automounter.. how can I make it work with such devices? > Try newfs_msdos(8). Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at sdf.org *xor* bennett at freeshell.org * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * **********************************************************************