From owner-freebsd-gnome@FreeBSD.ORG Wed Apr 2 07:17:38 2008 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 550551065675 for ; Wed, 2 Apr 2008 07:17:38 +0000 (UTC) (envelope-from etienne@usr.ch) Received: from multi.usr.ch (multi.usr.ch [157.161.175.12]) by mx1.freebsd.org (Postfix) with ESMTP id 141448FC15 for ; Wed, 2 Apr 2008 07:17:36 +0000 (UTC) (envelope-from etienne@usr.ch) Received: from multi.usr.ch (etienne@localhost [127.0.0.1]) by multi.usr.ch (8.12.11/8.12.11) with ESMTP id m327HUlO054602 for ; Wed, 2 Apr 2008 09:17:30 +0200 (CEST) (envelope-from etienne@multi.usr.ch) Received: (from etienne@localhost) by multi.usr.ch (8.12.11/8.12.11/Submit) id m327HUPw054601 for freebsd-gnome@freebsd.org; Wed, 2 Apr 2008 09:17:30 +0200 (CEST) (envelope-from etienne) From: Stefan Hauser Message-Id: <200804020717.m327HUPw054601@multi.usr.ch> In-Reply-To: <47EDCFF8.6050609@gmail.com> To: freebsd-gnome@freebsd.org Date: Wed, 2 Apr 2008 09:17:30 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL99f (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on multi.usr.ch Subject: Re: hal and ntfs-3g 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, 02 Apr 2008 07:17:38 -0000 > >>> I've been looking for someone with ntfs-3g foo to help here. I don't > >>> have any NTFS volumes, and I don't use fuse. There were some threads on > >>> this list a while ago with some things to try. If you could put > >>> together a list of changes that work for you, I would be happy to commit > >>> them. > >>> > >> hmm. not as easy, as i was guessing. at least not with 7.x. > >> 6.3 /sbin/mount constructs a mount_type with whatever type was specified with > >> -t, so, no problem to introduce new filesystems. > >> 7.x /sbin/mount has a fixed list compiled in, so mount -t ntfs-3g fails. [...] > > What does the fuse maintainer have to say about this? I'm sure users > > have complained about this before. What's the recommended way to mount > > fuse volumes? > > > > Currently the recommendation is to dl the patch from the maintainers web > sight and apply it see /usr/local/share/doc/ntfs-3g/README.FreeBSD ... > if you can get it to mount from /etc/rc please let me know since I can > only get it to work from the command line (already sent a message to the > maintainer) patching src/sbin/mount/mount.c works for me. for hal and fstab. but with hal, there is another problem. you can mount, but you can't unmount. hal uses /dev/ntfs/LABEL, but with fuse, the device mounted will be /dev/fuseX.. mount|grep XP /dev/fuse1 on /media/XP (fusefs, local, noatime, noexec, nosuid, synchronous) cat /media/.hal-mtab /dev/ntfs/XP 1042 0 ntfs-3g noexec,nosuid,locale=en_GB.UTF-8 /media/XP gnome-mount -v -b -u -p XP gnome-mount 0.7 Resolved pseudonym "XP" -> /dev/ntfs/XP ** (gnome-mount:1912): DEBUG: Unmounting /org/freedesktop/Hal/devices/volume_uuid_CE70F5D970F5C7EB ** (gnome-mount:1912): WARNING **: Unmount failed for /org/freedesktop/Hal/devices/volume_uuid_CE70F5D970F5C7EB: org.freedesktop.Hal.Device.Volume.NotMounted : According to HAL, the volume is not mounted don't know how linux handles the fusefs stuff. so far i don't find a hint in the source. but i think, hal/gnome-mount needs some basic changes for handling fusefs. not only for ntfs-3g. etienne