From owner-freebsd-gnome@FreeBSD.ORG Wed Feb 11 01:45:05 2009 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E272910656DA; Wed, 11 Feb 2009 01:45:05 +0000 (UTC) (envelope-from lihong.chen@gmail.com) Received: from ag-out-0708.google.com (ag-out-0708.google.com [72.14.246.247]) by mx1.freebsd.org (Postfix) with ESMTP id 743DB8FC15; Wed, 11 Feb 2009 01:45:04 +0000 (UTC) (envelope-from lihong.chen@gmail.com) Received: by ag-out-0708.google.com with SMTP id 33so286518agc.3 for ; Tue, 10 Feb 2009 17:45:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=ETIi7cH9aeHYHUamXiJM6Y/OEG8XZRXFyZ0E5fCKp7E=; b=CmHyVL52nCK+yII0wYMEbIywx6GV+uzTnpBVJkuuWgPoM59a/rO6uo1i8AsZPPyCrH w1ThsxfgBro+IetsMe3XtaMXb4K0m+dyjBvL9lSBBYhV2dhV8RFM8f1EyDTp/JEwzsuO ONID2H+oAYsPht44ocqPuhvPXrYMTjiNzo9Xg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=jkjTan0gk0XcTRaSK+OVOVPwj+RU+GnYp+HVU1+/XpcwTprYrvcpv2uVixjX89fXbm oi5k8fxRmJ0c6seTumlM/ARkPFeQPjJgo7ihwCYFlwOAhi2cBGI48M3r16gX/EtDkRhe YF/oKDasR5HIZewrfdShvpkK77IN+ZGDGngOE= Received: by 10.220.74.20 with SMTP id s20mr2914839vcj.36.1234316702729; Tue, 10 Feb 2009 17:45:02 -0800 (PST) Received: from ?192.168.10.84? (59-125-13-44.HINET-IP.hinet.net [59.125.13.44]) by mx.google.com with ESMTPS id 34sm938348yxm.5.2009.02.10.17.44.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 10 Feb 2009 17:45:01 -0800 (PST) Sender: "Eric L. Chen" From: "Eric L. Chen" To: Joe Marcus Clarke In-Reply-To: <1234289882.48053.44.camel@shumai.marcuscom.com> References: <1234167699.1428.6.camel@localhost> <49907B0A.9020602@freebsd.org> <1234256812.1407.5.camel@localhost> <1234289882.48053.44.camel@shumai.marcuscom.com> Content-Type: text/plain Date: Wed, 11 Feb 2009 09:44:55 +0800 Message-Id: <1234316695.51772.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.24.4 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-gnome@FreeBSD.org Subject: Re: Cannot umount ntfs-3g without root prvilege. X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2009 01:45:06 -0000 On Tue, 2009-02-10 at 13:18 -0500, Joe Marcus Clarke wrote: > On Tue, 2009-02-10 at 17:06 +0800, Eric L. Chen wrote: > > On Mon, 2009-02-09 at 13:50 -0500, Joe Marcus Clarke wrote: > > > Eric L. Chen wrote: > > > > Hi, > > > > > > > > I followed http://www.freebsd.org/gnome, try to mount usb disk (ntfs > > > > formatted). > > > > It can be mounted, but cannot umount. > > > > We need ntfs usb disk for large file, since fat cannot support file > > > that > > > > greater than 2GiB. > > > > BTW, I am using ntfs-3g for NTFS read/write support. > > > > > > Have you followed the instructions in > > > /usr/local/share/docs/hal-0.5.11/README.fuse? > > > > > > Joe > > > > > Yes, I tried using /usr/local/share/hal/mount-fuse . > > # mv /sbin/mount_ntfs /sbin/mount_ntfs.orig > > # cp /usr/local/share/hal/mount-fuse /sbin/mount_ntfs > > # cp /usr/local/share/hal/mount-fuse /sbin/mount_ntfs-3g > > but results the same problem. same as: > > # ln -sf /usr/local/bin/ntfs-3g /usr/sbin/mount_ntfs-3g > > Kris Moore built this script, and I added the necessary hal hooks. I > tested it on his system as I don't have a any NTFS volumes. The script > creates a map file in /tmp which maps kernel mounts to fuse mounts. If > this is not happening, then that would explain why you're unable to > mount the volumes. > > You should also make sure you've adjusted the GConf key for using > ntfs-3g instead of ntfs within GNOME. Beyond that, hopefully someone > who is successfully using hal and fuse can help you. > > Joe > Finally, this issue fixed. I removed /sbin/mount_ntfs /usr/sbin/mount_ntfs-3g, then copy /usr/local/share/hal/mount-fuse to /sbin/mount_ntfs-3g. It works, I can use "gnome-mount -u -p usbdisk" to unmount, but still cannot unmount by nautilus' menu "Unmount Volume". Thanks! /Eric