📄 ntfs-3g.8.in
字号:
.\" Copyright (c) 2005-2006 Yura Pakhuchiy..\" Copyright (c) 2005 Richard Russon..\" Copyright (c) 2006-2007 Szabolcs Szakacsits..\" This file may be copied under the terms of the GNU Public License..\".TH NTFS-3G 8 "March 2007" "ntfs-3g @VERSION@".SH NAMEntfs-3g \- Third Generation Read/Write NTFS Driver.SH SYNOPSIS.B ntfs-3g.I device mount_point[\fB\-o options\fR].br.B mount \-t ntfs-3g.I device mount_point[\fB\-o options\fR].SH DESCRIPTION\fBntfs-3g\fR is an NTFS driver, which cancreate, remove, rename, move files, directories, hard links, andstreams; 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 readcompressed files..SS Access handling, securityBy default, files and directories are owned by the effective user and group of the mounting process and everybody hasfull read, write, execution and directory browsing permissions.If you want to use permissions handling then use the.B uidand/or the.B gid options together with the .B umask,or.B fmaskand.B dmaskoptions..PPWindows users have full access to the files created by .B ntfs-3g..PPIf .B ntfs-3g is set setuid-root then non-root users will be also able to mount block devices or via /etc/fstab if the 'user'or 'users' .BR mount (8)option is specified. The.B ntfs-3g process drops the root privilege after successful mount and runs unprivileged afterwards..SS Alternate Data Streams (ADS)All data on NTFS is stored in streams. Every file has exactly one unnameddata stream and can have many named data streams. The size of a file is thesize of its unnamed data stream. By default, \fBntfs-3g\fR will only readthe unnamed data stream..PPBy using the options "streams_interface=windows", you will be able to readany named data streams, simply by specifying the stream's name after a colon.For example:.RS.spcat some.mp3:artist.sp.RENamed data streams act like normals files, so you can read from them, write tothem and even delete them (using rm). You can list all the named data streamsa file has by getting the "ntfs.streams.list" extended attribute..SH OPTIONSBelow is a summary of the options that \fBntfs-3g\fR accepts..TP\fBuid=\fP\fIvalue\fP and \fBgid=\fP\fIvalue\fPSet the owner and the group of files and directories. The values are numerical.The defaults are the uid and gid of the current process..TP.BI umask= valueSet the bitmask of the file and directory permissions that are notpresent. The value is given in octal. The default value is 0 whichmeans full access to everybody..TP.BI fmask= valueSet the bitmask of the file permissions that are not present. The value is given in octal. The default value is 0 whichmeans full access to everybody..TP.BI dmask= valueSet the bitmask of the directory permissions that are notpresent. The value is given in octal. The default value is 0 whichmeans full access to everybody..TP.B roMount filesystem read\-only..TP.BI locale= valueYou can set locale with this option which is often required to make visible files with national charaters. It's useful if the locale environment variables are not set before partitions had been mounted from /etc/fstab..TP.B forceForce mount even if the volume is scheduled for consistency check.Use this option with caution and preferably with the.B rooption..TP.B show_sys_filesShow the system files in directory listings. Otherwise the default behaviour is to hide the system files.Please note that even when this option is specified, "$MFT"may not be visible due to a glibc bug.Furthermore, irrespectively of show_sys_files, allfiles are accessible by name, for example you can always do"ls \-l '$UpCase'"..TP.B allow_otherThis option overrides the security measure restricting file accessto the user mounting the filesystem. This option is onlyallowed to root, but this restriction can be overridden by the 'user_allow_other' option in the /etc/fuse.conf file..TP.B large_readIssue large read requests. This can improve performance for somefilesystems, but can also degrade performance. This option is mostlyuseful on 2.4.X kernels, as on 2.6 kernels requests size isautomatically determined for optimum performance..TP.BI max_read= valueWith this option the maximum size of read operations can be set.The default is infinite. Note that the size of read requests islimited anyway to 32 pages (which is 128kbyte on i386)..TP.B silentDo nothing on chmod and chown operations, but do not return error. This option is on by default..TP.B no_def_optsBy default ntfs-3g acts as "silent,allow_other" was passed to it,this option cancel this behaviour..TP.BI streams_interface= valueThis option controls how the user can access Alternate Data Streams (ADS)or in other words, named data streams. It can be setto, one of \fBnone\fR, \fBwindows\fR or \fBxattr\fR. If the option is set to\fBnone\fR, the user will have no access to the named data streams. If it's setto \fBwindows\fR, then the user can access them just like in Windows (eg. catfile:stream). If it's set to \fBxattr\fR, then the named data streams aremapped to xattrs and user can manipulate them using \fB{get,set}fattr\fRutilities. The default is \fBnone\fR..TP.B debugMakes ntfs-3g to not detach from terminal and print a lot of debug output fromlibntfs-3g and FUSE..TP.B no_detachSame as above but with less debug output..SH EXAMPLESMount /dev/hda1 to /mnt/windows:.RS.sp.B ntfs-3g /dev/hda1 /mnt/windows.sp.REor.RS.sp.B mount -t ntfs-3g /dev/hda1 /mnt/windows.sp.RERead\-only mount /dev/hda5 to /home/user/mnt and make user with uid 1000 to be the owner of all files:.RS.sp.B ntfs-3g /dev/hda5 /home/user/mnt \-o ro,uid=1000.sp.RE/etc/fstab entry for the above:.RS.sp.B /dev/hda5 /home/user/mnt ntfs\-3g ro,uid=1000 0 0.sp.REUnmount /mnt/windows:.RS.sp.B umount /mnt/windows.sp.REYou can also unmount /mnt/windows with fusermount:.RS.sp.B fusermount \-u /mnt/windows.sp.RE.SH KNOWN ISSUESPlease see .RS.sphttp://www.ntfs-3g.org/support.html.sp.REfor common questions and known issues.If you would find a new one in the latest release ofthe software then please send an email describing itin detail. You can contact the development team on the ntfs\-3g\-devel@lists.sf.netaddress..SH AUTHORS.B ntfs-3g was based on and a major improvement to ntfsmount and libntfs which werewritten by Yura Pakhuchiy and the Linux-NTFS team. The improvements were made, the ntfs-3g project was initiated and currently led by long time Linux-NTFS team developer Szabolcs Szakacsits (szaka@sienet.hu) to revivethe stalled open source development and project management..SH THANKSSeveral people made heroic efforts, often over five or moreyears which resulted the ntfs-3g driver. Most importantly they are Anton Altaparmakov, Richard Russon, Szabolcs Szakacsits, Yura Pakhuchiy,Yuval Fledel, and the author of the groundbreaking FUSE filesystem development framework, Miklos Szeredi..SH SEE ALSO.BR ntfsprogs (8),.BR attr (5),.BR getfattr (1)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -