complains a bit but seems to work with real usb ntfs drive
Code: Select all
# source /dtv/SGO.env
# umount /dtv/usb/sdd1/
# ntfs-3g /dev/sdd1 /dtv/usb/sdd1
Failed to create '/dev/fuse': Read-only file system
fuse: warning: library too old, some operations may not not work
# ntfs-3g
ntfs-3g: No device is specified.
ntfs-3g 2013.1.13 external FUSE 28 - Third Generation NTFS Driver
Configuration type 1, XATTRS are on, POSIX ACLS are off
Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2012 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson
Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point>
Options: ro (read-only mount), windows_names, uid=, gid=,
umask=, fmask=, dmask=, streams_interface=.
Please see the details in the manual (type: man ntfs-3g).
Example: ntfs-3g /dev/sda1 /mnt/windows
News, support and information: http://tuxera.com
# ll /dtv/usb
drwxr-xr-x 4 root 0 4096 Jan 1 1970 sda1
drwxr-xr-x 3 root 0 16384 Jan 19 12:04 sdb
drwxr-xr-x 9 root 0 4096 Jan 19 00:27 sdc
drwxrwxrwx 1 root 0 4096 Sep 6 11:55 sdd1
-rw-r--r-- 1 root 0 667 Jan 19 20:06 usblog
# ll /dtv/usb/sdd1/
drwxrwxrwx 1 root 0 16384 Oct 21 10:18 BOX
drwxrwxrwx 1 root 0 0 Feb 13 2012 Control.{ED7BA470-8E54-465E-825C-99712043E01C}
drwxrwxrwx 1 root 0 0 Jun 26 2013 GDATA
drwxrwxrwx 1 root 0 12288 Jun 26 2013 HBCD
drwxrwxrwx 1 root 0 0 Aug 21 08:37 HGS Wittstock
drwxrwxrwx 1 root 0 0 Jun 26 2013 dbase
-rwxrwxrwx 1 root 0 260964 Apr 12 2011 grldr
# /mtd_wiselink/SamyGO/bin/busybox umount /dtv/usb/sdd1
# ll /dtv/usb/sdd1/
#
# ntfs-3g /dev/sdd1 /dtv/usb/sdd1
Failed to create '/dev/fuse': Read-only file system
fuse: warning: library too old, some operations may not not work
# ll /dtv/usb/sdd1/
drwxrwxrwx 1 root 0 16384 Oct 21 10:18 BOX
drwxrwxrwx 1 root 0 0 Feb 13 2012 Control.{ED7BA470-8E54-465E-825C-99712043E01C}
drwxrwxrwx 1 root 0 0 Jun 26 2013 GDATA
drwxrwxrwx 1 root 0 12288 Jun 26 2013 HBCD
drwxrwxrwx 1 root 0 0 Aug 21 08:37 HGS Wittstock
drwxrwxrwx 1 root 0 0 Jun 26 2013 dbase
-rwxrwxrwx 1 root 0 260964 Apr 12 2011 grldr
# touch /dtv/usb/sdd1/touchfile.txt
# ll /dtv/usb/sdd1/
drwxrwxrwx 1 root 0 16384 Oct 21 10:18 BOX
drwxrwxrwx 1 root 0 0 Feb 13 2012 Control.{ED7BA470-8E54-465E-825C-99712043E01C}
drwxrwxrwx 1 root 0 0 Jun 26 2013 GDATA
drwxrwxrwx 1 root 0 12288 Jun 26 2013 HBCD
drwxrwxrwx 1 root 0 0 Aug 21 08:37 HGS Wittstock
drwxrwxrwx 1 root 0 0 Jun 26 2013 dbase
-rwxrwxrwx 1 root 0 260964 Apr 12 2011 grldr
-rwxrwxrwx 1 root 0 0 Jan 19 20:08 touchfile.txt
i'll try now to create a new ntfs image with compression enabled as my current mounted ntfsimg (created via dd if=/dev/zero ... and mkfs.ntfs -FC ntfsimg) still refuses to get unmounted...
EDIT:
ntfs-3g 2013.1.13 works a lot better with my (fresh created) images (regarding compression and file handling inside the image)
this one
juuso wrote:Have you tried to use ntfs-3g binary which is included to app of this topic? I mean this
download/file.php?id=1500
ntfs-3g-external_fuse.tgz
does work also but the image file needs to be 128MB to hold pvrimage and mounting takes way longer
would you consider compiling fuse libs from more recent sources also?