2004-11-03 13:51:07 +00:00
|
|
|
.\" Copyright 1996 Daniel Quinlan (Daniel.Quinlan@linux.org)
|
|
|
|
.\"
|
|
|
|
.\" This is free documentation; you can redistribute it and/or
|
|
|
|
.\" modify it 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.
|
|
|
|
.\"
|
|
|
|
.\" The GNU General Public License's references to "object code"
|
|
|
|
.\" and "executables" are to be interpreted as the output of any
|
|
|
|
.\" document formatting or typesetting system, including
|
|
|
|
.\" intermediate and printed output.
|
|
|
|
.\"
|
|
|
|
.\" This manual is distributed in the hope that it will be useful,
|
|
|
|
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
.\" GNU General Public License for more details.
|
|
|
|
.\"
|
|
|
|
.\" You should have received a copy of the GNU General Public
|
|
|
|
.\" License along with this manual; if not, write to the Free
|
|
|
|
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
|
|
|
|
.\" USA.
|
|
|
|
.\"
|
2007-12-14 08:37:30 +00:00
|
|
|
.\" 2007-12-14 mtk Added Reiserfs, XFS, JFS.
|
2007-12-14 13:27:50 +00:00
|
|
|
.\"
|
2010-05-24 12:48:17 +00:00
|
|
|
.TH FILESYSTEMS 5 2010-05-24 "Linux" "Linux Programmer's Manual"
|
2004-11-03 13:51:07 +00:00
|
|
|
.nh
|
|
|
|
.SH NAME
|
2010-05-24 12:48:17 +00:00
|
|
|
filesystems \- Linux file-system types: minix, ext, ext2, ext3, ext4, Reiserfs,
|
2007-12-14 08:37:30 +00:00
|
|
|
XFS, JFS, xia, msdos,
|
2010-05-24 12:48:17 +00:00
|
|
|
umsdos, vfat, ntfs, proc, nfs, iso9660, hpfs, sysv, smb, ncpfs
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH DESCRIPTION
|
|
|
|
When, as is customary, the
|
|
|
|
.B proc
|
2008-03-19 07:26:08 +00:00
|
|
|
file system is mounted on
|
2004-11-03 13:51:07 +00:00
|
|
|
.IR /proc ,
|
|
|
|
you can find in the file
|
|
|
|
.I /proc/filesystems
|
2008-03-19 07:26:08 +00:00
|
|
|
which file systems your kernel currently supports.
|
2004-11-03 13:51:07 +00:00
|
|
|
If you need a currently unsupported one, insert the corresponding
|
|
|
|
module or recompile the kernel.
|
|
|
|
|
2008-03-19 07:26:08 +00:00
|
|
|
In order to use a file system, you have to
|
2004-11-03 13:51:07 +00:00
|
|
|
.I mount
|
2007-12-14 08:37:30 +00:00
|
|
|
it; see
|
|
|
|
.BR mount (8).
|
2004-11-03 13:51:07 +00:00
|
|
|
|
2008-03-19 07:26:08 +00:00
|
|
|
Below a short description of a few of the available file systems.
|
2007-12-14 08:37:30 +00:00
|
|
|
.TP 10
|
2004-11-03 13:51:07 +00:00
|
|
|
.B "minix"
|
2008-03-19 07:26:08 +00:00
|
|
|
is the file system used in the Minix operating system, the first to run
|
2007-04-12 22:42:49 +00:00
|
|
|
under Linux.
|
|
|
|
It has a number of shortcomings: a 64MB partition size
|
2008-03-18 09:52:36 +00:00
|
|
|
limit, short filenames, a single timestamp, etc.
|
2004-11-03 13:51:07 +00:00
|
|
|
It remains useful for floppies and RAM disks.
|
|
|
|
.TP
|
|
|
|
.B ext
|
|
|
|
is an elaborate extension of the
|
|
|
|
.B minix
|
2008-03-19 07:26:08 +00:00
|
|
|
file system.
|
2007-04-12 22:42:49 +00:00
|
|
|
It has been completely superseded by the second version
|
2008-03-19 07:26:08 +00:00
|
|
|
of the extended file system
|
2004-11-03 13:51:07 +00:00
|
|
|
.RB ( ext2 )
|
|
|
|
and has been removed from the kernel (in 2.1.21).
|
|
|
|
.TP
|
|
|
|
.B ext2
|
2008-03-19 07:26:08 +00:00
|
|
|
is the high performance disk file system used by Linux for fixed disks
|
2004-11-03 13:51:07 +00:00
|
|
|
as well as removable media.
|
2008-03-19 07:26:08 +00:00
|
|
|
The second extended file system was designed as an extension of the
|
2004-11-03 13:51:07 +00:00
|
|
|
extended file system
|
|
|
|
.RB ( ext ).
|
|
|
|
.B ext2
|
|
|
|
offers the best performance (in terms of speed and CPU usage) of
|
2008-03-19 07:26:08 +00:00
|
|
|
the file systems supported under Linux.
|
2004-11-03 13:51:07 +00:00
|
|
|
.TP
|
|
|
|
.B ext3
|
2008-03-19 07:26:08 +00:00
|
|
|
is a journaling version of the ext2 file system.
|
2007-04-12 22:42:49 +00:00
|
|
|
It is easy to
|
2004-11-03 13:51:07 +00:00
|
|
|
switch back and forth between ext2 and ext3.
|
|
|
|
.TP
|
2010-05-24 12:48:17 +00:00
|
|
|
.B ext4
|
|
|
|
is a set of upgrades to ext3 including substantial performance and
|
|
|
|
reliability enhancements,
|
|
|
|
plus large increases in volume, file, and directory size limits.
|
|
|
|
.TP
|
2007-12-14 08:37:30 +00:00
|
|
|
.B Reiserfs
|
|
|
|
is a journaling file system, designed by Hans Reiser,
|
|
|
|
that was integrated into Linux in kernel 2.4.1.
|
|
|
|
.TP
|
|
|
|
.B XFS
|
|
|
|
is a journaling file system, developed by SGI,
|
|
|
|
that was integrated into Linux in kernel 2.4.20.
|
|
|
|
.TP
|
|
|
|
.B JFS
|
|
|
|
is a journaling file system, developed by IBM,
|
|
|
|
that was integrated into Linux in kernel 2.4.24.
|
|
|
|
.TP
|
2004-11-03 13:51:07 +00:00
|
|
|
.B xiafs
|
2008-03-19 07:26:08 +00:00
|
|
|
was designed and implemented to be a stable, safe file system by
|
|
|
|
extending the Minix file system code.
|
2007-04-12 22:42:49 +00:00
|
|
|
It provides the basic most
|
2004-11-03 13:51:07 +00:00
|
|
|
requested features without undue complexity.
|
|
|
|
The
|
|
|
|
.B xia
|
2008-03-19 07:26:08 +00:00
|
|
|
file system is no longer actively developed or maintained.
|
2004-11-03 13:51:07 +00:00
|
|
|
It was removed from the kernel in 2.1.21.
|
|
|
|
.TP
|
|
|
|
.B msdos
|
2008-03-19 07:26:08 +00:00
|
|
|
is the file system used by DOS, Windows, and some OS/2 computers.
|
2004-11-03 13:51:07 +00:00
|
|
|
.B msdos
|
|
|
|
filenames can be no longer than 8 characters, followed by an
|
|
|
|
optional period and 3 character extension.
|
|
|
|
.TP
|
|
|
|
.B umsdos
|
2008-03-19 07:26:08 +00:00
|
|
|
is an extended DOS file system used by Linux.
|
2007-04-12 22:42:49 +00:00
|
|
|
It adds capability for
|
2004-11-03 13:51:07 +00:00
|
|
|
long filenames, UID/GID, POSIX permissions, and special files
|
2008-03-19 07:26:08 +00:00
|
|
|
(devices, named pipes, etc.) under the DOS file system, without
|
2004-11-03 13:51:07 +00:00
|
|
|
sacrificing compatibility with DOS.
|
|
|
|
.TP
|
|
|
|
.B vfat
|
2008-03-19 07:26:08 +00:00
|
|
|
is an extended DOS file system used by Microsoft Windows95 and Windows NT.
|
|
|
|
VFAT adds the capability to use long filenames under the MSDOS file system.
|
2004-11-03 13:51:07 +00:00
|
|
|
.TP
|
2010-05-24 12:48:17 +00:00
|
|
|
.B ntfs
|
|
|
|
replaces Microsoft Window's FAT file systems (VFAT, FAT32).
|
|
|
|
It has reliability, performance, and space-utilization enhancements
|
|
|
|
plus features like ACLs, journaling, encryption, and so on.
|
|
|
|
.TP
|
2004-11-03 13:51:07 +00:00
|
|
|
.B proc
|
2008-03-19 07:26:08 +00:00
|
|
|
is a pseudo file system which is used as an interface to kernel data
|
2004-11-03 13:51:07 +00:00
|
|
|
structures rather than reading and interpreting
|
|
|
|
.IR /dev/kmem .
|
2007-04-12 22:42:49 +00:00
|
|
|
In particular, its files do not take disk space.
|
|
|
|
See
|
2005-10-19 14:48:35 +00:00
|
|
|
.BR proc (5).
|
2004-11-03 13:51:07 +00:00
|
|
|
.TP
|
|
|
|
.B iso9660
|
2008-03-19 07:26:08 +00:00
|
|
|
is a CD-ROM file system type conforming to the ISO 9660 standard.
|
2004-11-03 13:51:07 +00:00
|
|
|
.RS
|
|
|
|
.TP
|
|
|
|
.B "High Sierra"
|
|
|
|
Linux supports High Sierra, the precursor to the ISO 9660 standard for
|
2008-03-19 07:26:08 +00:00
|
|
|
CD-ROM file systems.
|
2007-04-12 22:42:49 +00:00
|
|
|
It is automatically recognized within the
|
2004-11-03 13:51:07 +00:00
|
|
|
.B iso9660
|
2008-03-19 07:26:08 +00:00
|
|
|
file-system support under Linux.
|
2004-11-03 13:51:07 +00:00
|
|
|
.TP
|
|
|
|
.B "Rock Ridge"
|
|
|
|
Linux also supports the System Use Sharing Protocol records specified
|
2007-04-12 22:42:49 +00:00
|
|
|
by the Rock Ridge Interchange Protocol.
|
|
|
|
They are used to further describe the files in the
|
2004-11-03 13:51:07 +00:00
|
|
|
.B iso9660
|
intro.1, time.1, accept.2, bind.2, connect.2, execve.2, flock.2, getdents.2, getpriority.2, getuid.2, intro.2, ioctl.2, mincore.2, mknod.2, personality.2, ptrace.2, read.2, recv.2, select_tut.2, send.2, sendfile.2, shmctl.2, sigaction.2, signal.2, stat.2, times.2, truncate.2, umask.2, wait.2, MB_CUR_MAX.3, MB_LEN_MAX.3, argz_add.3, btowc.3, clearenv.3, clock.3, cmsg.3, end.3, endian.3, errno.3, exit.3, fgetwc.3, fgetws.3, fopen.3, fputwc.3, fputws.3, fseek.3, fwide.3, getfsent.3, getgrnam.3, gethostid.3, getipnodebyname.3, getmntent.3, getpwnam.3, getwchar.3, grantpt.3, iconv.3, iconv_close.3, iconv_open.3, insque.3, intro.3, iswalnum.3, iswalpha.3, iswblank.3, iswcntrl.3, iswctype.3, iswdigit.3, iswgraph.3, iswlower.3, iswprint.3, iswpunct.3, iswspace.3, iswupper.3, iswxdigit.3, malloc.3, mblen.3, mbrlen.3, mbrtowc.3, mbsinit.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mbtowc.3, mkstemp.3, mktemp.3, nl_langinfo.3, openpty.3, posix_openpt.3, printf.3, ptsname.3, putwchar.3, qecvt.3, rcmd.3, readdir.3, rexec.3, rpc.3, setnetgrent.3, shm_open.3, sigpause.3, stdin.3, stpcpy.3, strftime.3, strptime.3, syslog.3, towctrans.3, towlower.3, towupper.3, ttyslot.3, ungetwc.3, unlocked_stdio.3, wcpcpy.3, wcpncpy.3, wcrtomb.3, wcscasecmp.3, wcscat.3, wcschr.3, wcscmp.3, wcscpy.3, wcscspn.3, wcsdup.3, wcslen.3, wcsncasecmp.3, wcsncat.3, wcsncmp.3, wcsncpy.3, wcsnlen.3, wcsnrtombs.3, wcspbrk.3, wcsrchr.3, wcsrtombs.3, wcsspn.3, wcsstr.3, wcstok.3, wcstombs.3, wcswidth.3, wctob.3, wctomb.3, wctrans.3, wctype.3, wcwidth.3, wmemchr.3, wmemcmp.3, wmemcpy.3, wmemmove.3, wmemset.3, wprintf.3, console_ioctl.4, pts.4, elf.5, filesystems.5, hosts.5, proc.5, ttytype.5, boot.7, capabilities.7, credentials.7, epoll.7, glob.7, koi8-r.7, path_resolution.7, pty.7, signal.7, suffixes.7, time.7, unicode.7, unix.7, uri.7, utf-8.7: global fix: s/Unix/UNIX/
The man pages were rather inconsistent in the use of "Unix"
versus "UNIX". Let's go with the trademark usage.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-12 04:45:38 +00:00
|
|
|
file system to a UNIX host, and provide information such as long
|
2007-04-12 22:42:49 +00:00
|
|
|
filenames, UID/GID, POSIX permissions, and devices.
|
|
|
|
It is automatically recognized within the
|
2004-11-03 13:51:07 +00:00
|
|
|
.B iso9660
|
2008-03-19 07:26:08 +00:00
|
|
|
file-system support under Linux.
|
2004-11-03 13:51:07 +00:00
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B hpfs
|
2007-04-12 22:42:49 +00:00
|
|
|
is the High Performance Filesystem, used in OS/2.
|
2008-03-19 07:26:08 +00:00
|
|
|
This file system is
|
2004-11-03 13:51:07 +00:00
|
|
|
read-only under Linux due to the lack of available documentation.
|
|
|
|
.TP
|
|
|
|
.B sysv
|
2008-03-19 07:26:08 +00:00
|
|
|
is an implementation of the SystemV/Coherent file system for Linux.
|
2007-04-12 22:42:49 +00:00
|
|
|
It implements all of Xenix FS, SystemV/386 FS, and Coherent FS.
|
2004-11-03 13:51:07 +00:00
|
|
|
.TP
|
|
|
|
.B nfs
|
2008-03-19 07:26:08 +00:00
|
|
|
is the network file system used to access disks located on remote computers.
|
2004-11-03 13:51:07 +00:00
|
|
|
.TP
|
|
|
|
.B smb
|
2008-03-19 07:26:08 +00:00
|
|
|
is a network file system that supports the SMB protocol, used by
|
2004-11-03 13:51:07 +00:00
|
|
|
Windows for Workgroups, Windows NT, and Lan Manager.
|
|
|
|
.sp
|
|
|
|
To use
|
|
|
|
.B smb
|
|
|
|
fs, you need a special mount program, which can be found in the ksmbfs
|
|
|
|
package, found at
|
|
|
|
.IR ftp://sunsite.unc.edu/pub/Linux/system/Filesystems/smbfs .
|
|
|
|
.TP
|
|
|
|
.B ncpfs
|
2008-03-19 07:26:08 +00:00
|
|
|
is a network file system that supports the NCP protocol, used by
|
2004-11-03 13:51:07 +00:00
|
|
|
Novell NetWare.
|
|
|
|
.sp
|
|
|
|
To use
|
|
|
|
.BR ncpfs ,
|
|
|
|
you need special programs, which can be found at
|
|
|
|
.IR ftp://linux01.gwdg.de/pub/ncpfs .
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR proc (5),
|
|
|
|
.BR fsck (8),
|
|
|
|
.BR mkfs (8),
|
|
|
|
.BR mount (8)
|