2006-10-31 06:32:48 +08:00
|
|
|
|
|
|
|
INTRODUCTION
|
|
|
|
============
|
|
|
|
|
2009-10-14 18:22:30 +08:00
|
|
|
The NTFS-3G driver is an open source, freely available read/write NTFS driver
|
2009-11-14 01:27:53 +08:00
|
|
|
for Linux, FreeBSD, Mac OS X, NetBSD, OpenSolaris, QNX and Haiku. It provides
|
|
|
|
safe and fast handling of the Windows XP, Windows Server 2003, Windows 2000,
|
|
|
|
Windows Vista, Windows Server 2008 and Windows 7 file systems.
|
|
|
|
|
|
|
|
The purpose of the project is to develop, quality assurance and support a
|
|
|
|
trustable, featureful and high performance solution for hardware platforms
|
|
|
|
and operating systems whose users need to reliably interoperate with NTFS.
|
|
|
|
Besides this practical goal, the project also aims to explore the limits
|
|
|
|
of the hybrid, kernel/user space filesystem driver approach, performance,
|
|
|
|
reliability and feature richness per invested effort wise.
|
|
|
|
|
|
|
|
Besides the common file system features, NTFS-3G has support for file
|
|
|
|
ownership and permissions, POSIX ACLs, junction points, extended attributes
|
|
|
|
and creating compressed files. Parameter files in the directory .NTFS-3G may
|
|
|
|
be required to enable them, please get the instructions from
|
2006-10-31 06:32:48 +08:00
|
|
|
|
2009-10-14 18:22:30 +08:00
|
|
|
http://www.tuxera.com/community/ntfs-3g-advanced/
|
2006-10-31 06:32:48 +08:00
|
|
|
|
2007-02-21 04:14:19 +08:00
|
|
|
News, support answers, problem submission instructions, support and discussion
|
|
|
|
forums, performance numbers and other information are available on the project
|
|
|
|
web site at
|
|
|
|
|
2009-11-14 01:27:53 +08:00
|
|
|
http://www.tuxera.com/community/
|
2006-10-31 06:32:48 +08:00
|
|
|
|
|
|
|
|
|
|
|
QUICK INSTALLATION
|
|
|
|
==================
|
2009-10-14 18:22:30 +08:00
|
|
|
|
|
|
|
Linux: Make sure you have the basic development tools and the kernel includes
|
|
|
|
the FUSE kernel module. Then unpack the source tarball and type:
|
2006-10-31 06:32:48 +08:00
|
|
|
|
|
|
|
./configure
|
|
|
|
make
|
|
|
|
make install # or 'sudo make install' if you aren't root.
|
|
|
|
|
2010-12-21 22:56:27 +08:00
|
|
|
Please note that NTFS-3G doesn't require the FUSE user space package any
|
|
|
|
more.
|
2009-10-14 18:22:30 +08:00
|
|
|
|
2011-04-09 00:13:25 +08:00
|
|
|
The list of options for building specific configurations is displayed by
|
|
|
|
typing :
|
|
|
|
|
|
|
|
./configure --help
|
|
|
|
|
|
|
|
Below are a few specific options to ./configure :
|
|
|
|
--disable-ntfsprogs : do not build the ntfsprogs tools,
|
|
|
|
--enable-posix-acls : enable support for Posix ACLs
|
|
|
|
--enable-xattr-mappings : enable system extended attributes mappings
|
|
|
|
--with-fuse=external : use external fuse (overriding Linux default)
|
|
|
|
|
2011-07-05 18:17:11 +08:00
|
|
|
There are also a few make targets for building parts :
|
|
|
|
make libntfs : only build the libntfs-3g library
|
|
|
|
make libs : only build libntfs-3g (and libfuse-lite, if relevant)
|
|
|
|
make drivers : only build drivers and libraries, without ntfsprogs
|
|
|
|
make ntfsprogs : only build ntfsprogs and libntfs-3g, without drivers
|
|
|
|
|
2009-11-14 01:27:53 +08:00
|
|
|
Non-Linux: Please see
|
|
|
|
|
|
|
|
http://www.tuxera.com/community/ntfs-3g-download/
|
|
|
|
|
2010-12-21 22:56:27 +08:00
|
|
|
for known OS specific installation and source packages, but generally
|
|
|
|
the same procedures apply.
|
2006-10-31 06:32:48 +08:00
|
|
|
|
|
|
|
USAGE
|
|
|
|
=====
|
|
|
|
|
|
|
|
If there was no error during installation then the NTFS volume can be
|
2009-10-14 18:22:30 +08:00
|
|
|
read-write mounted for everybody the following way as the root user
|
|
|
|
(unmount the volume if it was already mounted, and replace /dev/sda1
|
|
|
|
and /mnt/windows, if needed):
|
2006-10-31 06:32:48 +08:00
|
|
|
|
2009-10-14 18:22:30 +08:00
|
|
|
mount -t ntfs-3g /dev/sda1 /mnt/windows
|
2007-02-07 03:25:55 +08:00
|
|
|
or
|
2009-10-14 18:22:30 +08:00
|
|
|
ntfs-3g /dev/sda1 /mnt/windows
|
2006-10-31 06:32:48 +08:00
|
|
|
|
|
|
|
Please see the ntfs-3g manual page for more options and examples.
|
|
|
|
|
|
|
|
You can also make NTFS to be mounted during boot by putting the below
|
2009-11-14 01:27:53 +08:00
|
|
|
line at the END(!) of the /etc/fstab file:
|
2006-10-31 06:32:48 +08:00
|
|
|
|
2009-10-14 18:22:30 +08:00
|
|
|
/dev/sda1 /mnt/windows ntfs-3g defaults 0 0
|
2009-11-14 01:27:53 +08:00
|
|
|
|
2010-12-21 22:56:27 +08:00
|
|
|
|
|
|
|
TESTING WITHOUT INSTALLING
|
|
|
|
=========================
|
|
|
|
|
|
|
|
Newer versions of ntfs-3g can be tested without installing anything and
|
|
|
|
without disturbing an existing installation. Just configure and make as
|
|
|
|
shown previously. This will create the scripts ntfs-3g and lowntfs-3g
|
|
|
|
in the src directory, which you may activate for testing :
|
|
|
|
|
|
|
|
./configure
|
|
|
|
make
|
|
|
|
|
|
|
|
then, as root :
|
|
|
|
src/ntfs-3g [-o mount-options] /dev/sda1 /mnt/windows
|
|
|
|
|
|
|
|
And, to end the test, unmount the usual way :
|
|
|
|
umount /dev/sda1
|
|
|
|
|
|
|
|
|
2010-12-13 21:49:39 +08:00
|
|
|
NTFS UTILITIES
|
2002-08-23 02:09:47 +08:00
|
|
|
==============
|
|
|
|
|
2006-01-08 21:30:42 +08:00
|
|
|
The ntfsprogs includes utilities for doing all required tasks to NTFS
|
|
|
|
partitions. In general, just run a utility without any command line
|
2002-08-23 02:09:47 +08:00
|
|
|
options to display the version number and usage syntax.
|
|
|
|
|
|
|
|
The following utilities are so far implemented:
|
|
|
|
|
2006-01-08 21:30:42 +08:00
|
|
|
ntfsfix - Attempt to fix an NTFS partition and force Windows to check NTFS.
|
2002-08-23 02:09:47 +08:00
|
|
|
|
2004-03-09 20:38:51 +08:00
|
|
|
mkntfs - Format a partition with the NTFS filesystem. See man 8 mkntfs for
|
2002-08-23 02:09:47 +08:00
|
|
|
command line options.
|
|
|
|
|
2004-03-09 20:38:51 +08:00
|
|
|
ntfslabel - Display/change the label of an NTFS partition. See man 8 ntfslabel
|
2002-08-23 02:09:47 +08:00
|
|
|
for details.
|
|
|
|
|
2004-03-09 20:38:51 +08:00
|
|
|
ntfsundelete - Recover deleted files from an NTFS volume. See man 8
|
2002-08-23 02:09:47 +08:00
|
|
|
ntfsundelete for more details.
|
2002-12-10 19:53:41 +08:00
|
|
|
|
2004-03-09 20:38:51 +08:00
|
|
|
ntfsresize - Resize NTFS volumes. See man 8 ntfsresize for details.
|
2002-12-10 19:53:41 +08:00
|
|
|
|
2004-03-09 20:38:51 +08:00
|
|
|
ntfsclone - Efficiently create/restore an image of an NTFS partition. See
|
2003-09-30 17:42:38 +08:00
|
|
|
man 8 ntfsclone for details.
|
|
|
|
|
|
|
|
ntfscluster - Locate the owner of any given sector or cluster on an NTFS
|
2004-03-09 20:38:51 +08:00
|
|
|
partition. See man 8 ntfscluster for details.
|
2003-09-30 17:42:38 +08:00
|
|
|
|
|
|
|
ntfsinfo - Show some information about an NTFS partition or one of the files
|
2004-03-09 20:38:51 +08:00
|
|
|
or directories within it. See man 8 ntfsinfo for details.
|
2003-09-30 17:42:38 +08:00
|
|
|
|
|
|
|
ntfsls - List information about files in a directory residing on an NTFS
|
2004-03-09 20:38:51 +08:00
|
|
|
partition. See man 8 ntfsls for details.
|
2003-09-30 17:42:38 +08:00
|
|
|
|
2003-10-23 20:41:17 +08:00
|
|
|
ntfscat - Concatenate files and print their contents on the standard output.
|
2005-06-20 22:31:30 +08:00
|
|
|
|
|
|
|
ntfscp - Overwrite files on an NTFS partition.
|