From owner-freebsd-questions@FreeBSD.ORG Mon Feb 18 14:17:53 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DAD416A4A0; Mon, 18 Feb 2008 14:17:53 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id 1AE7F13C504; Mon, 18 Feb 2008 14:17:52 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mobileKamikaze.norad (nat-wh-1.rz.uni-karlsruhe.de [129.13.72.169]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id EAB13405478; Mon, 18 Feb 2008 15:17:50 +0100 (CET) Message-ID: <47B9938B.2020708@bsdforen.de> Date: Mon, 18 Feb 2008 15:17:47 +0100 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.9 (X11/20080205) MIME-Version: 1.0 To: Kevin Oberman References: <20080208231403.B52464500E@ptavv.es.net> In-Reply-To: <20080208231403.B52464500E@ptavv.es.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org, flz@freebsd.org Subject: Re: Unable to mount partition with ntfs-3g X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2008 14:17:53 -0000 Kevin Oberman wrote: >> Date: Fri, 08 Feb 2008 23:11:37 +0100 >> From: Dominic Fandrey >> >> Kevin Oberman wrote: >>> I would love to be able to mount my NTFS partition R/W, but the FreeBSD >>> NTFS support is read-only (or almost read-only), so I installed >>> fusefs-ntfs which I thought would allow this. >>> >>> After installation (which also pulled in fusefs-kmod, fusefs-libs, and >>> libublio), I added fusefs_enable="yes" to my rc.conf. Then, after >>> starting fusefs (which means loading the fuse kernel module), I tried: >>> # mount -t ntfs-3g /dev/ad0s1 /C >>> mount: /dev/ad0 : Operation not supported by device >>> >>> I got the same message for a USB drive on /dev/da0. >>> >>> Documentation on ntfs-3g is pretty limited. Did I miss something? I >>> really rather not convert my new USB disk to FAT32 if I don't have to. >> mount only calls a couple of file systems in the old fashioned way. One of >> them is ntfs. What I did to be able to mount NTFS systems with mount -t >> (obligatory if you want to use fstab to mount), I did the following: >> >> # mv /sbin/mount_ntfs /sbin/mount_ntfs.bak >> # ln -s /usr/sbin/mount_ntfs-3g /sbin/mount_ntfs >> >> This is one of my /etc/fstab entries >> /dev/ntfs/2vault /mnt/vault ntfs rw,late,gid=5,umask=113,dmask=002 0 0 >> > > Cool! This is exactly what I was looking for. Since mount_ntfs-3g was > installed, I assumed that it would work with nmount, but I guess not. > > Thanks very much! I think that this will solve all of my ntfs issues for > a while. I have a fix now that I like better: http://www.freebsd.org/cgi/query-pr.cgi?pr=120784 You can apply it in the following way: # cd /usr/src # fetch -o mount.patch \ 'http://www.freebsd.org/cgi/query-pr.cgi?prp=120784-1-diff&n=/patch-1.diff' # patch < mount.patch # cd sbin/mount # make all install clean