man ntfs 3g Command

Man page for apt-get ntfs 3g Command

Man Page for ntfs 3g in Linux

Ubuntu Man Command : man ntfs 3g

Man Ntfs 3g  Command

This tutorial shows the man page for man ntfs 3g in linux.

Open terminal with 'su' access and type the command as shown below:
man ntfs 3g

Result of the Command Execution shown below:

NTFS 3G(8)                                                                                                                                                NTFS 3G(8)

ntfs 3g Third Generation Read/Write NTFS Driver

ntfs 3g volume mount_point [ o option[,...]]
mount t ntfs 3g volume mount_point [ o option[,...]]

ntfs 3g is an NTFS driver, which can create, remove, rename, move files, directories, hard links, and streams; it can read and write files, including streams
and sparse files; it can handle special files like symbolic links, devices, and FIFOs; moreover it can also read and create transparently compressed files.

The volume to be mounted can be either a block device or an image file.

Access Handling and Security
By default, files and directories are owned by the effective user and group of the mounting process and everybody has full read, write, execution and direc Äê
tory browsing permissions. You can also assign permissions to a single user by using the uid and/or the gid options together with the umask, or fmask and
dmask options.

Doing so, Windows users have full access to the files created by ntfs 3g.

But, by defining a Windows to Linux user mapping in the file .NTFS 3G/UserMapping, you can benefit from the full ownership and permissions features as
defined by Posix and those ownership and permissions will be applied to Windows users and conversely.

If ntfs 3g is set setuid root then non root users will be also able to mount volumes.

Windows Filename Compatibility
NTFS supports several filename namespaces: DOS, Win32 and POSIX. While the ntfs 3g driver handles all of them, it always creates new files in the POSIX
namespace for maximum portability and interoperability reasons. This means that filenames are case sensitive and all characters are allowed except '/' and
''. This is perfectly legal on Windows, though some application may get confused. If you find so then please report it to the developer of the relevant
Windows software.

Alternate Data Streams (ADS)
NTFS stores all data in streams. Every file has exactly one unnamed data stream and can have many named data streams. The size of a file is the size of its
unnamed data stream. By default, ntfs 3g will only read the unnamed data stream.

By using the options "streams_interface=windows", you will be able to read any named data streams, simply by specifying the stream's name after a colon. For

cat some.mp3:artist

Named data streams act like normal files, so you can read from them, write to them and even delete them (using rm). You can list all the named data streams
a file has by getting the "ntfs.streams.list" extended attribute.

Below is a summary of the options that ntfs 3g accepts.

uid=value and gid=value
Set the owner and the group of files and directories. The values are numerical. The defaults are the uid and gid of the current process.

Set the bitmask of the file and directory permissions that are not present. The value is given in octal. The default value is 0 which means full
access to everybody.

Set the bitmask of the file permissions that are not present. The value is given in octal. The default value is 0 which means full access to every Äê

Set the bitmask of the directory permissions that are not present. The value is given in octal. The default value is 0 which means full access to

usermapping=file name
Use file file name as the user mapping file instead of the default .NTFS 3G/UserMapping. If file name defines a full path, the file must be located on
a partition previously mounted. If it defines a relative path, it is interpreted relative to the root of NTFS partition being mounted.

When a user mapping file is defined, the options uid=, gid=, umask=, fmask=, dmask= and dsilent= are ignored.

Use standard access control. This option requires either a user mapping file to be present, or the options uid= and gid= of a user to be defined. This
option is set by default when a user mapping file or an ownership related option is present.

When creating a new file, set its initial ownership and protections according to inheritance rules defined in parent directory. These rules deviate
from Posix specifications, but yield a better Windows compatibility. A valid user mapping file is required for this option to be effective.

ro Mount filesystem read only. Useful if Windows is hibernated or the NTFS journal file is unclean.

This option can be useful when wanting a language specific locale environment. It is however discouraged as it leads to files with untranslatable
chars to not be visible. Please see more information about this topic at http://ntfs

Related Topics

Apt Get Commands