Page 2 of 3
Re: [App] NTFS: writable! for D series (arm)
Posted: Sun Nov 24, 2013 12:06 am
by molac
Hello Experts,
I would like to autostart 2 apps (SamyGO + NTFS:rewritable) with the Ticker Autorun function.
How could I make an user app or script (or something esle) for this issue?
THX
Re: [App] NTFS: writable! for D series (arm)
Posted: Sat Jan 18, 2014 7:04 pm
by beatfreak
is there a version of SamyGO extensions for C-Series T-VALDEUC that contains the ntfs-3g binaies?
starting them via init.d would be ok for me
or can i use the one from
Code: Select all
SamyGO-All-Extensions-v0.03.6-r15-for-T-GAS6DEUC-20110917145351.zp
and corresponding bugfix
almost wrote it with ck 
Re: [App] NTFS: writable! for D series (arm)
Posted: Sat Jan 18, 2014 7:41 pm
by juusso
at least you can try one from B series.
Re: [App] NTFS: writable! for D series (arm)
Posted: Sat Jan 18, 2014 8:09 pm
by beatfreak
so you're telling me that ntfs-3g exists for B- and D-Series but not for C?
then i could use like
Code: Select all
SamyGO-All-Extensions-v0.03.6-r16-for-T-CHU7DEUC-20120208115804.zip
?
and to actually use it for mounting ntfs with rw simply run ntfs-3g on startup (like pvr-drm-disable) or use the binary instead of "busybox mount"?
Re: [App] NTFS: writable! for D series (arm)
Posted: Sat Jan 18, 2014 8:11 pm
by juusso
check run.sh script from app of this thhread.
Re: [App] NTFS: writable! for D series (arm)
Posted: Sat Jan 18, 2014 8:29 pm
by beatfreak
something else must be wrong...
Code: Select all
# rmmod fuse
# insmod /mtd_rwcommon/SamyGO/lib/modules/2.6.24_SELP.4.3.x-Cortex-A8/kernel/fs/fuse/fuse.ko
# lsmod
Module Size Used by Tainted: P
fsr 315360 1 fsr_stl, Live 0xbf000000 (P)
fsr_stl 240012 7 - Live 0xbf04e000 (P)
rfs 73968 5 - Live 0xbf08a000 (P)
samdrv 5647608 29 - Live 0xbf09e000 (P)
sdpGMAC 14532 0 - Live 0xbf602000
usbcore 89492 6 dummy_hcd,rt3572sta,usb_storage,ohci_hcd,ehci_hcd, Live 0xbf607000
ehci_hcd 23564 0 - Live 0xbf61e000
ohci_hcd 14980 0 - Live 0xbf625000
usb_storage 23808 3 - Live 0xbf62a000
rt3572sta 659412 0 - Live 0xbf631000 (P)
fb 22128 1 vfb, Live 0xbf6d3000
fb_sys_fops 896 1 vfb, Live 0xbf6da000
syscopyarea 2432 1 vfb, Live 0xbf6dc000
sysfillrect 2528 1 vfb, Live 0xbf6de000
sysimgblt 1600 1 vfb, Live 0xbf6e0000
vfb 2376 0 - Live 0xbf6e2000
dummy_hcd 12356 1 g_file_storage, Live 0xbf6e4000
g_file_storage 18984 0 - Live 0xbf6e9000
fuse 30900 0 - Live 0xbf6ef000
# ll /dev/f*
crwxr-xr-x 1 501 100 1, 7 Sep 15 2009 /dev/full
#
# ntfs-3g /dtv/stor/ntfsimg /dtv/ntfs
Failed to create '/dev/fuse': Read-only file system
ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root
(with a real ntfs usb-pendrive)
# ntfs-3g /dev/sdd1 /dtv/usb/sdd1
Failed to create '/dev/fuse': Read-only file system
ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root
Re: [App] NTFS: writable! for D series (arm)
Posted: Sun Jan 19, 2014 9:02 am
by juusso
you forgot to add SGO.env as source and unmount already mounted read only partition first.
Code: Select all
source /dtv/SGO.env
umount -lf /dtv/usb/sdd1
ntfs-3g /dev/sdd1 /dtv/usb/sdd1
Haven`t you?
p.s. and if you are running SamyGO Extensions, i advice to enable fuse.init script
Re: [App] NTFS: writable! for D series (arm)
Posted: Sun Jan 19, 2014 4:04 pm
by beatfreak
fuse.init is enabled, as you can see in lsmod output the fuse module was already loaded, but no fuse device in /dev
uhmm, probably because fuse.init creates the nod at /dtv/fuse and ntfs-3g expects it at /dev/fuse...
should it be
Code: Select all
. /dtv/SGO.env
or
source /dtv/SGO.env
?
so for testing i created
Code: Select all
# cat /dtv/nmount.sh
#!/bin/sh
#
#
. /dtv/SGO.env
case $1 in
start)
echo $SYSROOT
source /dtv/SGO.env
ntfs-3g /dtv/mnt/ntfsimg /dtv/ntfs
;;
stop)
$SYSROOT/bin/busybox umount /dtv/ntfs
;;
status)
;;
*)
echo "Usage: $0 {start|stop}" 1>&2
exit 0
;;
esac
#
# ./nmount.sh start
/mtd_rwcommon/SamyGO
ntfs-3g: Failed to access volume '/dtv/mnt/ntfsimg': No such file or directory
ntfs-3g 2009.4.4 integrated FUSE 27 - Third Generation NTFS Driver
Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2009 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson
Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point>
Options: ro (read-only mount), remove_hiberfile, 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
Ntfs-3g news, support and information: http://ntfs-3g.org
#
# /mtd_wiselink/SamyGO/bin/busybox mount 10.10.10.10:/stor /dtv/mnt -o soft,udp,nolock,async
# ./nmount.sh start
/mtd_rwcommon/SamyGO
Failed to create '/dev/fuse': Read-only file system
ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root
#
Re: [App] NTFS: writable! for D series (arm)
Posted: Sun Jan 19, 2014 4:32 pm
by juusso
its same ^^
a dot "." is alias of
source, set in SGO.env
No idea about fuse problem ATM, ntfs3g works on B and D series as is, with fuse node in /dtv/fuse
Re: [App] NTFS: writable! for D series (arm)
Posted: Sun Jan 19, 2014 4:36 pm
by beatfreak
recompiling ntfs-3g to use /dtv/fuse instead of /dev/fuse ?
or are there hidden parameters to tell ntfs-3g where it should look?
the binaries for external fuse are down
viewtopic.php?f=24&t=3510