From owner-freebsd-stable@freebsd.org Sun Oct 8 23:10:42 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 06F29E4243A; Sun, 8 Oct 2017 23:10:42 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-ua0-x230.google.com (mail-ua0-x230.google.com [IPv6:2607:f8b0:400c:c08::230]) (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 3B1EA6533C; Sun, 8 Oct 2017 23:10:41 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: by mail-ua0-x230.google.com with SMTP id l40so13787229uah.2; Sun, 08 Oct 2017 16:10:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=LIJW2tTbsVfPTvYKkmbsP6M+JOEBs1H4ii6pbbQ47jY=; b=hY/74676ooscy8jDi3beJo2EYOPkuaGyjU9C1xx3n5prIL8SHY289+ZNVP58xjKHNE U2m6/276GqwaNwdq6Xwnw3/Kgfig25o/MmVd178NBvULTkLsyUnHLqrRZLErk5W6hp5C DqaWJh9QZKXInxK2FzOUkT8mPwySKTdcYqbs8svViZcjO0uFJ/AaZeaTjZfii27HwwoW LfEHkTt41+lTuclmof89SeKP82OwRw9XwwQaCHR/jDTvJAC3BMl6PrmrTv4C+LUBEHMT ExolCb0ppsCLZiz79u0bkGObQIuEqJZYkiH37JPTuuDjhoVMcYZf4bAtxiKo2Wmpb0O1 Yp9A== 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:from:date:message-id:subject :to; bh=LIJW2tTbsVfPTvYKkmbsP6M+JOEBs1H4ii6pbbQ47jY=; b=TpTgNbATw0k/AMDL73ZlyxKtnvzb3cA403eBWczYg4aeqNClnj4UonnVUBARjNkUUT p84bhdX4RQxbwnxH6o5VKEkBgq6VoP5PtErNafSBBy0famtQBW2JnHEkhvl3sB/r+OeG mXqiQ1bXmE6BjA2J2Zb4Y3bkZEUzGKMc+scINdYWrsD304wr6WNob9Mrq8ewYz5jXnx3 Nd1ojlJQPeSM/LY+G5x747psYzOe7JFSgjY3t8fDqdwfY3sEe8l2QUDfiiHcyhCaFLh9 3VOUyEY7L3bf9eYZoYLz0dMl1UxUA5RHd01y4YaD8+cCLR5tiDFm6aINi0ktYYvyOhKd zoLQ== X-Gm-Message-State: AMCzsaWpgcvlntTt79KNcl6Qg76SVRL0C/f4agTES345n7LzbOsxkuOC I7frARchlx82QwjDgoW+mpsfTNM+dnbYxKtb0DfUMA== X-Google-Smtp-Source: AOwi7QD00n6cGj+f0I1JjLpvEog6ZFvY6Js3BmFQlpzD9VkfwXjQYthpM07zZthR3IOV51NDhxV580ioe8HRFkFa5A4= X-Received: by 10.176.90.151 with SMTP id w23mr2783127uae.179.1507504239884; Sun, 08 Oct 2017 16:10:39 -0700 (PDT) MIME-Version: 1.0 Sender: tomek.cedro@gmail.com Received: by 10.159.53.237 with HTTP; Sun, 8 Oct 2017 16:10:19 -0700 (PDT) From: Tomasz CEDRO Date: Mon, 9 Oct 2017 01:10:19 +0200 X-Google-Sender-Auth: FRChozrdBxqRtc-f65YMOQSXlFo Message-ID: Subject: automount usb msdosfs no partition table To: trasz@freebsd.org, FreeBSD Questions Mailing List , 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: Sun, 08 Oct 2017 23:10:42 -0000 Hello world :-) I need to configure automount for a testing machine. It seems to work fine, except for two issues: 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? Any hints appreciated :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info