From owner-freebsd-stable@freebsd.org Mon Oct 9 19:00:04 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 BC238E391CE for ; Mon, 9 Oct 2017 19:00:04 +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 86A0677171 for ; Mon, 9 Oct 2017 19:00:03 +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 v99IxvLQ023371 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO); Mon, 9 Oct 2017 18:59:57 GMT Received: (from bennett@localhost) by sdf.org (8.15.2/8.12.8/Submit) id v99IxvK3008553; Mon, 9 Oct 2017 13:59:57 -0500 (CDT) From: Scott Bennett Message-Id: <201710091859.v99IxvK3008553@sdf.org> Date: Mon, 09 Oct 2017 13:59:57 -0500 To: tomek@cedro.info Subject: Re: automount usb msdosfs no partition table Cc: freebsd-stable@freebsd.org References: <201710091830.v99IU4Bd013697@sdf.org> 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 19:00:04 -0000 Tomasz CEDRO wrote: > i cannot format that device, as its the "firmware feature" that it has no > partition table.. i would have to fix the firmware.. but it would be nice > to automount it anyway as macos, linux and windoze can :-) > Well, put a partition table onto it, then. You can use either gpart(8) or fdisk(8) to do that and to create a slice, and then use newfs_msdos(8) to create the file system. I understood from your previous message that you wanted to create a FAT32 file system on /dev/da0 rather than on /dev/da0s1, which meant on the bare device rather than on a slice. Otherwise, create the partition table, create a slice, and proceed. 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 * **********************************************************************