Date: Fri, 30 Nov 2007 11:18:08 +0800 From: "Yi Wang" <wangyi6854@gmail.com> To: "Suhaib ." <biahus@operamail.com> Cc: ports@freebsd.org, Alejandro Pulver <alejandro@varnet.biz>, "Aryeh M. Friedman" <aryeh.friedman@gmail.com> Subject: Re: problem with mount_ntfs-3g Message-ID: <5ea5cca50711291918yc3d13bdjfd0ad0957f169e77@mail.gmail.com> In-Reply-To: <20071130005006.DF04D440EA@ws5-1.us4.outblaze.com> References: <20071130005006.DF04D440EA@ws5-1.us4.outblaze.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Yes, I think it does the trick. some words from mount(8): The default behavior of mount is to pass the -t option directly to the nmount(2) system call in the fstype option. However, for the following file system types: cd9660, mfs, msdosfs, nfs, nfs4, ntfs, nwfs, nullfs, portalfs, smbfs, udf, and unionfs, mount will not call nmount(2) directly and will instead attempt to execute a program in /sbin/mount_XXX where XXX is replaced by the file system type name. according to this, your patch should works fine. I didn't test it yet because I delete /usr/obj before. So I'm build world now. I'll post the result when it finish. On 11/30/07, Suhaib . <biahus@operamail.com> wrote: > > > ----- Original Message ----- > > From: "Alejandro Pulver" <alejandro@varnet.biz> > > To: "Aryeh M. Friedman" <aryeh.friedman@gmail.com> > > Subject: Re: problem with mount_ntfs-3g > > Date: Thu, 29 Nov 2007 20:16:14 -0300 > > > > > > On Thu, 29 Nov 2007 19:42:00 -0300 > > Alejandro Pulver <alepulver@FreeBSD.org> wrote: > > > > > On Tue, 27 Nov 2007 09:35:48 -0500 > > > "Aryeh M. Friedman" <aryeh.friedman@gmail.com> wrote: > > > > > > > > Then, I execute this command: > > > > > mount -t ntfs-3g -o ro /dev/ad6s10 /media/g > > > > > but is also says: > > > > > mount: /dev/ad6s10 : Operation not supported by device > > > > > > > > > > Is this a bug of mount? > > > > > I get exactly the same thing on -current AMD64. > > > > > > > > > > uname -a: > > > > > FreeBSD wangyi.com 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Fri Nov 23 12:18:30 > > > > > CST 2007 root@wangyi.com:/usr/obj/usr/src/sys/MYKERNEL i386 > > > > > > > > > Can't reproduce in my machine, please try with the latest version > > > (attached as shell archive). > > > > > > > Sorry, it was stripped. It's available here: > > > > ftp://ftp.alepulver.com.ar/fusefs-ntfs.shar > > > > Best Regards, > > Ale > > << signature.asc >> > > > I had the same problem on RELENG_7 and made a minor edit to mount > for ntfs-3g to work. However,I have not had the time to investigate > whether or not it is the correct solution, see the comment about > nmount() in mount.c > > To try out the change apply the attached patch file from /usr/src, > then cd to /usr/src/sbin/mount and run make. A quick test... > > # mount -t ntfs-3g -o ro /dev/da8s1 /mnt > mount: /dev/da8s1 : Operation not supported by device > > # /usr/obj/usr/src/sbin/mount/mount -t ntfs-3g -o ro /dev/da8s1 /mnt > > > -- > Suhaib > > -- > _______________________________________________ > Surf the Web in a faster, safer and easier way: > Download Opera 9 at http://www.opera.com > > Powered by Outblaze > > -- Regards, Wang Yi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5ea5cca50711291918yc3d13bdjfd0ad0957f169e77>