tar -xvzopf ntfs-yymmdd.tgz, then enter the right directory with
cd ntfs. Edit linux.mk to fit your desires (NTFS_DEVICE and MOUNT_POINT are respectively the default NTFS partition and mount point). Then just type
make linux. Now you should have, among the NTFS tools (ntdir, ntdump, ...), the NTFS module. Copy it as root to your module directory, using something like
cp ntfs.o /lib/modules/2.x.yy/fsand if you have kerneld, do
depmod -ain order it to find the module next time it will be asked to load it.
insmod ntfs. Then, type as usually
mount -t ntfs <your NTFS partition> <your mount point>
echo "3" > /proc/sys/fs/ntfs-debugto enable the logging of full debug information in your system logs, and
echo "0" > /proc/sys/fs/ntfs-debugto disable it. Note that if you use the driver as a module, you can also set this value at load-time using the ntdebug parameter with a value of 0 to 3.
ntdir foo/bar --longand look at the decimal number just at the left of file. It is always 5 for the root directory.
ntdump -i x, and stop the dump with Control-C.
ntdump -i 7, stops the dump with Control-C, and read the byte at the offset 40.
ntdump -i 0 -c z, and stop the dump with Control-C.
ntdump -i x --mft