Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2009 09:44:55 +0800
From:      "Eric L. Chen" <d9364104@mail.nchu.edu.tw>
To:        Joe Marcus Clarke <marcus@FreeBSD.org>
Cc:        freebsd-gnome@FreeBSD.org
Subject:   Re: Cannot umount ntfs-3g without root prvilege.
Message-ID:  <1234316695.51772.9.camel@localhost>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1234316695.51772.9.camel>