On Sun, 21 Oct 2012 14:04:46 +0100 Attilio Rao <attilio_at_freebsd.org> wrote: Hi Attilio, > On Sun, Oct 21, 2012 at 12:53 PM, Raoul <rmgls_at_free.fr> wrote: > Hi, >> >> Trying to mount a partition from type ntfs >> with the following conditions i get: >> >> R241700, with fusefs-libs in sync. >> >> kldload fuse >> fuse loaded >> mount -t ntfs /dev/daXsX >> not supported! >> mount_ntfs /dev/daXsX >> no such file or directory! >> >> in the second case, truss will report: >> sysctl "", ... >> which mean that the path is empty of course. >> >> Perhaps i miss something??? > >Try > >ntfs-3g /dev/daXsX /mnt/ntfs/ ntfs-3g crashes in the following environment: mac x86/64 hardware, running an external usb drive with a freebsd partition (da0s3; da1s1 da1s2 = ntfs partitions. and even if it mounts fine the first read/rwrite panic. >Attilio > > >-- >Peace can only be achieved by understanding - A. Einstein > and now i investigated a little more. i found that mount() is the culprit but where? please see below: gdb mount_ntfs GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... (gdb) b main Breakpoint 1 at 0x8048dc0: file mount_ntfs.c, line 73. (gdb) b 188 Breakpoint 2 at 0x80492d6: file mount_ntfs.c, line 188. (gdb) set args /dev/da1s1 /mnt (gdb) r y (gdb) r Starting program: /sbin/mount_ntfs /dev/da1s1 /mnt Breakpoint 1, main (argc=) at mount_ntfs.c:73 73 { (gdb) y (gdb) c Continuing. Breakpoint 2, main (argc=3, argv=0xbfbfd798) at mount_ntfs.c:188 188 if (mount("ntfs", mntpath, mntflags, &args) < 0) mntpath = "/mnt/" &args correct too: /dev/da1s1 i am here! Regards raoul rmgls_at_free.frReceived on Sun Oct 21 2012 - 19:55:01 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:31 UTC