NMT:NTFS: Difference between revisions

From Lundman Wiki
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
== NTFS-3G ==
== NTFS-3G ==


When I get time this needs to be cleaned up, all required files should be places in one tarball, and using the NMT installer script to install. A little helper program that listens for remote-control command Eject to umount would be nice as well.
'''Currently it is recommended you install NTFS via the CSI installer. So install CSI first, then simply select the ntfs-3g package'''


Also, real life examples instead of my guessed text output is needed.
I compiled FUSE and NTFS-3G for NMT platform and wrapped it in a shell script that waits for Eject button to be pushed on the remote control. It will then swap between NTFS (read-only) and NTFS-3G (read/write), and back again if you push Eject again.


1) Enable telnetd http://lundman.net/wiki/index.php/NMT:telnetd
To manually try it, follow these steps:
2) Get ldvd package and untar http://www.lundman.net/ftp/nmt/ldvd-1.2.tar.gz
3) Get ntfs-3g binary: http://www.lundman.net/ftp/nmt/ntfs-3g-1.2506-nmt
4) Run "mount" or "df" to see current mount point, for example:
/dev/hda3 on /opt/sybhttpd/localhost.drives/USB_DRIVE_A type ntfs (ro)
5) Make sure your PATH has "fusermount" on it.
# export PATH=$PATH:/opt/sybhttpd/localhost.drives/HARD_DISK/Apps/ldvd
# fusermount
fusermount: missing mountpoint argument
(good, it finds it)
'''6) load kernel module (only once each boot needed)'''
'''# insmod fuse.ko'''
7) Unmount the old ntfs:
# umount /opt/sybhttpd/localhost.drives/USB_DRIVE_A
8) Mount it read/write:
# ntfs-3g /dev/hda3 /opt/sybhttpd/localhost.drives/USB_DRIVE_A
If it was not-clean, you can use # ntfs-3g -o force /dev/hda3 /opt/sybhttpd/localhost.drives/USB_DRIVE_A


But this is important when you use it read/write. You must unmount it cleanly when you are finished.
cd /tmp  (or /share/Apps for HDDs)
wget http://lundman.net/ftp/nmt/nmt_ntfs3g.tar.gz
tar -zxvf nmt_ntfs3g.tar.gz
cd nmt_ntfs3g
./ntfs_helper &


9) unmount
The mount type should be indicated on the name. Currently it only changes USB_DRIVE_ names to NTFS, if you are using other attached storage in NTFS, please let me know of the names to modify.
umount /opt/sybhttpd/localhost.drives/USB_DRIVE_A
 
User ike260 on NMT forums confirm that this binary also works on AZBOX HD cable STB.

Latest revision as of 07:37, 7 January 2010

NTFS-3G

Currently it is recommended you install NTFS via the CSI installer. So install CSI first, then simply select the ntfs-3g package

I compiled FUSE and NTFS-3G for NMT platform and wrapped it in a shell script that waits for Eject button to be pushed on the remote control. It will then swap between NTFS (read-only) and NTFS-3G (read/write), and back again if you push Eject again.

To manually try it, follow these steps:

cd /tmp   (or /share/Apps for HDDs)
wget http://lundman.net/ftp/nmt/nmt_ntfs3g.tar.gz
tar -zxvf nmt_ntfs3g.tar.gz
cd nmt_ntfs3g
./ntfs_helper &

The mount type should be indicated on the name. Currently it only changes USB_DRIVE_ names to NTFS, if you are using other attached storage in NTFS, please let me know of the names to modify.

User ike260 on NMT forums confirm that this binary also works on AZBOX HD cable STB.