1 .\" Copyright (c) 1996 Andries Brouwer
3 .\" This page is somewhat derived from a page that was
4 .\" (c) 1980, 1989, 1991 The Regents of the University of California
5 .\" and had been heavily modified by Rik Faith and myself.
6 .\" (Probably no BSD text remains.)
7 .\" Fragments of text were written by Werner Almesberger, Remy Card,
8 .\" Stephen Tweedie and Eric Youngdale.
10 .\" This is free documentation; you can redistribute it and/or
11 .\" modify it under the terms of the GNU General Public License as
12 .\" published by the Free Software Foundation; either version 2 of
13 .\" the License, or (at your option) any later version.
15 .\" The GNU General Public License's references to "object code"
16 .\" and "executables" are to be interpreted as the output of any
17 .\" document formatting or typesetting system, including
18 .\" intermediate and printed output.
20 .\" This manual is distributed in the hope that it will be useful,
21 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
22 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 .\" GNU General Public License for more details.
25 .\" You should have received a copy of the GNU General Public
26 .\" License along with this manual; if not, write to the Free
27 .\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
30 .\" 960705, aeb: version for mount-2.7g
31 .\" 970114, aeb: xiafs and ext are dead; romfs is new
32 .\" 970623, aeb: -F option
33 .\" 970914, reg: -s option
34 .\" 981111, K.Garloff: /etc/filesystems
35 .\" 990111, aeb: documented /sbin/mount.smbfs
36 .\" 990730, Yann Droneaud <lch@multimania.com>: updated page
37 .\" 991214, Elrond <Elrond@Wunder-Nett.org>: added some docs on devpts
39 .TH MOUNT 8 "14 September 1997" "Linux 2.0" "Linux Programmer's Manual"
41 mount \- mount a file system
45 .BI "mount \-a [\-fFnrsvw] [\-t " vfstype ]
47 .BI "mount [\-fnrsvw] [\-o " options " [,...]] " "device " | " dir"
49 .BI "mount [\-fnrsvw] [\-t " vfstype "] [\-o " options "] " "device dir"
51 All files accessible in a Unix system are arranged in one big
52 tree, the file hierarchy, rooted at
54 These files can be spread out over several devices. The
56 command serves to attach the file system found on some device
57 to the big file tree. Conversely, the
59 command will detach it again.
61 The standard form of the
66 .BI "mount \-t" " type device dir"
68 This tells the kernel to attach the file system found on
74 The previous contents (if any) and owner and mode of
76 become invisible, and as long as this file system remains mounted,
79 refers to the root of the file system on
82 Three forms of invocation do not actually mount anything:
87 prints a help message;
92 prints a version string; and just
94 .BI "mount [-l] [-t" " type" ]
96 lists all mounted file systems (of type
98 The option \-l adds the (ext2 and XFS) labels in this listing.
101 .\" In fact since 2.3.99. At first the syntax was mount -t bind.
102 Since Linux 2.4.0 it is possible to remount part of the
103 file hierarchy somewhere else. The call is
106 .B "mount --bind olddir newdir"
111 file system is not associated with a special device, and when
112 mounting it, an arbitrary keyword, such as
114 can be used instead of a device specification.
115 (The customary choice
117 is less fortunate: the error message `none busy' from
121 Most devices are indicated by a file name (of a block special device), like
123 but there are other possibilities. For example, in the case of an NFS mount,
126 .IR knuth.cwi.nl:/dir .
127 It is possible to indicate a block special device using its
128 volume label or UUID (see the \-L and \-U options below).
134 may contain lines describing what devices are usually
135 mounted where, using which options. This file is used in three ways:
140 .BI "mount \-a [-t" " type" ]
142 (usually given in a bootscript) causes all file systems mentioned in
144 (of the proper type) to be mounted as indicated, except for those
145 whose line contains the
149 option will make mount fork, so that the
150 filesystems are mounted simultaneously.
152 (ii) When mounting a file system mentioned in
154 it suffices to give only the device, or only the mount point.
156 (iii) Normally, only the superuser can mount file systems.
161 option on a line, then anybody can mount the corresponding system.
166 .B "/dev/cdrom /cd iso9660 ro,user,noauto,unhide"
168 any user can mount the iso9660 file system found on his CDROM
172 .B "mount /dev/cdrom"
179 For more details, see
181 Only the user that mounted a filesystem can unmount it again.
182 If any user should be able to unmount, then use
191 option is similar to the
193 option, with the restriction that the user must be the owner
194 of the special file. This may be useful e.g. for
196 if a login script makes the console user owner of this device.
202 maintain a list of currently mounted file systems in the file
204 If no arguments are given to
206 this list is printed.
209 filesystem is mounted (say at
215 have very similar contents. The former has somewhat
216 more information, such as the mount options used,
217 but is not necessarily up-to-date (cf. the
219 option below). It is possible to replace
221 by a symbolic link to
223 but some information is lost that way, and in particular
224 working with the loop device will be less convenient. Also,
225 pathnames containing spaces are handled correctly by
231 The full set of options used by an invocation of
233 is determined by first extracting the
234 options for the file system from the
236 table, then applying any options specified by the
238 argument, and finally applying a
240 option, when present.
242 Options available for the
250 Print a help message.
256 Mount all filesystems (of the given types) mentioned in
260 (Used in conjunction with
262 Fork off a new incarnation of mount for each device.
263 This will do the mounts on different devices or different NFS servers
265 This has the advantage that it is faster; also NFS timeouts go in
266 parallel. A disadvantage is that the mounts are done in undefined order.
267 Thus, you cannot use this option if you want to mount both
273 Causes everything to be done except for the actual system call; if it's not
274 obvious, this ``fakes'' mounting the file system. This option is useful in
277 flag to determine what the
279 command is trying to do. It can also be used to add entries for devices
280 that were mounted earlier with the -n option.
283 Add the ext2 and XFS labels in the mount output. Mount must have permission to
284 read the disk device (e.g. be suid root) for this to work.
285 One can set such a label for ext2 using the
287 utility, or for XFS using
291 Mount without writing in
293 This is necessary for example when
295 is on a read-only file system.
298 Tolerate sloppy mount options rather than failing. This will ignore
299 mount options not supported by a filesystem type. Not all filesystems
300 support this option. This option exists for support of the Linux
301 autofs\-based automounter.
304 Mount the file system read-only. A synonym is
308 Mount the file system read/write. This is the default. A synonym is
312 Mount the partition that has the specified
316 Mount the partition that has the specified
318 These two options require the file
320 (present since Linux 2.1.116) to exist.
323 The argument following the
325 is used to indicate the file system type. The file system types which are
326 currently supported are:
357 Note that coherent, sysv and xenix are equivalent and that
361 will be removed at some point in the future \(em use
363 instead. Since kernel version 2.1.21 the types
367 do not exist anymore.
369 For most types all the
371 program has to do is issue a simple
373 system call, and no detailed knowledge of the filesystem type is required.
374 For a few types however (like nfs, smbfs, ncpfs) ad hoc code is
375 necessary. The nfs ad hoc code is built in, but smbfs and ncpfs
376 have a separate mount program. In order to make it possible to
377 treat all types in a uniform way, mount will execute the program
379 (if that exists) when called with type
381 Since various versions of the
383 program have different calling conventions,
385 may have to be a shell script that sets up the desired call.
389 is the default. If no
391 option is given, or if the
393 type is specified, the superblock is probed for the filesystem type
394 .RI ( minix ", " ext ", " ext2 ", " xiafs ", " iso9660 ", " romfs
395 .RI , ufs ", " ntfs ", " qnx4 ", " bfs ", " xfs ", " cramfs ", " hfs
398 If this probe fails, mount will try to read the file
399 .IR /etc/filesystems ,
400 or, if that does not exist,
401 .IR /proc/filesystems .
402 All of the filesystem types listed there will be tried,
403 except for those that are labeled "nodev" (e.g.,
411 type may be useful for user-mounted floppies.
414 can be useful to change the probe order (e.g., to try vfat before msdos)
415 or if you use a kernel module autoloader.
416 Warning: the probing uses a heuristic (the presence of appropriate `magic'),
417 and could recognize the wrong filesystem type.
419 More than one type may be specified in a comma separated
420 list. The list of file system types can be prefixed with
422 to specify the file system types on which no action should be taken.
423 (This can be meaningful with the
427 For example, the command:
430 .B "mount \-a \-t nomsdos,ext"
432 mounts all file systems except those of type
439 Options are specified with a
441 flag followed by a comma separated string of options.
442 Some of these options are only useful when they appear in the
444 file. The following options apply to any file system that is being
449 All I/O to the file system should be done asynchronously.
452 Update inode access time for each access. This is the default.
455 Can be mounted with the
461 .BR rw ", " suid ", " dev ", " exec ", " auto ", " nouser ", and " async.
464 Interpret character or block special devices on the file system.
467 Permit execution of binaries.
470 Do not update inode access times on this file system (e.g, for faster
471 access on the news spool to speed up news servers).
474 Can only be mounted explicitly (i.e., the
476 option will not cause the file system to be mounted).
479 Do not interpret character or block special devices on the file
483 Do not allow execution of any binaries on the mounted file system.
484 This option might be useful for a server that has file systems containing
485 binaries for architectures other than its own.
488 Do not allow set-user-identifier or set-group-identifier bits to take
489 effect. (This seems safe, but is in fact rather unsafe if you have
490 suidperl(1) installed.)
493 Forbid an ordinary (i.e., non-root) user to mount the file system.
497 Attempt to remount an already-mounted file system. This is commonly
498 used to change the mount flags for a file system, especially to make a
499 readonly file system writeable. It does not change device or mount point.
502 Mount the file system read-only.
505 Mount the file system read-write.
508 Allow set-user-identifier or set-group-identifier bits to take
512 All I/O to the file system should be done synchronously.
515 Allow an ordinary user to mount the file system. This option implies
517 .BR noexec ", " nosuid ", and " nodev
518 (unless overridden by subsequent options, as in the option line
519 .BR user,exec,dev,suid ).
522 .SH "FILESYSTEM SPECIFIC MOUNT OPTIONS"
523 The following options apply only to certain file systems.
524 We sort them by file system. They all follow the
527 .SH "Mount options for adfs"
529 \fBuid=\fP\fIvalue\fP and \fBgid=\fP\fIvalue\fP
530 Set the owner and group of the files in the file system (default: uid=gid=0).
532 \fBownmask=\fP\fIvalue\fP and \fBothmask=\fP\fIvalue\fP
533 Set the permission mask for ADFS 'owner' permissions and 'other' permissions,
534 respectively (default: 0700 and 0077, respectively).
536 .IR /usr/src/linux/Documentation/filesystems/adfs.txt .
537 .SH "Mount options for affs"
539 \fBuid=\fP\fIvalue\fP and \fBgid=\fP\fIvalue\fP
540 Set the owner and group of the root of the file system (default: uid=gid=0,
545 without specified value, the uid and gid of the current process are taken).
547 \fBsetuid=\fP\fIvalue\fP and \fBsetgid=\fP\fIvalue\fP
548 Set the owner and group of all files.
551 Set the mode of all files to
553 disregarding the original permissions.
554 Add search permission to directories that have read permission.
555 The value is given in octal.
558 Do not allow any changes to the protection bits on the file system.
561 Set uid and gid of the root of the file system to the uid and gid
562 of the mount point upon the first sync or umount, and then
563 clear this option. Strange...
566 Print an informational message for each successful mount.
569 Prefix used before volume name, when following a link.
572 Prefix (of length at most 30) used before '/' when following a symbolic link.
575 (Default: 2.) Number of unused blocks at the start of the device.
578 Give explicitly the location of the root block.
581 Give blocksize. Allowed values are 512, 1024, 2048, 4096.
583 .BR grpquota " / " noquota " / " quota " / " usrquota
584 These options are accepted but ignored.
586 .SH "Mount options for coherent"
589 .SH "Mount options for devpts"
590 The devpts file system is a pseudo file system, traditionally mounted on
592 In order to acquire a pseudo terminal, a process opens
594 the number of the pseudo terminal is then made available to the process
595 and the pseudo terminal slave can be accessed as
596 .IR /dev/pts/ <number>.
598 \fBuid=\fP\fIvalue\fP and \fBgid=\fP\fIvalue\fP
599 This sets the owner or the group of newly created PTYs to
600 the specified values. When nothing is specified, they will
601 be set to the UID and GID of the creating process.
602 For example, if there is a tty group with GID 5, then
604 will cause newly created PTYs to belong to the tty group.
607 Set the mode of newly created PTYs to the specified value.
613 makes "mesg y" the default on newly created PTYs.
615 .SH "Mount options for ext"
617 Note that the `ext' file system is obsolete. Don't use it.
618 Since Linux version 2.1.21 extfs is no longer part of the kernel source.
620 .SH "Mount options for ext2"
621 The `ext2' file system is the standard Linux file system.
622 Due to a kernel bug, it may be mounted with random mount options
623 (fixed in Linux 2.0.4).
625 .BR bsddf " / " minixdf
626 Set the behaviour for the
630 behaviour is to return in the
632 field the total number of blocks of the file system, while the
634 behaviour (which is the default) is to subtract the overhead blocks
635 used by the ext2 file system and not available for file storage. Thus
639 % mount /k -o minixdf; df /k; umount /k
640 Filesystem 1024-blocks Used Available Capacity Mounted on
641 /dev/sda6 2630655 86954 2412169 3% /k
642 % mount /k -o bsddf; df /k; umount /k
643 Filesystem 1024-blocks Used Available Capacity Mounted on
644 /dev/sda6 2543714 13 2412169 0% /k
647 (Note that this example shows that one can add command line options
648 to the options given in
652 .BR check " / " check=normal " / " check=strict
653 Set checking level. When at least one of these options is set (and
655 is set by default) the inodes and blocks bitmaps are checked upon mount
656 (which can take half a minute or so on a big disk, and is rather useless).
657 With strict checking, block deallocation checks that the block to free
660 .BR check=none " / " nocheck
661 No checking is done. This is fast. Recent kernels do not have a
662 check option anymore - checking with
667 Print debugging info upon each (re)mount.
669 .BR errors=continue " / " errors=remount-ro " / " errors=panic
670 Define the behaviour when an error is encountered.
671 (Either ignore errors and just mark the file system erroneous and continue,
672 or remount the file system read-only, or panic and halt the system.)
673 The default is set in the filesystem superblock, and can be
677 .BR grpid " or " bsdgroups " / " nogrpid " or " sysvgroups
678 These options define what group id a newly created file gets.
681 is set, it takes the group id of the directory in which it is created;
682 otherwise (the default) it takes the fsgid of the current process, unless
683 the directory has the setgid bit set, in which case it takes the gid
684 from the parent directory, and also gets the setgid bit set
685 if it is a directory itself.
687 \fBresgid=\fP\fIn\fP and \fBresuid=\fP\fIn\fP
688 The ext2 file system reserves a certain percentage of the available
689 space (by default 5%, see
693 These options determine who can use the reserved blocks.
694 (Roughly: whoever has the specified uid, or belongs to the specified group.)
697 Instead of block 1, use block
699 as superblock. This could be useful when the filesystem has been damaged.
700 (Earlier, copies of the superblock would be made every 8192 blocks: in
701 block 1, 8193, 16385, ... (and one got hundreds or even thousands
702 of copies on a big filesystem). Since version 1.08,
704 has a \-s (sparse superblock) option to reduce the number of backup
705 superblocks, and since version 1.15 this is the default. Note
706 that this may mean that ext2 filesystems created by a recent
708 cannot be mounted r/w under Linux 2.0.*.)
710 .BR grpquota " / " noquota " / " quota " / " usrquota
711 These options are accepted but ignored.
713 .SH "Mount options for fat"
716 is not a separate filesystem, but a common part of the
723 .BR blocksize=512 " / " blocksize=1024 " / " blocksize=2048
724 Set blocksize (default 512).
726 \fBuid=\fP\fIvalue\fP and \fBgid=\fP\fIvalue\fP
727 Set the owner and group of all files. (Default: the uid and gid
728 of the current process.)
731 Set the umask (the bitmask of the permissions that are
733 present). The default is the umask of the current process.
734 The value is given in octal.
737 Three different levels of pickyness can be chosen:
741 Upper and lower case are accepted and equivalent, long name parts are
743 .I verylongname.foobar
746 leading and embedded spaces are accepted in each name part (name and extension).
749 Like "relaxed", but many special characters (*, ?, <, spaces, etc.) are
750 rejected. This is the default.
753 Like "normal", but names may not contain long parts and special characters
754 that are sometimes used on Linux, but are not accepted by MS-DOS are
755 rejected. (+, =, spaces, etc.)
759 Sets the codepage for converting to shortname characters on FAT
760 and VFAT filesystems. By default, codepage 437 is used.
762 .BR conv=b[inary] " / " conv=t[ext] " / " conv=a[uto]
765 file system can perform CRLF<-->NL (MS-DOS text format to UNIX text
766 format) conversion in the kernel. The following conversion modes are
771 no translation is performed. This is the default.
774 CRLF<-->NL translation is performed on all files.
777 CRLF<-->NL translation is performed on all files that don't have a
778 "well-known binary" extension. The list of known extensions can be found at
781 (as of 2.0, the list is: exe, com, bin, app, sys, drv, ovl, ovr, obj,
782 lib, dll, pif, arc, zip, lha, lzh, zoo, tar, z, arj, tz, taz, tzp, tpz,
783 gz, tgz, deb, gif, bmp, tif, gl, jpg, pcx, tfm, vf, gf, pk, pxl, dvi).
785 Programs that do computed lseeks won't like in-kernel text conversion.
786 Several people have had their data ruined by this translation. Beware!
788 For file systems mounted in binary mode, a conversion tool
789 (fromdos/todos) is available.
792 .BI cvf_format= module
793 Forces the driver to use the CVF (Compressed Volume File) module
795 instead of auto-detection. If the kernel supports kmod, the
796 cvf_format=xxx option also controls on-demand CVF module loading.
798 .BI cvf_option= option
799 Option passed to the CVF module.
804 flag. A version string and a list of file system parameters will be
805 printed (these data are also printed if the parameters appear to be
808 .BR fat=12 " / " fat=16 " / " fat=32
809 Specify a 12, 16 or 32 bit fat. This overrides
810 the automatic FAT type detection routine. Use with caution!
813 Character set to use for converting between 8 bit characters
814 and 16 bit Unicode characters. The default is iso8859-1.
815 Long filenames are stored on disk in Unicode format.
820 flag. Attempts to chown or chmod files do not return errors,
821 although they fail. Use with caution!
823 .B "sys_immutable, showexec, dots, nodots, dotsOK=[yes|no]"
824 Various misguided attempts to force Unix or DOS conventions
825 onto a FAT file system.
827 .SH "Mount options for hpfs"
829 \fBuid=\fP\fIvalue\fP and \fBgid=\fP\fIvalue\fP
830 Set the owner and group of all files. (Default: the uid and gid
831 of the current process.)
834 Set the umask (the bitmask of the permissions that are
836 present). The default is the umask of the current process.
837 The value is given in octal.
839 .BR case=lower " / " case=asis
840 Convert all files names to lower case, or leave them.
844 .BR conv=binary " / " conv=text " / " conv=auto
847 delete some random CRs (in particular, all followed by NL)
851 choose more or less at random between
852 .BR conv=binary " and " conv=text .
855 just read what is in the file. This is the default.
858 Do not abort mounting when certain consistency checks fail.
860 .SH "Mount options for iso9660"
863 filenames appear in a 8.3 format (i.e., DOS-like restrictions on filename
864 length), and in addition all characters are in upper case. Also there is
865 no field for file ownership, protection, number of links, provision for
866 block/character devices, etc.
868 Rock Ridge is an extension to iso9660 that provides all of these unix like
869 features. Basically there are extensions to each directory record that
870 supply all of the additional information, and when Rock Ridge is in use,
871 the filesystem is indistinguishable from a normal UNIX file system (except
872 that it is read-only, of course).
875 Disable the use of Rock Ridge extensions, even if available. Cf.\&
879 Disable the use of Microsoft Joliet extensions, even if available. Cf.\&
882 .BR check=r[elaxed] " / " check=s[trict]
885 a filename is first converted to lower case before doing the lookup.
886 This is probably only meaningful together with
893 \fBuid=\fP\fIvalue\fP and \fBgid=\fP\fIvalue\fP
894 Give all files in the file system the indicated user or group id,
895 possibly overriding the information found in the Rock Ridge extensions.
899 .BR map=n[ormal] " / " map=o[ff] " / " map=a[corn]
900 For non-Rock Ridge volumes, normal name translation maps upper
901 to lower case ASCII, drops a trailing `;1', and converts `;' to `.'.
904 no name translation is done. See
911 but also apply Acorn extensions if present.
914 For non-Rock Ridge volumes, give all files the indicated mode.
915 (Default: read permission for everybody.)
916 Since Linux 2.1.37 one no longer needs to specify the mode in
917 decimal. (Octal is indicated by a leading 0.)
920 Also show hidden and associated files.
922 .B block=[512|1024|2048]
923 Set the block size to the indicated value.
927 .BR conv=a[uto] " / " conv=b[inary] " / " conv=m[text] " / " conv=t[ext]
930 Since Linux 1.3.54 this option has no effect anymore.
931 (And non-binary settings used to be very dangerous,
932 possibly leading to silent data corruption.)
935 If the high byte of the file length contains other garbage,
936 set this mount option to ignore the high order bits of the file length.
937 This implies that a file cannot be larger than 16MB.
938 The `cruft' option is set automatically if the entire CDROM
939 has a weird size (negative, or more than 800MB). It is also
940 set when volume sequence numbers other than 0 or 1 are seen.
943 Select number of session on multisession CD. (Since 2.3.4.)
946 Session begins from sector xxx. (Since 2.3.4.)
948 .SH "Mount options for minix"
951 .SH "Mount options for msdos"
952 See mount options for fat.
955 file system detects an inconsistency, it reports an error and sets the file
956 system read-only. The file system can be made writeable again by remounting
959 .SH "Mount options for ncp"
962 implementation expects a binary argument (a
963 .IR "struct ncp_mount_data" )
964 to the mount system call. This argument is constructed by
966 and the current version of
968 (2.6h) does not know anything about ncp.
970 .SH "Mount options for nfs"
971 Instead of a textual option string, parsed by the kernel, the
973 file system expects a binary argument of type
974 .IR "struct nfs_mount_data" .
977 itself parses the following options of the form `tag=value',
978 and puts them in the structure mentioned:
999 is accepted but ignored.
1000 Also the following Boolean options, possibly preceded by
1017 Especially useful options include
1019 .B rsize=8192,wsize=8192
1020 This will make your nfs connection much faster than with the default
1021 buffer size of 1024. (NFSv2 does not work with larger values of
1027 The program accessing a file on a NFS mounted file system will hang
1028 when the server crashes. The process cannot be interrupted or
1029 killed unless you also specify
1031 When the NFS server is back online the program will continue undisturbed
1032 from where it was. This is probably what you want.
1035 This option allows the kernel to time out if the nfs server is not
1036 responding for some time. The time can be
1039 This option might be useful if your nfs server sometimes doesn't respond
1040 or will be rebooted while some process tries to get a file from the server.
1041 Usually it just causes lots of trouble.
1044 Do not use locking. Do not start lockd.
1046 .SH "Mount options for ntfs"
1049 Character set to use when returning file names.
1050 Unlike VFAT, NTFS suppresses names that contain
1051 unconvertible characters.
1054 Use UTF-8 for converting file names.
1056 .B uni_xlate=[0|1|2]
1057 For 0 (or `no' or `false') or 1 (or `yes' or `true'):
1058 use the VFAT-style encoding for file names outside the current
1059 character set. A value of 2 will disable the encoding with ":".
1062 If enabled (posix=1), the file system distinguishes between
1063 upper and lower case. The 8.3 alias names are presented as
1064 hard links instead of being suppressed.
1066 \fBuid=\fP\fIvalue\fP, \fBgid=\fP\fIvalue\fP and \fBumask=\fP\fIvalue\fP
1067 Set the file permission on the filesystem.
1068 By default, the files are owned by root and not readable by somebody else.
1070 .SH "Mount options for proc"
1072 \fBuid=\fP\fIvalue\fP and \fBgid=\fP\fIvalue\fP
1073 These options are recognized, but have no effect as far as I can see.
1075 .SH "Mount options for romfs"
1078 .SH "Mount options for smbfs"
1080 .IR nfs ", the " smb
1081 implementation expects a binary argument (a
1082 .IR "struct smb_mount_data" )
1083 to the mount system call. This argument is constructed by
1085 and the current version of
1087 (2.9w) does not know anything about smb.
1089 .SH "Mount options for sysv"
1092 .SH "Mount options for udf"
1095 Set the default group.
1098 Set the default umask.
1101 Set the default user.
1104 Show otherwise hidden files.
1107 Show deleted files in lists.
1110 Set strict conformance (unused).
1119 Set the block size. (May not work unless 2048.)
1122 Skip volume sequence recognition.
1125 Set the CDROM session counting from 0. Default: last session.
1128 Override standard anchor location. Default: 256.
1131 Override the VolumeDesc location. (unused)
1134 Override the PartitionDesc location. (unused)
1137 Set the last block of the filesystem.
1140 Override the fileset block location. (unused)
1143 Override the root directory location. (unused)
1145 .SH "Mount options for ufs"
1148 UFS is a file system widely used in different operating systems.
1149 The problem are differences among implementations. Features of some
1150 implementations are undocumented, so its hard to recognize the
1151 type of ufs automatically.
1152 That's why user must specify the type of ufs by mount option.
1153 Possible values are:
1157 Old format of ufs, this is the default, read only.
1160 For filesystems created by a BSD-like system (NetBSD,FreeBSD,OpenBSD).
1163 For filesystems created by SunOS or Solaris on Sparc.
1166 For filesystems created by Solaris on x86.
1169 For filesystems created by NeXTStep (on NeXT station) (currently read only).
1172 For NextStep CDROMs (block_size == 2048), read-only.
1175 For filesystems created by OpenStep (currently read only).
1180 Set behaviour on error:
1184 If an error is encountered, cause a kernel panic.
1186 .B [lock|umount|repair]
1187 These mount options don't do anything at present;
1188 when an error is encountered only a console message is printed.
1191 .SH "Mount options for umsdos"
1192 See mount options for msdos.
1195 option is explicitly killed by
1198 .SH "Mount options for vfat"
1199 First of all, the mount options for
1204 option is explicitly killed by
1206 Furthermore, there are
1209 Translate unhandled Unicode characters to special escaped sequences.
1210 This lets you backup and restore filenames that are created with any
1211 Unicode characters. Without this option, a '?' is used when no
1212 translation is possible. The escape character is ':' because it is
1213 otherwise illegal on the vfat filesystem. The escape sequence
1214 that gets used, where u is the unicode character,
1215 is: ':', (u & 0x3f), ((u>>6) & 0x3f), (u>>12).
1218 Allow two files with names that only differ in case.
1221 First try to make a short name without sequence number,
1226 UTF8 is the filesystem safe 8-bit encoding of Unicode that is used
1227 by the console. It can be be enabled for the filesystem with this option.
1228 If `uni_xlate' gets set, UTF8 gets disabled.
1230 .SH "Mount options for xenix"
1233 .SH "Mount options for xfs"
1236 Sets the preferred buffered I/O size (default size is 64K).
1238 must be expressed as the logarithm (base2) of the desired I/O size.
1239 Valid values for this option are 14 through 16, inclusive
1240 (i.e. 16K, 32K, and 64K bytes).
1241 On machines with a 4K pagesize, 13 (8K bytes) is also a valid
1243 The preferred buffered I/O size can also be altered on an individual
1244 file basis using the
1249 Enable the DMAPI (Data Management API) event callouts.
1252 Set the number of in-memory log buffers.
1253 Valid numbers range from 2-8 inclusive.
1254 The default value is 8 buffers for filesystems with a blocksize of 64K,
1255 4 buffers for filesystems with a blocksize of 32K,
1256 3 buffers for filesystems with a blocksize of 16K,
1257 and 2 buffers for all other configurations.
1258 Increasing the number of buffers may increase performance on
1259 some workloads at the cost of the memory used for the
1260 additional log buffers and their associated control structures.
1263 Set the size of each in-memory log buffer.
1264 Valid sizes are 16384 (16K) and 32768 (32K).
1265 The default value for machines with more than 32MB of memory is 32768,
1266 machines with less memory use 16384 by default.
1268 \fBlogdev=\fP\fIdevice\fP and \fBrtdev=\fP\fIdevice\fP
1269 Use an external log (metadata journal) and/or real-time device.
1270 An XFS filesystem has up to three parts: a data section, a log section,
1271 and a real-time section.
1272 The real-time section is optional, and the log section can be separate
1273 from the data section or contained within it.
1278 Data allocations will not be aligned at stripe unit boundaries.
1281 Access timestamps are not updated when a file is read.
1284 The filesystem will be mounted without running log recovery.
1285 If the filesystem was not cleanly unmounted, it is likely to
1286 be inconsistent when mounted in
1289 Some files or directories may not be accessible because of this.
1292 must be mounted read-only or the mount will fail.
1295 Make writes to files opened with the O_SYNC flag set behave
1296 as if the O_DSYNC flag had been used instead.
1297 This can result in better performance without compromising
1299 However if this option is in effect, timestamp updates from
1300 O_SYNC writes can be lost if the system crashes.
1302 .BR quota " / " usrquota " / " uqnoenforce
1303 User disk quota accounting enabled, and limits (optionally) enforced.
1305 .BR grpquota " / " gqnoenforce
1306 Group disk quota accounting enabled and limits (optionally) enforced.
1308 \fBsunit=\fP\fIvalue\fP and \fBswidth=\fP\fIvalue\fP
1309 Used to specify the stripe unit and width for a RAID device or a stripe
1312 must be specified in 512-byte block units.
1313 If this option is not specified and the filesystem was made on a stripe
1314 volume or the stripe width or unit were specified for the RAID device at
1315 mkfs time, then the mount system call will restore the value from the
1317 For filesystems that are made directly on RAID devices, these options can be
1318 used to override the information in the superblock if the underlying disk
1319 layout changes after the filesystem has been created.
1322 option is required if the
1324 option has been specified,
1325 and must be a multiple of the
1329 .SH "Mount options for xiafs"
1330 None. Although nothing is wrong with xiafs, it is not used much,
1331 and is not maintained. Probably one shouldn't use it.
1332 Since Linux version 2.1.21 xiafs is no longer part of the kernel source.
1334 .SH "THE LOOP DEVICE"
1335 One further possible type is a mount via the loop device. For example,
1339 .B " mount /tmp/fdimage /mnt -t msdos -o loop=/dev/loop3,blocksize=1024"
1342 will set up the loop device
1344 to correspond to the file
1346 and then mount this device on
1348 This type of mount knows about three options, namely
1349 .BR loop ", " offset " and " encryption ,
1350 that are really options to
1352 If no explicit loop device is mentioned
1353 (but just an option `\fB\-o loop\fP' is given), then
1355 will try to find some unused loop device and use that.
1356 If you are not so unwise as to make
1360 then any loop device allocated by
1364 You can also free a loop device by hand, using `losetup -d', see
1372 table of mounted file systems
1395 It is possible for a corrupted file system to cause a crash.
1397 Some Linux file systems don't support
1401 support synchronous updates (a la BSD) when mounted with the
1407 may not be able to change mount parameters (all
1408 .IR ext2fs -specific
1411 are changeable with a remount, for example, but you can't change
1420 command existed in Version 5 AT&T UNIX.