Go to file
Erik Larsson 9dee659190 ntfsrecover.c: Fix compiler warning about uninitialized 'savebuf' usage.
The previous fix for the warning referred to 'prevbuf' being used
uninitialized and this is also what the compiler says. However
initializing 'prevbuf' doesn't make the warning go away and further
testing revealed that it is really 'savebuf' being possibly used prior
to initialization that is the source of the warning (the incorrect
warning message is probably an optimization-related gcc bug). So replace
previous ineffective fix with explicit initialization of 'savebuf'.
2016-02-16 09:38:12 +01:00
include endians.h: Cast the result of const endianness macros to the right type. 2016-02-11 14:19:41 +01:00
libfuse-lite Ported clearing the environment when starting mount or umount 2015-06-01 12:48:43 +02:00
libntfs-3g Fix compiler warnings about mismatching printf format / argument type. 2016-02-16 09:30:49 +01:00
m4 fix build process: add m4/.keep 2009-10-03 08:00:54 +00:00
ntfsprogs ntfsrecover.c: Fix compiler warning about uninitialized 'savebuf' usage. 2016-02-16 09:38:12 +01:00
src Updated the drivers copyrights 2016-02-12 17:24:27 +01:00
AUTHORS Implemented backup/restoring of encrypted files (by Martin Bene) 2009-05-20 14:17:31 +00:00
autogen.sh Removed the automatic 'configure' that happens in autogen.sh. It was really annoying me. 2010-12-02 16:37:47 +01:00
ChangeLog Updated the references to changelog and source repository 2014-02-16 21:16:09 +01:00
configure.ac Version 2016.2.15 2016-02-15 16:32:03 +01:00
COPYING add COPYING file explicitely because autogen.sh doesn't create it automatic 2009-11-04 23:25:07 +00:00
COPYING.LIB add COPYING.LIB for fuse-lite 2009-10-04 01:54:39 +00:00
CREDITS Merge remote branch 'linux-ntfs/libntfs-3g_port' into PERMISSION_HANDLING_BRANCH 2010-12-15 17:12:30 +01:00
Makefile.am Got the target libs to build libntfs-3g and libfuse-lite if selected 2011-07-05 12:17:11 +02:00
NEWS Update ntfs-3g.org references 2011-03-27 15:29:48 +03:00
README Added a license section to the README file 2014-04-12 09:27:27 +02:00
TODO.ntfsprogs cosmetic : fixed improper wordings (hggdh2) 2011-09-28 16:41:12 +02:00

INTRODUCTION
============

The NTFS-3G driver is an open source, freely available read/write NTFS driver 
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

	http://www.tuxera.com/community/ntfs-3g-advanced/

News, support answers, problem submission instructions, support and discussion 
forums, performance numbers and other information are available on the project 
web site at

	http://www.tuxera.com/community/

LICENSES
========

All the NTFS related components : the file system drivers, the ntfsprogs
utilities and the shared library libntfs-3g are distributed under the terms
of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version. See the included file COPYING.

The fuse-lite library is distributed under the terms of the GNU LGPLv2.
See the included file COPYING.LIB.

QUICK INSTALLATION
==================

Linux: Make sure you have the basic development tools and the kernel includes 
the FUSE kernel module. Then unpack the source tarball and type:  

	./configure
	make
	make install      # or 'sudo make install' if you aren't root.

Please note that NTFS-3G doesn't require the FUSE user space package any
more.

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)

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

Non-Linux: Please see 

	http://www.tuxera.com/community/ntfs-3g-download/

for known OS specific installation and source packages, but generally
the same procedures apply.

USAGE
=====

If there was no error during installation then the NTFS volume can be
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):

	mount -t ntfs-3g /dev/sda1 /mnt/windows
or
	ntfs-3g /dev/sda1 /mnt/windows

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 
line at the END(!) of the /etc/fstab file:

	/dev/sda1 /mnt/windows ntfs-3g defaults 0 0


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


NTFS UTILITIES
==============

The ntfsprogs includes utilities for doing all required tasks to NTFS 
partitions.  In general, just run a utility without any command line
options to display the version number and usage syntax.

The following utilities are so far implemented:

ntfsfix - Attempt to fix an NTFS partition and force Windows to check NTFS.

mkntfs - Format a partition with the NTFS filesystem.  See man 8 mkntfs for
command line options.

ntfslabel - Display/change the label of an NTFS partition.  See man 8 ntfslabel
for details.

ntfsundelete - Recover deleted files from an NTFS volume.  See man 8
ntfsundelete for more details.

ntfsresize - Resize NTFS volumes.  See man 8 ntfsresize for details.

ntfsclone - Efficiently create/restore an image of an NTFS partition.  See
man 8 ntfsclone for details.

ntfscluster - Locate the owner of any given sector or cluster on an NTFS
partition.  See man 8 ntfscluster for details.

ntfsinfo - Show some information about an NTFS partition or one of the files
or directories within it.  See man 8 ntfsinfo for details.

ntfsls - List information about files in a directory residing on an NTFS
partition.  See man 8 ntfsls for details.

ntfscat - Concatenate files and print their contents on the standard output.

ntfscp - Overwrite files on an NTFS partition.