From owner-freebsd-stable@freebsd.org Mon Jan 25 15:13:53 2016 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 4A836A45932 for ; Mon, 25 Jan 2016 15:13:53 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 28052BC0 for ; Mon, 25 Jan 2016 15:13:53 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 2728CA45931; Mon, 25 Jan 2016 15:13:53 +0000 (UTC) Delivered-To: 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 0CD34A45930 for ; Mon, 25 Jan 2016 15:13:53 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (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 961CDBBF for ; Mon, 25 Jan 2016 15:13:52 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id u188so69855635wmu.1 for ; Mon, 25 Jan 2016 07:13:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=Rc3ABpnTD2EzXlh5AZl2bxjN+plluc3dD9Z1piP8Efk=; b=FAFj/h4fKdi614cBNo8phWRbAy2c0hPbvzCTNiCb9AcBE0ckleKJLVldJGExpoAoU1 Y+HqnSf5YbcT6YzR3qulqrArfDsrqn2GZjAg5egyunnr+RMcPDN4N/rnWGZA+XMZrKWs B1U78TEtyNVbI2hKYinjJBauHnXLrgKFpBRn78CCjjzPFhm0JdKtYiB+umjwroe+K1sy iWERuwEce3wkYbgZsKgz+LM6o53wJkTLfWQiYXvRKxcHpktdNpW2Hd93YbEm/EPdABJ4 +PYF99aH0ITDWMh56Dye64wC9122zIrBu6LlfZ8HfruBmRjfaxbTzqOyl+27fqzr/pYU V2rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=Rc3ABpnTD2EzXlh5AZl2bxjN+plluc3dD9Z1piP8Efk=; b=N6l8qc4ScnLI3zDpegbMHo8HL57jB76Zo/F22oltvZgqleu1zEFdaVSkTTmQe5IeAk 9P8G1LpDTLsiMIOG0WuRWVQtleDwCRwxjEsjuxILFy9gXKAZF997VOo97M1iq7DC/ON+ KtXJPUUlHOWcC8BXikeYfSUezkPzq8JQmBSfhzDzb6paDWGqr3hHGhbD5vVfQgR1oNC4 CwtWq9m7LurzqZEQ5mt4Ie1UMRFgjmhDyDkf7LyPOUmLCT6mQWqzDnGRp3oDmwZRZg1o LeX7qBPCZxQl0bK8oOOfiC5A+WeQKBSTpbZmNUH8jMGbEwtaRY9f0Yu17juq9GC+PfIy O7ww== X-Gm-Message-State: AG10YOQaLKj8ecM3nd9dmMS2h8FYBgBo6yJl0B5TazCoKsGoXcLwu2byD2JiMe5lZsCYzw== X-Received: by 10.194.203.99 with SMTP id kp3mr17952310wjc.3.1453734831173; Mon, 25 Jan 2016 07:13:51 -0800 (PST) Received: from brick.home (acyt121.neoplus.adsl.tpnet.pl. [83.11.203.121]) by smtp.gmail.com with ESMTPSA id 73sm16643573wmm.7.2016.01.25.07.13.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jan 2016 07:13:50 -0800 (PST) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Mon, 25 Jan 2016 16:13:46 +0100 From: Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= To: Eugene Grosbein Cc: Andrzej Bylicki , stable@freebsd.org, rkoberman@gmail.com Subject: Re: Auto-mounting USB NTFS formatted devices on FreeBSD 10.2 and HEAD Message-ID: <20160125151346.GB2516@brick.home> Mail-Followup-To: Eugene Grosbein , Andrzej Bylicki , stable@freebsd.org, rkoberman@gmail.com References: <56A61864.40603@grosbein.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56A61864.40603@grosbein.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 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, 25 Jan 2016 15:13:53 -0000 On 0125T1943, Eugene Grosbein wrote: > On 25.01.2016 19:14, Andrzej Bylicki wrote: > > Hello, > > > > I mounted all of my NTFS formatted drives via fuse from the > > sysutils/fusefs-ntfs port. I am not entirely sure, but assuming that it is > > possible to automate the mounting procedure by adding the correct line to > > /etc/fstab. > > It is possible to add correct line to /etc/fstab provided that you know > path device file in advance. For example, I have this for my dual-boot > FreeBSD 10.2/Windows 8.1 home system: > > /dev/raid/r0s2 /mnt/c fuse ro,failok,late,mountprog=/usr/local/bin/ntfs-3g,windows_names,streams_interface=windows,umask=022,inherit,noatime,show_sys_files > > Never tried to do automount for USB, though. I just have "/dev/da0s1 /flash msdosfs rw,noauto,..." > in my /etc/fstab and do "mount /flash" as needed, manually. Note that you can easily hook it up to autofs: just uncomment the "-noauto" map in /etc/auto_master, enable autofs, and "cd" into /flash.