From owner-freebsd-stable@freebsd.org Mon Oct 9 19:07:50 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 C7C1AE3954C for ; Mon, 9 Oct 2017 19:07:50 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-ua0-x233.google.com (mail-ua0-x233.google.com [IPv6:2607:f8b0:400c:c08::233]) (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 7D41E776CF for ; Mon, 9 Oct 2017 19:07:50 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: by mail-ua0-x233.google.com with SMTP id i35so12676199uah.9 for ; Mon, 09 Oct 2017 12:07:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=edQW4nb1Hq2YcuAfH7X4IQ1owMNXy1dcjVPEcEr0YD8=; b=AIHgzmsvzDbiXdxrUTzqrfpvYQl222WAuw1M4en2IGGw8HdTK4Lm5qNgRorGnQJuIg Nwlgb2Us5YNizUz93dhhhVveOYpSAx2486Hjt5K8GWznbmDkAUXMaunpxQLtq8i+2m0A 6OGchLjxeyk1QdIe6NvYLydiZ4IKyYA9AejCSyJ9T2Bf/dDnwAgb0sX0c/MFcPxjaUUr CV8K8egtat8v4E5FOn2zvxNBsTiFq18wHUUwxkY4eUnItINlGhzXRHK724KDQoyW43f4 +jTmULEJ0VirwcfpV8sdBj/tXladtgriEohkli0+9CuEg26PkKwB9xBP1MeqWcT83qJ0 MVRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=edQW4nb1Hq2YcuAfH7X4IQ1owMNXy1dcjVPEcEr0YD8=; b=K1puLOOpKbERIYVvWJmw6crntRSOAB/jsMAlE2OOi2U3am4XKOhTBGrid4o1YwlKgs om/pIjWgBhw5Ot6UAGGUJc4ob9PZ0aCQKpkjigsrUy/jUKBk6X/yjA+D5dKhBpRsOdDd nha8VJhi0Sf5R/cQiIL61RqSp9nrDNxl3Ufa5WKOwxS8xsaQ5ycTH0j9xwcrR6tkDls5 IpPXN7vYkzX6TDktyFHY34appV8obKTdDYpIE6dk3wdxTLsCtNlMF9bCtsgWUrZVBYgJ O7hKVrPBtnc3YwLrDvjxKgFpzBUmrelOHpY026DOXEIywhycLiS+WTMZctAIWZfSpxsA OZwQ== X-Gm-Message-State: AMCzsaXhX9Ylh47Hm9qArGyYTXrcVv9z1pHT1vWsOR86U2sbpgTnyWHI L+da6cBL6/XsqEQmvez5BT6JIFsOR89IQHWG03w= X-Google-Smtp-Source: AOwi7QArz74CX6gN3Vi8v/8Uo5YhCeUyJ0Bj3pfuXISM9kJEiSnlLL0bHX0vXiSK/KFUqaHfFhF01BDXQ6ttxRB010I= X-Received: by 10.176.25.212 with SMTP id r20mr6193843uai.97.1507576069574; Mon, 09 Oct 2017 12:07:49 -0700 (PDT) MIME-Version: 1.0 Sender: tomek.cedro@gmail.com Received: by 10.159.53.237 with HTTP; Mon, 9 Oct 2017 12:07:29 -0700 (PDT) In-Reply-To: <201710091859.v99IxvK3008553@sdf.org> References: <201710091830.v99IU4Bd013697@sdf.org> <201710091859.v99IxvK3008553@sdf.org> From: Tomasz CEDRO Date: Mon, 9 Oct 2017 21:07:29 +0200 X-Google-Sender-Auth: fSwj-xJ4vT6KjHcMBg6s7AJH3yE Message-ID: Subject: Re: automount usb msdosfs no partition table To: Scott Bennett Cc: FreeBSD Stable Content-Type: text/plain; charset="UTF-8" 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:07:50 -0000 On Mon, Oct 9, 2017 at 8:59 PM, Scott Bennett wrote: > 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. The problem is device has hardcoded filesystem, with no partition table, all this is created by firmware on device boot, cannot get formatted nor partitioned.. I can mount it by hand.. but it does not get automounted.. and exactly this part is the problem and quest here :-) :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info