NMT:NTFS: Difference between revisions

From Lundman Wiki
No edit summary
 
No edit summary
Line 1: Line 1:
== NTFS-3G ==
== NTFS-3G ==


Line 20: Line 19:
  7) Mount it read/write:
  7) Mount it read/write:
  # ntfs-3g /dev/hda3 /opt/sybhttpd/localhost.drives/USB_DRIVE_A
  # 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.
But this is important when you use it read/write. You must unmount it cleanly when you are finished.

Revision as of 01:09, 14 January 2009

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.

Also, real life examples instead of my guessed text output is needed.

1) Enable telnetd http://lundman.net/wiki/index.php/NMT:telnetd
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) Unmount the old ntfs:
# umount /opt/sybhttpd/localhost.drives/USB_DRIVE_A
7) 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.

8) unmount
umount /opt/sybhttpd/localhost.drives/USB_DRIVE_A