]> git.ipfire.org Git - thirdparty/util-linux.git/blob - sys-utils/mount.8
Manual pages: wording fix: "another" ==> "other"
[thirdparty/util-linux.git] / sys-utils / mount.8
1 .\" Copyright (c) 1996-2004 Andries Brouwer
2 .\" Copyright (C) 2006-2012 Karel Zak <kzak@redhat.com>
3 .\"
4 .\" This page is somewhat derived from a page that was
5 .\" (c) 1980, 1989, 1991 The Regents of the University of California
6 .\" and had been heavily modified by Rik Faith and myself.
7 .\" (Probably no BSD text remains.)
8 .\" Fragments of text were written by Werner Almesberger, Remy Card,
9 .\" Stephen Tweedie and Eric Youngdale.
10 .\"
11 .\" This is free documentation; you can redistribute it and/or
12 .\" modify it under the terms of the GNU General Public License as
13 .\" published by the Free Software Foundation; either version 2 of
14 .\" the License, or (at your option) any later version.
15 .\"
16 .\" The GNU General Public License's references to "object code"
17 .\" and "executables" are to be interpreted as the output of any
18 .\" document formatting or typesetting system, including
19 .\" intermediate and printed output.
20 .\"
21 .\" This manual is distributed in the hope that it will be useful,
22 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
23 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 .\" GNU General Public License for more details.
25 .\"
26 .\" You should have received a copy of the GNU General Public License along
27 .\" with this program; if not, write to the Free Software Foundation, Inc.,
28 .\" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
29 .\"
30 .TH MOUNT 8 "August 2015" "util-linux" "System Administration"
31 .SH NAME
32 mount \- mount a filesystem
33 .SH SYNOPSIS
34 .B mount
35 .RB [ \-l | \-h | \-V ]
36 .LP
37 .B mount \-a
38 .RB [ \-fFnrsvw ]
39 .RB [ \-t
40 .IR fstype ]
41 .RB [ \-O
42 .IR optlist ]
43 .LP
44 .B mount
45 .RB [ \-fnrsvw ]
46 .RB [ \-o
47 .IR options ]
48 .IR device | dir
49 .LP
50 .B mount
51 .RB [ \-fnrsvw ]
52 .RB [ \-t
53 .IB fstype ]
54 .RB [ \-o
55 .IR options ]
56 .I device dir
57 .SH DESCRIPTION
58 All files accessible in a Unix system are arranged in one big
59 tree, the file hierarchy, rooted at
60 .IR / .
61 These files can be spread out over several devices. The
62 .B mount
63 command serves to attach the filesystem found on some device
64 to the big file tree. Conversely, the
65 .BR umount (8)
66 command will detach it again. The filesystem is used to control how data is
67 stored on the device or provided in a virtual way by network or other services.
68
69 The standard form of the
70 .B mount
71 command is:
72 .RS
73
74 .br
75 .BI "mount \-t" " type device dir"
76 .br
77
78 .RE
79 This tells the kernel to attach the filesystem found on
80 .I device
81 (which is of type
82 .IR type )
83 at the directory
84 .IR dir .
85 The option \fB\-t \fItype\fR is optional. The
86 .B mount
87 command is usually able to detect a filesystem. The root permissions are necessary
88 to mount a filesystem by default. See section "Non-superuser mounts" below for more details.
89 The previous contents (if any) and owner and mode of
90 .I dir
91 become invisible, and as long as this filesystem remains mounted,
92 the pathname
93 .I dir
94 refers to the root of the filesystem on
95 .IR device .
96
97 If only the directory or the device is given, for example:
98 .RS
99 .sp
100 .B mount /dir
101 .sp
102 .RE
103 then \fBmount\fR looks for a mountpoint (and if not found then for a device) in the
104 .I /etc/fstab
105 file. It's possible to use the
106 .B \-\-target
107 or
108 .B \-\-source
109 options to avoid ambivalent interpretation of the given argument. For example:
110 .RS
111 .sp
112 .B mount \-\-target /mountpoint
113 .sp
114 .RE
115
116 The same filesystem may be mounted more than once, and in some cases (e.g.,
117 network filesystems) the same filesystem may be mounted on the same
118 mountpoint more times. The mount command does not implement any policy to
119 control this behavior. All behavior is controlled by the kernel and it is usually
120 specific to the filesystem driver. The exception is \fB\-\-all\fR, in this case
121 already mounted filesystems are ignored (see \fB\-\-all\fR below for more details).
122
123 .SS Listing the mounts
124 The listing mode is maintained for backward compatibility only.
125
126 For more robust and customizable output use
127 .BR findmnt (8),
128 \fBespecially in your scripts\fP. Note that control characters in the
129 mountpoint name are replaced with '?'.
130
131 The following command lists all mounted filesystems (of type
132 .IR type ):
133 .RS
134 .sp
135 .BR "mount " [ \-l "] [" "\-t \fItype\/\fP" ]
136 .sp
137 .RE
138 The option \fB\-l\fR adds labels to this listing. See below.
139
140 .SS Indicating the device and filesystem
141 Most devices are indicated by a filename (of a block special device), like
142 .IR /dev/sda1 ,
143 but there are other possibilities. For example, in the case of an NFS mount,
144 .I device
145 may look like
146 .IR knuth.cwi.nl:/dir .
147 It is also possible to indicate a block special device using its filesystem label
148 or UUID (see the \fB\-L\fR and \fB\-U\fR options below), or its partition label
149 or UUID. Partition identifiers are supported for example for GUID Partition
150 Tables (GPT).
151
152 The device names of disk partitions are unstable; hardware reconfiguration,
153 adding or removing a device can cause changes in names. This is the reason why it's
154 strongly recommended to use filesystem or partition identifiers like UUID or
155 LABEL.
156
157 The command \fBlsblk \-\-fs\fR provides an overview of filesystems, LABELs and UUIDs
158 on available block devices. The command \fBblkid \-p <device>\fR provides details about
159 a filesystem on the specified device.
160
161 Don't forget that there is no guarantee that UUIDs and labels are really
162 unique, especially if you move, share or copy the device. Use
163 .B "lsblk \-o +UUID,PARTUUID"
164 to verify that the UUIDs are really unique in your system.
165
166 The recommended setup is to use tags (e.g.\& \fBUUID=\fIuuid\fR) rather than
167 .I /dev/disk/by-{label,uuid,partuuid,partlabel}
168 udev symlinks in the
169 .I /etc/fstab
170 file. Tags are
171 more readable, robust and portable. The
172 .BR mount (8)
173 command internally uses udev
174 symlinks, so the use of symlinks in
175 .I /etc/fstab
176 has no advantage over tags.
177 For more details see
178 .BR libblkid (3).
179
180 Note that
181 .BR mount (8)
182 uses UUIDs as strings. The UUIDs from the command line or from
183 .BR fstab (5)
184 are not converted to internal binary representation. The string representation
185 of the UUID should be based on lower case characters.
186
187 The
188 .I proc
189 filesystem is not associated with a special device, and when
190 mounting it, an arbitrary keyword, such as
191 .I proc
192 can be used instead of a device specification.
193 (The customary choice
194 .I none
195 is less fortunate: the error message `none already mounted' from
196 .B mount
197 can be confusing.)
198
199 .SS The files /etc/fstab, /etc/mtab and /proc/mounts
200 The file
201 .I /etc/fstab
202 (see
203 .BR fstab (5)),
204 may contain lines describing what devices are usually
205 mounted where, using which options. The default location of the
206 .BR fstab (5)
207 file can be overridden with the
208 .BI \-\-fstab " path"
209 command-line option (see below for more details).
210 .LP
211 The command
212 .RS
213 .sp
214 .B mount \-a
215 .RB [ \-t
216 .IR type ]
217 .RB [ \-O
218 .IR optlist ]
219 .sp
220 .RE
221 (usually given in a bootscript) causes all filesystems mentioned in
222 .I fstab
223 (of the proper type and/or having or not having the proper options)
224 to be mounted as indicated, except for those whose line contains the
225 .B noauto
226 keyword. Adding the
227 .B \-F
228 option will make \fBmount\fR fork, so that the
229 filesystems are mounted simultaneously.
230 .LP
231 When mounting a filesystem mentioned in
232 .I fstab
233 or
234 .IR mtab ,
235 it suffices to specify on the command line only the device, or only the mount point.
236 .sp
237 The programs
238 .B mount
239 and
240 .B umount
241 traditionally maintained a list of currently mounted filesystems in the file
242 .IR /etc/mtab .
243 The support for regular classic
244 .I /etc/mtab
245 is completely disabled in compile time by default, because on current Linux
246 systems it is better to make it a symlink to
247 .I /proc/mounts
248 instead. The regular mtab file maintained in userspace cannot reliably
249 work with namespaces, containers and other advanced Linux features.
250 If the regular mtab support is enabled than it's possible to
251 use the file as well as the symlink.
252 .sp
253 If no arguments are given to
254 .BR mount ,
255 the list of mounted filesystems is printed.
256 .sp
257 If you want to override mount options from
258 .I /etc/fstab
259 you have to use the \fB\-o\fR option:
260 .RS
261 .sp
262 .BI mount " device" \fR| "dir " \-o " options"
263 .sp
264 .RE
265 and then the mount options from the command line will be appended to
266 the list of options from
267 .IR /etc/fstab .
268 This default behaviour is possible to change by command line
269 option \fB\-\-options\-mode\fR.
270 The usual behavior is that the last option wins if there are conflicting
271 ones.
272 .sp
273 The
274 .B mount
275 program does not read the
276 .I /etc/fstab
277 file if both
278 .I device
279 (or LABEL, UUID, PARTUUID or PARTLABEL) and
280 .I dir
281 are specified. For example, to mount device
282 .BR foo " at " /dir :
283 .RS
284 .sp
285 .B "mount /dev/foo /dir"
286 .sp
287 .RE
288 This default behaviour is possible to change by command line option
289 \fB\-\-options\-source\-force\fR to always read configuration from
290 .IR fstab .
291 For non-root users
292 .B mount
293 always read
294 .I fstab
295 configuration.
296
297 .SS Non-superuser mounts
298 Normally, only the superuser can mount filesystems.
299 However, when
300 .I fstab
301 contains the
302 .B user
303 option on a line, anybody can mount the corresponding filesystem.
304 .LP
305 Thus, given a line
306 .RS
307 .sp
308 .B "/dev/cdrom /cd iso9660 ro,user,noauto,unhide"
309 .sp
310 .RE
311 any user can mount the iso9660 filesystem found on an inserted CDROM
312 using the command:
313 .RS
314 .B "mount /cd"
315 .sp
316 .RE
317 Note that \fBmount\fR is very strict about non-root users and all paths
318 specified on command line are verified before
319 .I fstab
320 is parsed or a helper
321 program is executed. It's strongly recommended to use a valid mountpoint to
322 specify filesystem, otherwise \fBmount\fR may fail. For example it's bad idea
323 to use NFS or CIFS source on command line.
324 .PP
325 Since version 2.35 \fBmount\fR command does not exit when user permissions are
326 inadequate by internal libmount security rules. It drops suid permissions
327 and continue as regular non-root user. It allows to support use-cases where
328 root permissions are not necessary (e.g., fuse filesystems, user namespaces,
329 etc).
330 .PP
331 For more details, see
332 .BR fstab (5).
333 Only the user that mounted a filesystem can unmount it again.
334 If any user should be able to unmount it, then use
335 .B users
336 instead of
337 .B user
338 in the
339 .I fstab
340 line.
341 The
342 .B owner
343 option is similar to the
344 .B user
345 option, with the restriction that the user must be the owner
346 of the special file. This may be useful e.g.\& for
347 .I /dev/fd
348 if a login script makes the console user owner of this device.
349 The
350 .B group
351 option is similar, with the restriction that the user must be
352 member of the group of the special file.
353
354 .SS Bind mount operation
355 Remount part of the file hierarchy somewhere else. The call is:
356
357 .RS
358 .br
359 .B mount \-\-bind
360 .I olddir newdir
361 .RE
362
363 or by using this
364 .I fstab
365 entry:
366
367 .RS
368 .br
369 .BI / olddir
370 .BI / newdir
371 .B none bind
372 .RE
373
374 After this call the same contents are accessible in two places.
375
376 It is important to understand that "bind" does not to create any second-class
377 or special node in the kernel VFS. The "bind" is just another operation to
378 attach a filesystem. There is nowhere stored information that the filesystem
379 has been attached by "bind" operation. The \fIolddir\fR and \fInewdir\fR are
380 independent and the \fIolddir\fR may be umounted.
381
382 One can also remount a single file (on a single file). It's also
383 possible to use the bind mount to create a mountpoint from a regular
384 directory, for example:
385
386 .RS
387 .br
388 .B mount \-\-bind foo foo
389 .RE
390
391 The bind mount call attaches only (part of) a single filesystem, not possible
392 submounts. The entire file hierarchy including submounts is attached
393 a second place by using:
394
395 .RS
396 .br
397 .B mount \-\-rbind
398 .I olddir newdir
399 .RE
400
401 Note that the filesystem mount options maintained by kernel will remain the same as those
402 on the original mount point. The userspace mount options (e.g., _netdev) will not be copied
403 by
404 .BR mount (8)
405 and it's necessary explicitly specify the options on mount command line.
406
407 .BR mount (8)
408 since v2.27 allows to change the mount options by passing the
409 relevant options along with
410 .BR \-\-bind .
411 For example:
412
413 .RS
414 .br
415 .B mount \-o bind,ro foo foo
416 .RE
417
418 This feature is not supported by the Linux kernel; it is implemented in userspace
419 by an additional \fBmount\fR(2) remounting system call.
420 This solution is not atomic.
421
422 The alternative (classic) way to create a read-only bind mount is to use the remount
423 operation, for example:
424
425 .RS
426 .br
427 .B mount \-\-bind
428 .I olddir newdir
429 .br
430 .B mount \-o remount,bind,ro
431 .I olddir newdir
432 .RE
433
434 Note that a read-only bind will create a read-only mountpoint (VFS entry),
435 but the original filesystem superblock will still be writable, meaning that the
436 .I olddir
437 will be writable, but the
438 .I newdir
439 will be read-only.
440
441 It's also possible to change nosuid, nodev, noexec, noatime, nodiratime and
442 relatime VFS entry flags by "remount,bind" operation.
443 The other (for example
444 filesystem specific flags) are silently ignored. It's impossible to change mount
445 options recursively (for example with \fB\-o rbind,ro\fR).
446
447 .BR mount (8)
448 since v2.31 ignores the \fBbind\fR flag from
449 .I /etc/fstab
450 on
451 .B remount operation
452 (if "\-o remount" specified on command line). This is necessary to fully control
453 mount options on remount by command line. In the previous versions the bind
454 flag has been always applied and it was impossible to re-define mount options
455 without interaction with the bind semantic. This
456 .BR mount (8)
457 behavior does not affect situations when "remount,bind" is specified in the
458 .I /etc/fstab
459 file.
460
461 .SS The move operation
462 Move a
463 .B mounted tree
464 to another place (atomically). The call is:
465
466 .RS
467 .br
468 .B mount \-\-move
469 .I olddir newdir
470 .RE
471
472 This will cause the contents which previously appeared under
473 .I olddir
474 to now be accessible under
475 .IR newdir .
476 The physical location of the files is not changed.
477 Note that
478 .I olddir
479 has to be a mountpoint.
480
481 Note also that moving a mount residing under a shared mount is invalid and
482 unsupported. Use
483 .B findmnt \-o TARGET,PROPAGATION
484 to see the current propagation flags.
485
486 .SS Shared subtree operations
487 Since Linux 2.6.15 it is possible to mark a mount and its submounts as shared,
488 private, slave or unbindable. A shared mount provides the ability to create mirrors
489 of that mount such that mounts and unmounts within any of the mirrors propagate
490 to the other mirror. A slave mount receives propagation from its master, but
491 not vice versa. A private mount carries no propagation abilities. An
492 unbindable mount is a private mount which cannot be cloned through a bind
493 operation. The detailed semantics are documented in
494 .I Documentation/filesystems/sharedsubtree.txt
495 file in the kernel source tree.
496
497 Supported operations are:
498
499 .RS
500 .nf
501 .BI "mount \-\-make\-shared " mountpoint
502 .BI "mount \-\-make\-slave " mountpoint
503 .BI "mount \-\-make\-private " mountpoint
504 .BI "mount \-\-make\-unbindable " mountpoint
505 .fi
506 .RE
507
508 The following commands allow one to recursively change the type of all the
509 mounts under a given mountpoint.
510
511 .RS
512 .nf
513 .BI "mount \-\-make\-rshared " mountpoint
514 .BI "mount \-\-make\-rslave " mountpoint
515 .BI "mount \-\-make\-rprivate " mountpoint
516 .BI "mount \-\-make\-runbindable " mountpoint
517 .fi
518 .RE
519
520 .BR mount (8)
521 .B does not read
522 .BR fstab (5)
523 when a \fB\-\-make-\fR* operation is requested. All necessary information has to be
524 specified on the command line.
525
526 Note that the Linux kernel does not allow to change multiple propagation flags
527 with a single
528 .BR mount (2)
529 system call, and the flags cannot be mixed with other mount options and operations.
530
531 Since util-linux 2.23 the \fBmount\fR command allows to do more propagation
532 (topology) changes by one mount(8) call and do it also together with other
533 mount operations. This feature is EXPERIMENTAL. The propagation flags are applied
534 by additional \fBmount\fR(2) system calls when the preceding mount operations
535 were successful. Note that this use case is not atomic. It is possible to
536 specify the propagation flags in
537 .BR fstab (5)
538 as mount options
539 .RB ( private ,
540 .BR slave ,
541 .BR shared ,
542 .BR unbindable ,
543 .BR rprivate ,
544 .BR rslave ,
545 .BR rshared ,
546 .BR runbindable ).
547
548 For example:
549
550 .RS
551 .nf
552 .B mount \-\-make\-private \-\-make\-unbindable /dev/sda1 /foo
553 .fi
554 .RE
555
556 is the same as:
557
558 .RS
559 .nf
560 .B mount /dev/sda1 /foo
561 .B mount \-\-make\-private /foo
562 .B mount \-\-make\-unbindable /foo
563 .fi
564 .RE
565
566 .SH COMMAND-LINE OPTIONS
567 The full set of mount options used by an invocation of
568 .B mount
569 is determined by first extracting the
570 mount options for the filesystem from the
571 .I fstab
572 table, then applying any options specified by the
573 .B \-o
574 argument, and finally applying a
575 .BR \-r " or " \-w
576 option, when present.
577
578 The command \fBmount\fR does not pass all command-line options to the
579 \fB/sbin/mount.\fIsuffix\fR mount helpers. The interface between \fBmount\fR
580 and the mount helpers is described below in the section \fBEXTERNAL HELPERS\fR.
581 .sp
582 Command-line options available for the
583 .B mount
584 command are:
585 .TP
586 .BR \-a , " \-\-all"
587 Mount all filesystems (of the given types) mentioned in
588 .I fstab
589 (except for those whose line contains the
590 .B noauto
591 keyword). The filesystems are mounted following their order in
592 .IR fstab .
593 The mount command compares filesystem source, target (and fs root for bind
594 mount or btrfs) to detect already mounted filesystems. The kernel table with
595 already mounted filesystems is cached during \fBmount \-\-all\fR. It means
596 that all duplicated
597 .I fstab
598 entries will be mounted.
599 .sp
600 The option \fB\-\-all\fR is possible to use for remount operation too. In this
601 case all filters (\fB\-t\fR and \fB\-O\fR) are applied to the table of already
602 mounted filesystems.
603 .sp
604 Since version 2.35 is possible to use the command line option \fB\-o\fR to
605 alter mount options from
606 .I fstab
607 (see also \fB\-\-options\-mode\fR).
608 .sp
609 Note that it is a bad practice to use \fBmount \-a\fR for
610 .I fstab
611 checking. The recommended solution is \fBfindmnt \-\-verify\fR.
612 .TP
613 .BR \-B , " \-\-bind"
614 Remount a subtree somewhere else (so that its contents are available
615 in both places). See above, under \fBBind mounts\fR.
616 .TP
617 .BR \-c , " \-\-no\-canonicalize"
618 Don't canonicalize paths. The mount command canonicalizes all paths
619 (from command line or
620 .IR fstab )
621 by default. This option can be used
622 together with the
623 .B \-f
624 flag for already canonicalized absolute paths. The option is designed for mount
625 helpers which call \fBmount \-i\fR. It is strongly recommended to not use this
626 command-line option for normal mount operations.
627 .sp
628 Note that \fBmount\fR(8) does not pass this option to the
629 \fB/sbin/mount.\fItype\fR helpers.
630 .TP
631 .BR \-F , " \-\-fork"
632 (Used in conjunction with
633 .BR \-a .)
634 Fork off a new incarnation of \fBmount\fR for each device.
635 This will do the mounts on different devices or different NFS servers
636 in parallel.
637 This has the advantage that it is faster; also NFS timeouts go in
638 parallel. A disadvantage is that the mounts are done in undefined order.
639 Thus, you cannot use this option if you want to mount both
640 .I /usr
641 and
642 .IR /usr/spool .
643 .IP "\fB\-f, \-\-fake\fP"
644 Causes everything to be done except for the actual system call; if it's not
645 obvious, this ``fakes'' mounting the filesystem. This option is useful in
646 conjunction with the
647 .B \-v
648 flag to determine what the
649 .B mount
650 command is trying to do. It can also be used to add entries for devices
651 that were mounted earlier with the \fB\-n\fR option. The \fB\-f\fR option
652 checks for an existing record in
653 .I /etc/mtab
654 and fails when the record already
655 exists (with a regular non-fake mount, this check is done by the kernel).
656 .IP "\fB\-i, \-\-internal\-only\fP"
657 Don't call the \fB/sbin/mount.\fIfilesystem\fR helper even if it exists.
658 .TP
659 .BR \-L , " \-\-label " \fIlabel
660 Mount the partition that has the specified
661 .IR label .
662 .TP
663 .BR \-l , " \-\-show\-labels"
664 Add the labels in the mount output. \fBmount\fR must have
665 permission to read the disk device (e.g.\& be set-user-ID root) for this to work.
666 One can set such a label for ext2, ext3 or ext4 using the
667 .BR e2label (8)
668 utility, or for XFS using
669 .BR xfs_admin (8),
670 or for reiserfs using
671 .BR reiserfstune (8).
672 .TP
673 .BR \-M , " \-\-move"
674 Move a subtree to some other place. See above, the subsection
675 \fBThe move operation\fR.
676 .TP
677 .BR \-n , " \-\-no\-mtab"
678 Mount without writing in
679 .IR /etc/mtab .
680 This is necessary for example when
681 .I /etc
682 is on a read-only filesystem.
683 .TP
684 .BR \-N , " \-\-namespace " \fIns
685 Perform mount in the mount namespace specified by \fIns\fR.
686 \fIns\fR is either PID of process running in that namespace
687 or special file representing that namespace.
688 .sp
689 .BR mount (8)
690 switches to the mount namespace when it reads
691 .IR /etc/fstab ,
692 writes
693 .I /etc/mtab
694 (or writes to
695 .IR /run/mount )
696 and calls
697 .BR mount (2)
698 system call, otherwise it runs in the original mount namespace.
699 It means that the target namespace does not have
700 to contain any libraries or other requirements necessary to execute
701 .BR mount (2)
702 command.
703 .sp
704 See \fBmount_namespaces\fR(7) for more information.
705 .TP
706 .BR \-O , " \-\-test\-opts " \fIopts
707 Limit the set of filesystems to which the
708 .B \-a
709 option applies. In this regard it is like the
710 .B \-t
711 option except that
712 .B \-O
713 is useless without
714 .BR \-a .
715 For example, the command:
716 .RS
717 .RS
718 .sp
719 .B "mount \-a \-O no_netdev"
720 .sp
721 .RE
722 mounts all filesystems except those which have the option
723 .I _netdev
724 specified in the options field in the
725 .I /etc/fstab
726 file.
727
728 It is different from
729 .B \-t
730 in that each option is matched exactly; a leading
731 .B no
732 at the beginning of one option does not negate the rest.
733
734 The
735 .B \-t
736 and
737 .B \-O
738 options are cumulative in effect; that is, the command
739 .RS
740 .sp
741 .B "mount \-a \-t ext2 \-O _netdev"
742 .sp
743 .RE
744 mounts all ext2 filesystems with the _netdev option, not all filesystems
745 that are either ext2 or have the _netdev option specified.
746 .RE
747 .TP
748 .BR \-o , " \-\-options " \fIopts
749 Use the specified mount options. The \fIopts\fR argument is
750 a comma-separated list. For example:
751 .RS
752 .RS
753 .sp
754 .B "mount LABEL=mydisk \-o noatime,nodev,nosuid"
755 .sp
756 .RE
757
758 For more details, see the
759 .B FILESYSTEM-INDEPENDENT MOUNT OPTIONS
760 and
761 .B FILESYSTEM-SPECIFIC MOUNT OPTIONS
762 sections.
763 .RE
764
765 .TP
766 .BR "\-\-options\-mode " \fImode
767 Controls how to combine options from
768 .IR fstab / mtab
769 with options from command line.
770 \fImode\fR can be one of
771 .BR ignore ", " append ", " prepend " or " replace .
772 For example \fBappend\fR means that options from
773 .I fstab
774 are appended to options from command line.
775 Default value is \fBprepend\fR -- it means command line options are evaluated after
776 .I fstab
777 options.
778 Note that the last option wins if there are conflicting ones.
779
780 .TP
781 .BR "\-\-options\-source " \fIsource
782 Source of default options.
783 \fIsource\fR is comma separated list of
784 .BR fstab ", " mtab " and " disable .
785 \fBdisable\fR disables
786 .BR fstab " and " mtab
787 and disables \fB\-\-options\-source\-force\fR.
788 Default value is \fBfstab,mtab\fR.
789
790 .TP
791 .B \-\-options\-source\-force
792 Use options from
793 .IR fstab / mtab
794 even if both \fIdevice\fR and \fIdir\fR are specified.
795
796 .TP
797 .BR \-R , " \-\-rbind"
798 Remount a subtree and all possible submounts somewhere else (so that its
799 contents are available in both places). See above, the subsection
800 \fBBind mounts\fR.
801 .TP
802 .BR \-r , " \-\-read\-only"
803 Mount the filesystem read-only. A synonym is
804 .BR "\-o ro" .
805 .sp
806 Note that, depending on the filesystem type, state and kernel behavior, the
807 system may still write to the device. For example, ext3 and ext4 will replay the
808 journal if the filesystem is dirty. To prevent this kind of write access, you
809 may want to mount an ext3 or ext4 filesystem with the \fBro,noload\fR mount
810 options or set the block device itself to read-only mode, see the
811 .BR blockdev (8)
812 command.
813 .TP
814 .B \-s
815 Tolerate sloppy mount options rather than failing. This will ignore mount
816 options not supported by a filesystem type. Not all filesystems support this
817 option. Currently it's supported by the \fBmount.nfs\fR mount helper only.
818 .TP
819 .BI \-\-source " device"
820 If only one argument for the mount command is given then the argument might be
821 interpreted as target (mountpoint) or source (device). This option allows to
822 explicitly define that the argument is the mount source.
823 .TP
824 .BI \-\-target " directory"
825 If only one argument for the mount command is given then the argument might be
826 interpreted as target (mountpoint) or source (device). This option allows to
827 explicitly define that the argument is the mount target.
828 .TP
829 .BI \-\-target\-prefix " directory"
830 Prepend specified directory to all mount targets. This option allows to follow
831 .IR fstab ,
832 but mount operations is done on another place, for example:
833 .RS
834 .RS
835 .sp
836 .B "mount \-\-all \-\-target\-prefix /chroot \-o X\-mount.mkdir
837 .sp
838 .RE
839 mounts all from system
840 .I fstab
841 to
842 .IR /chroot ,
843 all missing muontpoint are created
844 (due to X-mount.mkdir). See also \fB\-\-fstab\fP to use an alternative
845 .IR fstab .
846 .RE
847 .TP
848 .BR \-T , " \-\-fstab " \fIpath
849 Specifies an alternative
850 .I fstab
851 file. If \fIpath\fP is a directory then the files
852 in the directory are sorted by
853 .BR strverscmp (3);
854 files that start with "."\& or without an
855 .I \&.fstab
856 extension are ignored. The option
857 can be specified more than once. This option is mostly designed for initramfs
858 or chroot scripts where additional configuration is specified beyond standard
859 system configuration.
860 .sp
861 Note that \fBmount\fR(8) does not pass the option \fB\-\-fstab\fP to the
862 \fB/sbin/mount.\fItype\fR helpers, meaning that the alternative
863 .I fstab
864 files will be
865 invisible for the helpers. This is no problem for normal mounts, but user
866 (non-root) mounts always require
867 .I fstab
868 to verify the user's rights.
869 .TP
870 .BR \-t , " \-\-types " \fIfstype
871 The argument following the
872 .B \-t
873 is used to indicate the filesystem type. The filesystem types which are
874 currently supported depend on the running kernel. See
875 .I /proc/filesystems
876 and
877 .I /lib/modules/$(uname \-r)/kernel/fs
878 for a complete list of the filesystems. The most common are ext2, ext3, ext4,
879 xfs, btrfs, vfat, sysfs, proc, nfs and cifs.
880 .sp
881 The programs
882 .B mount
883 and
884 .B umount
885 support filesystem subtypes. The subtype is defined by a '.subtype' suffix. For
886 example 'fuse.sshfs'. It's recommended to use subtype notation rather than add
887 any prefix to the mount source (for example 'sshfs#example.com' is
888 deprecated).
889
890 If no
891 .B \-t
892 option is given, or if the
893 .B auto
894 type is specified, mount will try to guess the desired type.
895 Mount uses the blkid library for guessing the filesystem
896 type; if that does not turn up anything that looks familiar,
897 mount will try to read the file
898 .IR /etc/filesystems ,
899 or, if that does not exist,
900 .IR /proc/filesystems .
901 All of the filesystem types listed there will be tried,
902 except for those that are labeled "nodev" (e.g.\&
903 .IR devpts ,
904 .I proc
905 and
906 .IR nfs ).
907 If
908 .I /etc/filesystems
909 ends in a line with a single *, mount will read
910 .I /proc/filesystems
911 afterwards. While trying, all filesystem types will be
912 mounted with the mount option \fBsilent\fR.
913 .sp
914 The
915 .B auto
916 type may be useful for user-mounted floppies.
917 Creating a file
918 .I /etc/filesystems
919 can be useful to change the probe order (e.g., to try vfat before msdos
920 or ext3 before ext2) or if you use a kernel module autoloader.
921 .sp
922 More than one type may be specified in a comma-separated
923 list, for option
924 .B \-t
925 as well as in an
926 .I /etc/fstab
927 entry. The list of filesystem types for option
928 .B \-t
929 can be prefixed with
930 .B no
931 to specify the filesystem types on which no action should be taken.
932 The prefix
933 .B no
934 has no effect when specified in an
935 .I /etc/fstab
936 entry.
937 .sp
938 The prefix
939 .B no
940 can be meaningful with the
941 .B \-a
942 option. For example, the command
943 .RS
944 .RS
945 .sp
946 .B "mount \-a \-t nomsdos,smbfs"
947 .sp
948 .RE
949 mounts all filesystems except those of type
950 .I msdos
951 and
952 .IR smbfs .
953 .sp
954 For most types all the
955 .B mount
956 program has to do is issue a simple
957 .BR mount (2)
958 system call, and no detailed knowledge of the filesystem type is required.
959 For a few types however (like nfs, nfs4, cifs, smbfs, ncpfs) an ad hoc code is
960 necessary. The nfs, nfs4, cifs, smbfs, and ncpfs filesystems
961 have a separate mount program. In order to make it possible to
962 treat all types in a uniform way, \fBmount\fR will execute the program
963 .BI /sbin/mount. type
964 (if that exists) when called with type
965 .IR type .
966 Since different versions of the
967 .B smbmount
968 program have different calling conventions,
969 .B /sbin/mount.smbfs
970 may have to be a shell script that sets up the desired call.
971 .RE
972 .TP
973 .BR \-U , " \-\-uuid " \fIuuid
974 Mount the partition that has the specified
975 .IR uuid .
976 .TP
977 .BR \-v , " \-\-verbose"
978 Verbose mode.
979 .TP
980 .BR \-w , " \-\-rw" , " \-\-read\-write"
981 Mount the filesystem read/write. The read-write is kernel default and
982 .BR mount (8)
983 default is to try read-only if the previous mount syscall with read-write flags
984 on write-protected devices of filesystems failed.
985 .sp
986 A synonym is
987 .BR "\-o rw" .
988
989 Note that specify \fB\-w\fR on command line forces \fBmount\fR command to never
990 try read-only mount on write-protected devices or already mounted read-only
991 filesystems.
992 .TP
993 .BR \-V , " \-\-version"
994 Display version information and exit.
995 .TP
996 .BR \-h , " \-\-help"
997 Display help text and exit.
998
999 .SH FILESYSTEM-INDEPENDENT MOUNT OPTIONS
1000 Some of these options are only useful when they appear in the
1001 .I /etc/fstab
1002 file.
1003
1004 Some of these options could be enabled or disabled by default
1005 in the system kernel. To check the current setting see the options
1006 in
1007 .IR /proc/mounts .
1008 Note that filesystems also have per-filesystem
1009 specific default mount options (see for example \fBtune2fs \-l\fP
1010 output for extN filesystems).
1011
1012 The following options apply to any filesystem that is being
1013 mounted (but not every filesystem actually honors them \(en e.g.\&, the
1014 .B sync
1015 option today has an effect only for ext2, ext3, ext4, fat, vfat, ufs and xfs):
1016
1017 .TP
1018 .B async
1019 All I/O to the filesystem should be done asynchronously. (See also the
1020 .B sync
1021 option.)
1022 .TP
1023 .B atime
1024 Do not use the \fBnoatime\fR feature, so the inode access time is controlled
1025 by kernel defaults. See also the descriptions of the \fB\%relatime\fR and
1026 .B strictatime
1027 mount options.
1028 .TP
1029 .B noatime
1030 Do not update inode access times on this filesystem (e.g.\& for faster
1031 access on the news spool to speed up news servers). This works for all
1032 inode types (directories too), so it implies \fB\%nodiratime\fR.
1033 .TP
1034 .B auto
1035 Can be mounted with the
1036 .B \-a
1037 option.
1038 .TP
1039 .B noauto
1040 Can only be mounted explicitly (i.e., the
1041 .B \-a
1042 option will not cause the filesystem to be mounted).
1043 .TP
1044 .na
1045 .BR context=\fIcontext ", " fscontext=\fIcontext ", " defcontext=\fIcontext ", and " \%rootcontext=\fIcontext
1046 .ad
1047 The
1048 .B context=
1049 option is useful when mounting filesystems that do not support
1050 extended attributes, such as a floppy or hard disk formatted with VFAT, or
1051 systems that are not normally running under SELinux, such as an ext3 or ext4 formatted
1052 disk from a non-SELinux workstation. You can also use
1053 .B context=
1054 on filesystems you do not trust, such as a floppy. It also helps in compatibility with
1055 xattr-supporting filesystems on earlier 2.4.<x> kernel versions. Even where
1056 xattrs are supported, you can save time not having to label every file by
1057 assigning the entire disk one security context.
1058
1059 A commonly used option for removable media is
1060 .BR \%context="system_u:object_r:removable_t" .
1061
1062 Two other options are
1063 .B fscontext=
1064 and
1065 .BR defcontext= ,
1066 both of which are mutually exclusive of the context option. This means you
1067 can use fscontext and defcontext with each other, but neither can be used with
1068 context.
1069
1070 The
1071 .B fscontext=
1072 option works for all filesystems, regardless of their xattr
1073 support. The fscontext option sets the overarching filesystem label to a
1074 specific security context. This filesystem label is separate from the
1075 individual labels on the files. It represents the entire filesystem for
1076 certain kinds of permission checks, such as during mount or file creation.
1077 Individual file labels are still obtained from the xattrs on the files
1078 themselves. The context option actually sets the aggregate context that
1079 fscontext provides, in addition to supplying the same label for individual
1080 files.
1081
1082 You can set the default security context for unlabeled files using
1083 .B defcontext=
1084 option. This overrides the value set for unlabeled files in the policy and requires a
1085 filesystem that supports xattr labeling.
1086
1087 The
1088 .B rootcontext=
1089 option allows you to explicitly label the root inode of a FS being mounted
1090 before that FS or inode becomes visible to userspace. This was found to be
1091 useful for things like stateless linux.
1092
1093 Note that the kernel rejects any remount request that includes the context
1094 option, \fBeven\fP when unchanged from the current context.
1095
1096 .BR "Warning: the \fIcontext\fP value might contain commas" ,
1097 in which case the value has to be properly quoted, otherwise
1098 .BR mount (8)
1099 will interpret the comma as a separator between mount options. Don't forget that
1100 the shell strips off quotes and thus
1101 .BR "double quoting is required" .
1102 For example:
1103 .RS
1104 .RS
1105 .sp
1106 .nf
1107 .B mount \-t tmpfs none /mnt \-o \e
1108 .B \ \ 'context="system_u:object_r:tmp_t:s0:c127,c456",noexec'
1109 .fi
1110 .sp
1111 .RE
1112 For more details, see
1113 .BR selinux (8).
1114 .RE
1115
1116 .TP
1117 .B defaults
1118 Use the default options:
1119 .BR rw ", " suid ", " dev ", " exec ", " auto ", " nouser ", and " async .
1120
1121 Note that the real set of all default mount options depends on kernel
1122 and filesystem type. See the beginning of this section for more details.
1123 .TP
1124 .B dev
1125 Interpret character or block special devices on the filesystem.
1126 .TP
1127 .B nodev
1128 Do not interpret character or block special devices on the file
1129 system.
1130 .TP
1131 .B diratime
1132 Update directory inode access times on this filesystem. This is the default.
1133 (This option is ignored when \fBnoatime\fR is set.)
1134 .TP
1135 .B nodiratime
1136 Do not update directory inode access times on this filesystem.
1137 (This option is implied when \fBnoatime\fR is set.)
1138 .TP
1139 .B dirsync
1140 All directory updates within the filesystem should be done synchronously.
1141 This affects the following system calls: creat, link, unlink, symlink,
1142 mkdir, rmdir, mknod and rename.
1143 .TP
1144 .B exec
1145 Permit execution of binaries.
1146 .TP
1147 .B noexec
1148 Do not permit direct execution of any binaries on the mounted filesystem.
1149 .TP
1150 .B group
1151 Allow an ordinary user to mount the filesystem if one
1152 of that user's groups matches the group of the device.
1153 This option implies the options
1154 .BR nosuid " and " nodev
1155 (unless overridden by subsequent options, as in the option line
1156 .BR group,dev,suid ).
1157 .TP
1158 .B iversion
1159 Every time the inode is modified, the i_version field will be incremented.
1160 .TP
1161 .B noiversion
1162 Do not increment the i_version inode field.
1163 .TP
1164 .B mand
1165 Allow mandatory locks on this filesystem. See
1166 .BR fcntl (2).
1167 .TP
1168 .B nomand
1169 Do not allow mandatory locks on this filesystem.
1170 .TP
1171 .B _netdev
1172 The filesystem resides on a device that requires network access
1173 (used to prevent the system from attempting to mount these filesystems
1174 until the network has been enabled on the system).
1175 .TP
1176 .B nofail
1177 Do not report errors for this device if it does not exist.
1178 .TP
1179 .B relatime
1180 Update inode access times relative to modify or change time. Access
1181 time is only updated if the previous access time was earlier than the
1182 current modify or change time. (Similar to \fB\%noatime\fR, but it doesn't
1183 break \fBmutt\fR or other applications that need to know if a file has been
1184 read since the last time it was modified.)
1185
1186 Since Linux 2.6.30, the kernel defaults to the behavior provided by this
1187 option (unless
1188 .B \%noatime
1189 was specified), and the
1190 .B \%strictatime
1191 option is required to obtain traditional semantics. In addition, since Linux
1192 2.6.30, the file's last access time is always updated if it is more than 1
1193 day old.
1194 .TP
1195 .B norelatime
1196 Do not use the
1197 .B relatime
1198 feature. See also the
1199 .B strictatime
1200 mount option.
1201 .TP
1202 .B strictatime
1203 Allows to explicitly request full atime updates. This makes it
1204 possible for the kernel to default to
1205 .B \%relatime
1206 or
1207 .B \%noatime
1208 but still allow userspace to override it. For more details about the default
1209 system mount options see
1210 .IR /proc/mounts .
1211 .TP
1212 .B nostrictatime
1213 Use the kernel's default behavior for inode access time updates.
1214 .TP
1215 .B lazytime
1216 Only update times (atime, mtime, ctime) on the in-memory version of the file inode.
1217
1218 This mount option significantly reduces writes to the inode table for
1219 workloads that perform frequent random writes to preallocated files.
1220
1221 The on-disk timestamps are updated only when:
1222 .sp
1223 .RS
1224 - the inode needs to be updated for some change unrelated to file timestamps
1225 .sp
1226 - the application employs
1227 .BR fsync (2),
1228 .BR syncfs (2),
1229 or
1230 .BR sync (2)
1231 .sp
1232 - an undeleted inode is evicted from memory
1233 .sp
1234 - more than 24 hours have passed since the i-node was written to disk.
1235 .RE
1236 .sp
1237 .TP
1238 .B nolazytime
1239 Do not use the lazytime feature.
1240 .TP
1241 .B suid
1242 Honor set-user-ID and set-group-ID bits or file capabilities when
1243 executing programs from this filesystem.
1244 .TP
1245 .B nosuid
1246 Do not honor set-user-ID and set-group-ID bits or file capabilities when
1247 executing programs from this filesystem.
1248 .TP
1249 .B silent
1250 Turn on the silent flag.
1251 .TP
1252 .B loud
1253 Turn off the silent flag.
1254 .TP
1255 .B owner
1256 Allow an ordinary user to mount the filesystem if that
1257 user is the owner of the device.
1258 This option implies the options
1259 .BR nosuid " and " nodev
1260 (unless overridden by subsequent options, as in the option line
1261 .BR owner,dev,suid ).
1262 .TP
1263 .B remount
1264 Attempt to remount an already-mounted filesystem. This is commonly
1265 used to change the mount flags for a filesystem, especially to make a
1266 readonly filesystem writable. It does not change device or mount point.
1267
1268 The remount operation together with the
1269 .B bind
1270 flag has special semantic. See above, the subsection \fBBind mounts\fR.
1271
1272 The remount functionality follows the standard way the mount command works
1273 with options from
1274 .IR fstab .
1275 This means that \fBmount\fR does not read
1276 .I fstab
1277 (or
1278 .IR mtab )
1279 only when both
1280 .I device
1281 and
1282 .I dir
1283 are specified.
1284 .sp
1285 .in +4
1286 .B "mount \-o remount,rw /dev/foo /dir"
1287 .in
1288 .sp
1289 After this call all old mount options are replaced and arbitrary stuff from
1290 .I fstab
1291 (or
1292 .IR mtab )
1293 is ignored, except the loop= option which is internally
1294 generated and maintained by the mount command.
1295 .sp
1296 .in +4
1297 .B "mount \-o remount,rw /dir"
1298 .in
1299 .sp
1300 After this call, mount reads
1301 .I fstab
1302 and merges these options with
1303 the options from the command line (\fB\-o\fR).
1304 If no mountpoint is found in
1305 .IR fstab ,
1306 then a remount with unspecified source is
1307 allowed.
1308 .sp
1309 mount(8) allows to use \fB\-\-all\fR to remount all already mounted filesystems
1310 which match a specified filter (\fB\-O\fR and \fB\-t\fR). For example:
1311 .sp
1312 .in +4
1313 .B "mount \-\-all \-o remount,ro \-t vfat"
1314 .in
1315 .sp
1316 remounts all already mounted vfat filesystems in read-only mode. The each of the
1317 filesystems is remounted by "mount \-o remount,ro /dir" semantic. It means the
1318 mount command reads
1319 .I fstab
1320 or
1321 .I mtab
1322 and merges these options with the options
1323 from the command line.
1324 .TP
1325 .B ro
1326 Mount the filesystem read-only.
1327 .TP
1328 .B rw
1329 Mount the filesystem read-write.
1330 .TP
1331 .B sync
1332 All I/O to the filesystem should be done synchronously. In the case of
1333 media with a limited number of write cycles
1334 (e.g.\& some flash drives), \fBsync\fR may cause life-cycle shortening.
1335 .TP
1336 .B user
1337 Allow an ordinary user to mount the filesystem.
1338 The name of the mounting user is written to the
1339 .I mtab
1340 file (or to the private
1341 libmount file in
1342 .I /run/mount
1343 on systems without a regular
1344 .IR mtab )
1345 so that this
1346 same user can unmount the filesystem again.
1347 This option implies the options
1348 .BR noexec ", " nosuid ", and " nodev
1349 (unless overridden by subsequent options, as in the option line
1350 .BR user,exec,dev,suid ).
1351 .TP
1352 .B nouser
1353 Forbid an ordinary user to mount the filesystem.
1354 This is the default; it does not imply any other options.
1355 .TP
1356 .B users
1357 Allow any user to mount and to unmount the filesystem, even
1358 when some other ordinary user mounted it.
1359 This option implies the options
1360 .BR noexec ", " nosuid ", and " nodev
1361 (unless overridden by subsequent options, as in the option line
1362 .BR users,exec,dev,suid ).
1363 .TP
1364 .B X-*
1365 All options prefixed with "X-" are interpreted as comments or as userspace
1366 application-specific options.
1367 These options are not stored in the user space (e.g.,
1368 .I mtab
1369 file),
1370 nor sent to the mount.\fItype\fR helpers nor to the
1371 .BR mount (2)
1372 system call. The suggested format is \fBX-\fIappname\fR.\fIoption\fR.
1373 .TP
1374 .B x-*
1375 The same as \fBX-*\fR options, but stored permanently in the user space. It
1376 means the options are also available for umount or other operations. Note
1377 that maintain mount options in user space is tricky, because it's necessary use
1378 libmount based tools and there is no guarantee that the options will be always
1379 available (for example after a move mount operation or in unshared namespace).
1380
1381 Note that before util-linux v2.30 the x-* options have not been maintained by
1382 libmount and stored in user space (functionality was the same as have X-* now),
1383 but due to growing number of use-cases (in initrd, systemd etc.) the
1384 functionality have been extended to keep existing
1385 .I fstab
1386 configurations usable
1387 without a change.
1388 .TP
1389 .BR X-mount.mkdir [ = \fImode\fR ]
1390 Allow to make a target directory (mountpoint) if it does not exit yet.
1391 The optional argument
1392 .I mode
1393 specifies the filesystem access mode used for
1394 .BR mkdir (2)
1395 in octal notation. The default mode is 0755. This functionality is supported
1396 only for root users or when mount executed without suid permissions. The option
1397 is also supported as x-mount.mkdir, this notation is deprecated since v2.30.
1398
1399 .SH FILESYSTEM-SPECIFIC MOUNT OPTIONS
1400 This section lists options that are specific to particular filesystems.
1401 Where possible, you should first consult filesystem-specific manual pages
1402 for details.
1403 Some of those pages are listed in the following table.
1404 .TS
1405 lb lb
1406 l l.
1407 Filesystem(s) Manual page
1408 btrfs \fBbtrfs\fP(5)
1409 cifs \fBmount.cifs\fP(8)
1410 ext2, ext3, ext4 \fBext4\fP(5)
1411 fuse \fBfuse\fP(8)
1412 nfs \fBnfs\fP(5)
1413 tmpfs \fBtmpfs\fP(5)
1414 xfs \fBxfs\fP(5)
1415 .TE
1416 .PP
1417 Note that some of the pages listed above might be available only
1418 after you install the respective userland tools.
1419 .PP
1420 The following options apply only to certain filesystems.
1421 We sort them by filesystem.
1422 All options follow the
1423 .B \-o
1424 flag.
1425 .PP
1426 What options are supported depends a bit on the running kernel.
1427 Further information may be available in fileystem-specific
1428 files in the kernel source subdirectory
1429 .IR Documentation/filesystems .
1430 .\"
1431 .SS "Mount options for adfs"
1432 .TP
1433 \fBuid=\fP\,\fIvalue\fP and \fBgid=\fP\,\fIvalue\fP
1434 Set the owner and group of the files in the filesystem (default: uid=gid=0).
1435 .TP
1436 \fBownmask=\fP\,\fIvalue\fP and \fBothmask=\fP\,\fIvalue\fP
1437 Set the permission mask for ADFS 'owner' permissions and 'other' permissions,
1438 respectively (default: 0700 and 0077, respectively).
1439 See also
1440 .IR /usr/src/linux/Documentation/filesystems/adfs.rst .
1441
1442 .SS "Mount options for affs"
1443 .TP
1444 \fBuid=\fP\,\fIvalue\fP and \fBgid=\fP\,\fIvalue\fP
1445 Set the owner and group of the root of the filesystem (default: uid=gid=0,
1446 but with option
1447 .B uid
1448 or
1449 .B gid
1450 without specified value, the UID and GID of the current process are taken).
1451 .TP
1452 \fBsetuid=\fP\,\fIvalue\fP and \fBsetgid=\fP\,\fIvalue\fP
1453 Set the owner and group of all files.
1454 .TP
1455 .BI mode= value
1456 Set the mode of all files to
1457 .IR value " & 0777"
1458 disregarding the original permissions.
1459 Add search permission to directories that have read permission.
1460 The value is given in octal.
1461 .TP
1462 .B protect
1463 Do not allow any changes to the protection bits on the filesystem.
1464 .TP
1465 .B usemp
1466 Set UID and GID of the root of the filesystem to the UID and GID
1467 of the mount point upon the first sync or umount, and then
1468 clear this option. Strange...
1469 .TP
1470 .B verbose
1471 Print an informational message for each successful mount.
1472 .TP
1473 .BI prefix= string
1474 Prefix used before volume name, when following a link.
1475 .TP
1476 .BI volume= string
1477 Prefix (of length at most 30) used before '/' when following a symbolic link.
1478 .TP
1479 .BI reserved= value
1480 (Default: 2.) Number of unused blocks at the start of the device.
1481 .TP
1482 .BI root= value
1483 Give explicitly the location of the root block.
1484 .TP
1485 .BI bs= value
1486 Give blocksize. Allowed values are 512, 1024, 2048, 4096.
1487 .TP
1488 .BR grpquota | noquota | quota | usrquota
1489 These options are accepted but ignored.
1490 (However, quota utilities may react to such strings in
1491 .IR /etc/fstab .)
1492
1493 .SS "Mount options for debugfs"
1494 The debugfs filesystem is a pseudo filesystem, traditionally mounted on
1495 .IR /sys/kernel/debug .
1496 .\" or just /debug
1497 .\" present since 2.6.11
1498 As of kernel version 3.4, debugfs has the following options:
1499 .TP
1500 .BI uid= n ", gid=" n
1501 Set the owner and group of the mountpoint.
1502 .TP
1503 .BI mode= value
1504 Sets the mode of the mountpoint.
1505
1506 .SS "Mount options for devpts"
1507 The devpts filesystem is a pseudo filesystem, traditionally mounted on
1508 .IR /dev/pts .
1509 In order to acquire a pseudo terminal, a process opens
1510 .IR /dev/ptmx ;
1511 the number of the pseudo terminal is then made available to the process
1512 and the pseudo terminal slave can be accessed as
1513 .IR /dev/pts/ <number>.
1514 .TP
1515 \fBuid=\fP\,\fIvalue\fP and \fBgid=\fP\,\fIvalue\fP
1516 This sets the owner or the group of newly created PTYs to
1517 the specified values. When nothing is specified, they will
1518 be set to the UID and GID of the creating process.
1519 For example, if there is a tty group with GID 5, then
1520 .B gid=5
1521 will cause newly created PTYs to belong to the tty group.
1522 .TP
1523 .BI mode= value
1524 Set the mode of newly created PTYs to the specified value.
1525 The default is 0600.
1526 A value of
1527 .B mode=620
1528 and
1529 .B gid=5
1530 makes "mesg y" the default on newly created PTYs.
1531 .TP
1532 \fBnewinstance
1533 Create a private instance of devpts filesystem, such that
1534 indices of ptys allocated in this new instance are
1535 independent of indices created in other instances of devpts.
1536
1537 All mounts of devpts without this
1538 .B newinstance
1539 option share the same set of pty indices (i.e., legacy mode).
1540 Each mount of devpts with the
1541 .B newinstance
1542 option has a private set of pty indices.
1543
1544 This option is mainly used to support containers in the
1545 linux kernel. It is implemented in linux kernel versions
1546 starting with 2.6.29. Further, this mount option is valid
1547 only if CONFIG_DEVPTS_MULTIPLE_INSTANCES is enabled in the
1548 kernel configuration.
1549
1550 To use this option effectively,
1551 .I /dev/ptmx
1552 must be a symbolic link to
1553 .I pts/ptmx.
1554 See
1555 .I Documentation/filesystems/devpts.txt
1556 in the linux kernel source tree for details.
1557 .TP
1558 .BI ptmxmode= value
1559
1560 Set the mode for the new
1561 .I ptmx
1562 device node in the devpts filesystem.
1563
1564 With the support for multiple instances of devpts (see
1565 .B newinstance
1566 option above), each instance has a private
1567 .I ptmx
1568 node in the root of the devpts filesystem (typically
1569 .IR /dev/pts/ptmx ).
1570
1571 For compatibility with older versions of the kernel, the
1572 default mode of the new
1573 .I ptmx
1574 node is 0000.
1575 .BI ptmxmode= value
1576 specifies a more useful mode for the
1577 .I ptmx
1578 node and is highly recommended when the
1579 .B newinstance
1580 option is specified.
1581
1582 This option is only implemented in linux kernel versions
1583 starting with 2.6.29. Further, this option is valid only if
1584 CONFIG_DEVPTS_MULTIPLE_INSTANCES is enabled in the kernel
1585 configuration.
1586
1587 .SS "Mount options for fat"
1588 (Note:
1589 .I fat
1590 is not a separate filesystem, but a common part of the
1591 .IR msdos ,
1592 .I umsdos
1593 and
1594 .I vfat
1595 filesystems.)
1596 .TP
1597 .BR blocksize= { 512 | 1024 | 2048 }
1598 Set blocksize (default 512). This option is obsolete.
1599 .TP
1600 \fBuid=\fP\,\fIvalue\fP and \fBgid=\fP\,\fIvalue\fP
1601 Set the owner and group of all files.
1602 (Default: the UID and GID of the current process.)
1603 .TP
1604 .BI umask= value
1605 Set the umask (the bitmask of the permissions that are
1606 .B not
1607 present). The default is the umask of the current process.
1608 The value is given in octal.
1609 .TP
1610 .BI dmask= value
1611 Set the umask applied to directories only.
1612 The default is the umask of the current process.
1613 The value is given in octal.
1614 .TP
1615 .BI fmask= value
1616 Set the umask applied to regular files only.
1617 The default is the umask of the current process.
1618 The value is given in octal.
1619 .TP
1620 .BI allow_utime= value
1621 This option controls the permission check of mtime/atime.
1622 .RS
1623 .TP
1624 .B 20
1625 If current process is in group of file's group ID, you can change timestamp.
1626 .TP
1627 .B 2
1628 Other users can change timestamp.
1629 .PP
1630 The default is set from `dmask' option. (If the directory is writable,
1631 .BR utime (2)
1632 is also allowed. I.e.\& \s+3~\s0dmask & 022)
1633
1634 Normally
1635 .BR utime (2)
1636 checks current process is owner of the file, or it has
1637 CAP_FOWNER capability. But FAT filesystem doesn't have UID/GID on disk, so
1638 normal check is too inflexible. With this option you can relax it.
1639 .RE
1640 .TP
1641 .BI check= value
1642 Three different levels of pickiness can be chosen:
1643 .RS
1644 .TP
1645 .BR r [ elaxed ]
1646 Upper and lower case are accepted and equivalent, long name parts are
1647 truncated (e.g.\&
1648 .I verylongname.foobar
1649 becomes
1650 .IR verylong.foo ),
1651 leading and embedded spaces are accepted in each name part (name and extension).
1652 .TP
1653 .BR n [ ormal ]
1654 Like "relaxed", but many special characters (*, ?, <, spaces, etc.) are
1655 rejected. This is the default.
1656 .TP
1657 .BR s [ trict ]
1658 Like "normal", but names that contain long parts or special characters
1659 that are sometimes used on Linux but are not accepted by MS-DOS
1660 (+, =, etc.) are rejected.
1661 .RE
1662 .TP
1663 .BI codepage= value
1664 Sets the codepage for converting to shortname characters on FAT
1665 and VFAT filesystems. By default, codepage 437 is used.
1666 .TP
1667 .BI conv= mode
1668 This option is obsolete and may fail or being ignored.
1669 .TP
1670 .BI cvf_format= module
1671 Forces the driver to use the CVF (Compressed Volume File) module
1672 .RI cvf_ module
1673 instead of auto-detection. If the kernel supports kmod, the
1674 cvf_format=xxx option also controls on-demand CVF module loading.
1675 This option is obsolete.
1676 .TP
1677 .BI cvf_option= option
1678 Option passed to the CVF module. This option is obsolete.
1679 .TP
1680 .B debug
1681 Turn on the
1682 .I debug
1683 flag. A version string and a list of filesystem parameters will be
1684 printed (these data are also printed if the parameters appear to be
1685 inconsistent).
1686 .TP
1687 .B discard
1688 If set, causes discard/TRIM commands to be issued to the block device
1689 when blocks are freed. This is useful for SSD devices and
1690 sparse/thinly-provisioned LUNs.
1691 .TP
1692 .B dos1xfloppy
1693 If set, use a fallback default BIOS Parameter Block configuration, determined
1694 by backing device size. These static parameters match defaults assumed by DOS
1695 1.x for 160 kiB, 180 kiB, 320 kiB, and 360 kiB floppies and floppy images.
1696 .TP
1697 .BR errors= { panic | continue | remount-ro }
1698 Specify FAT behavior on critical errors: panic, continue without doing
1699 anything, or remount the partition in read-only mode (default behavior).
1700 .TP
1701 .BR fat= { 12 | 16 | 32 }
1702 Specify a 12, 16 or 32 bit fat. This overrides
1703 the automatic FAT type detection routine. Use with caution!
1704 .TP
1705 .BI iocharset= value
1706 Character set to use for converting between 8 bit characters
1707 and 16 bit Unicode characters. The default is iso8859-1.
1708 Long filenames are stored on disk in Unicode format.
1709 .TP
1710 .BR nfs= { stale_rw | nostale_ro }
1711 Enable this only if you want to export the FAT filesystem over NFS.
1712
1713 .BR stale_rw :
1714 This option maintains an index (cache) of directory inodes which is used by the
1715 nfs-related code to improve look-ups. Full file operations (read/write) over
1716 NFS are supported but with cache eviction at NFS server, this could result in
1717 spurious
1718 .B ESTALE
1719 errors.
1720
1721 .BR nostale_ro :
1722 This option bases the inode number and file handle
1723 on the on-disk location of a file in the FAT directory entry.
1724 This ensures that
1725 .B ESTALE
1726 will not be returned after a file is
1727 evicted from the inode cache. However, it means that operations
1728 such as rename, create and unlink could cause file handles that
1729 previously pointed at one file to point at a different file,
1730 potentially causing data corruption. For this reason, this
1731 option also mounts the filesystem readonly.
1732
1733 To maintain backward compatibility, '\-o nfs' is also accepted,
1734 defaulting to
1735 .BR stale_rw .
1736 .TP
1737 .B tz=UTC
1738 This option disables the conversion of timestamps
1739 between local time (as used by Windows on FAT) and UTC
1740 (which Linux uses internally). This is particularly
1741 useful when mounting devices (like digital cameras)
1742 that are set to UTC in order to avoid the pitfalls of
1743 local time.
1744 .TP
1745 .BI time_offset= minutes
1746 Set offset for conversion of timestamps from local time used by FAT to UTC.
1747 I.e.,
1748 .I minutes
1749 will be subtracted from each timestamp to convert it to UTC used
1750 internally by Linux. This is useful when the time zone set in the kernel via
1751 .BR settimeofday (2)
1752 is not the time zone used by the filesystem. Note
1753 that this option still does not provide correct time stamps in all cases in
1754 presence of DST - time stamps in a different DST setting will be off by one
1755 hour.
1756 .TP
1757 .B quiet
1758 Turn on the
1759 .I quiet
1760 flag. Attempts to chown or chmod files do not return errors,
1761 although they fail. Use with caution!
1762 .TP
1763 .B rodir
1764 FAT has the ATTR_RO (read-only) attribute. On Windows, the ATTR_RO of the
1765 directory will just be ignored, and is used only by applications as a flag
1766 (e.g.\& it's set for the customized folder).
1767
1768 If you want to use ATTR_RO as read-only flag even for the directory, set this
1769 option.
1770 .TP
1771 .B showexec
1772 If set, the execute permission bits of the file will be allowed only if
1773 the extension part of the name is \&.EXE, \&.COM, or \&.BAT. Not set by default.
1774 .TP
1775 .B sys_immutable
1776 If set, ATTR_SYS attribute on FAT is handled as IMMUTABLE flag on Linux.
1777 Not set by default.
1778 .TP
1779 .B flush
1780 If set, the filesystem will try to flush to disk more early than normal.
1781 Not set by default.
1782 .TP
1783 .B usefree
1784 Use the "free clusters" value stored on FSINFO. It'll
1785 be used to determine number of free clusters without
1786 scanning disk. But it's not used by default, because
1787 recent Windows don't update it correctly in some
1788 case. If you are sure the "free clusters" on FSINFO is
1789 correct, by this option you can avoid scanning disk.
1790 .TP
1791 .BR dots ", " nodots ", " dotsOK= [ yes | no ]
1792 Various misguided attempts to force Unix or DOS conventions
1793 onto a FAT filesystem.
1794
1795 .SS "Mount options for hfs"
1796 .TP
1797 .BI creator= cccc ", type=" cccc
1798 Set the creator/type values as shown by the MacOS finder
1799 used for creating new files. Default values: '????'.
1800 .TP
1801 .BI uid= n ", gid=" n
1802 Set the owner and group of all files.
1803 (Default: the UID and GID of the current process.)
1804 .TP
1805 .BI dir_umask= n ", file_umask=" n ", umask=" n
1806 Set the umask used for all directories, all regular files, or all
1807 files and directories. Defaults to the umask of the current process.
1808 .TP
1809 .BI session= n
1810 Select the CDROM session to mount.
1811 Defaults to leaving that decision to the CDROM driver.
1812 This option will fail with anything but a CDROM as underlying device.
1813 .TP
1814 .BI part= n
1815 Select partition number n from the device.
1816 Only makes sense for CDROMs.
1817 Defaults to not parsing the partition table at all.
1818 .TP
1819 .B quiet
1820 Don't complain about invalid mount options.
1821
1822 .SS "Mount options for hpfs"
1823 .TP
1824 \fBuid=\fP\,\fIvalue\fP and \fBgid=\fP\,\fIvalue\fP
1825 Set the owner and group of all files. (Default: the UID and GID
1826 of the current process.)
1827 .TP
1828 .BI umask= value
1829 Set the umask (the bitmask of the permissions that are
1830 .B not
1831 present). The default is the umask of the current process.
1832 The value is given in octal.
1833 .TP
1834 .BR case= { lower | asis }
1835 Convert all files names to lower case, or leave them.
1836 (Default:
1837 .BR case=lower .)
1838 .TP
1839 .BI conv= mode
1840 This option is obsolete and may fail or being ignored.
1841 .TP
1842 .B nocheck
1843 Do not abort mounting when certain consistency checks fail.
1844
1845 .SS "Mount options for iso9660"
1846 ISO 9660 is a standard describing a filesystem structure to be used
1847 on CD-ROMs. (This filesystem type is also seen on some DVDs. See also the
1848 .I udf
1849 filesystem.)
1850
1851 Normal
1852 .I iso9660
1853 filenames appear in an 8.3 format (i.e., DOS-like restrictions on filename
1854 length), and in addition all characters are in upper case. Also there is
1855 no field for file ownership, protection, number of links, provision for
1856 block/character devices, etc.
1857
1858 Rock Ridge is an extension to iso9660 that provides all of these UNIX-like
1859 features. Basically there are extensions to each directory record that
1860 supply all of the additional information, and when Rock Ridge is in use,
1861 the filesystem is indistinguishable from a normal UNIX filesystem (except
1862 that it is read-only, of course).
1863 .TP
1864 .B norock
1865 Disable the use of Rock Ridge extensions, even if available. Cf.\&
1866 .BR map .
1867 .TP
1868 .B nojoliet
1869 Disable the use of Microsoft Joliet extensions, even if available. Cf.\&
1870 .BR map .
1871 .TP
1872 .BR check= { r [ elaxed ]| s [ trict ]}
1873 With
1874 .BR check=relaxed ,
1875 a filename is first converted to lower case before doing the lookup.
1876 This is probably only meaningful together with
1877 .B norock
1878 and
1879 .BR map=normal .
1880 (Default:
1881 .BR check=strict .)
1882 .TP
1883 \fBuid=\fP\,\fIvalue\fP and \fBgid=\fP\,\fIvalue\fP
1884 Give all files in the filesystem the indicated user or group id,
1885 possibly overriding the information found in the Rock Ridge extensions.
1886 (Default:
1887 .BR uid=0,gid=0 .)
1888 .TP
1889 .BR map= { n [ ormal ]| o [ ff ]| a [ corn ]}
1890 For non-Rock Ridge volumes, normal name translation maps upper
1891 to lower case ASCII, drops a trailing `;1', and converts `;' to `.'.
1892 With
1893 .B map=off
1894 no name translation is done. See
1895 .BR norock .
1896 (Default:
1897 .BR map=normal .)
1898 .B map=acorn
1899 is like
1900 .B map=normal
1901 but also apply Acorn extensions if present.
1902 .TP
1903 .BI mode= value
1904 For non-Rock Ridge volumes, give all files the indicated mode.
1905 (Default: read and execute permission for everybody.)
1906 Octal mode values require a leading 0.
1907 .TP
1908 .B unhide
1909 Also show hidden and associated files.
1910 (If the ordinary files and the associated or hidden files have
1911 the same filenames, this may make the ordinary files inaccessible.)
1912 .TP
1913 .BR block= { 512 | 1024 | 2048 }
1914 Set the block size to the indicated value.
1915 (Default:
1916 .BR block=1024 .)
1917 .TP
1918 .BI conv= mode
1919 This option is obsolete and may fail or being ignored.
1920 .TP
1921 .B cruft
1922 If the high byte of the file length contains other garbage,
1923 set this mount option to ignore the high order bits of the file length.
1924 This implies that a file cannot be larger than 16\ MB.
1925 .TP
1926 .BI session= x
1927 Select number of session on multisession CD.
1928 .TP
1929 .BI sbsector= xxx
1930 Session begins from sector xxx.
1931 .LP
1932 The following options are the same as for vfat and specifying them only makes
1933 sense when using discs encoded using Microsoft's Joliet extensions.
1934 .TP
1935 .BI iocharset= value
1936 Character set to use for converting 16 bit Unicode characters on CD
1937 to 8 bit characters. The default is iso8859-1.
1938 .TP
1939 .B utf8
1940 Convert 16 bit Unicode characters on CD to UTF-8.
1941
1942 .SS "Mount options for jfs"
1943 .TP
1944 .BI iocharset= name
1945 Character set to use for converting from Unicode to ASCII. The default is
1946 to do no conversion. Use
1947 .B iocharset=utf8
1948 for UTF8 translations. This requires CONFIG_NLS_UTF8 to be set in
1949 the kernel
1950 .I ".config"
1951 file.
1952 .TP
1953 .BI resize= value
1954 Resize the volume to
1955 .I value
1956 blocks. JFS only supports growing a volume, not shrinking it. This option
1957 is only valid during a remount, when the volume is mounted read-write. The
1958 .B resize
1959 keyword with no value will grow the volume to the full size of the partition.
1960 .TP
1961 .B nointegrity
1962 Do not write to the journal. The primary use of this option is to allow
1963 for higher performance when restoring a volume from backup media. The
1964 integrity of the volume is not guaranteed if the system abnormally ends.
1965 .TP
1966 .B integrity
1967 Default. Commit metadata changes to the journal. Use this option to remount
1968 a volume where the
1969 .B nointegrity
1970 option was previously specified in order to restore normal behavior.
1971 .TP
1972 .BR errors= { continue | remount-ro | panic }
1973 Define the behavior when an error is encountered.
1974 (Either ignore errors and just mark the filesystem erroneous and continue,
1975 or remount the filesystem read-only, or panic and halt the system.)
1976 .TP
1977 .BR noquota | quota | usrquota | grpquota
1978 These options are accepted but ignored.
1979
1980 .SS "Mount options for msdos"
1981 See mount options for fat.
1982 If the
1983 .I msdos
1984 filesystem detects an inconsistency, it reports an error and sets the file
1985 system read-only. The filesystem can be made writable again by remounting
1986 it.
1987
1988 .SS "Mount options for ncpfs"
1989 Just like
1990 .IR nfs ", the " ncpfs
1991 implementation expects a binary argument (a
1992 .IR "struct ncp_mount_data" )
1993 to the mount system call. This argument is constructed by
1994 .BR ncpmount (8)
1995 and the current version of
1996 .B mount
1997 (2.12) does not know anything about ncpfs.
1998
1999 .SS "Mount options for ntfs"
2000 .TP
2001 .BI iocharset= name
2002 Character set to use when returning file names.
2003 Unlike VFAT, NTFS suppresses names that contain
2004 nonconvertible characters. Deprecated.
2005 .TP
2006 .BI nls= name
2007 New name for the option earlier called
2008 .IR iocharset .
2009 .TP
2010 .B utf8
2011 Use UTF-8 for converting file names.
2012 .TP
2013 .BR uni_xlate= { 0 | 1 | 2 }
2014 For 0 (or `no' or `false'), do not use escape sequences
2015 for unknown Unicode characters.
2016 For 1 (or `yes' or `true') or 2, use vfat-style 4-byte escape sequences
2017 starting with ":". Here 2 give a little-endian encoding
2018 and 1 a byteswapped bigendian encoding.
2019 .TP
2020 .B posix=[0|1]
2021 If enabled (posix=1), the filesystem distinguishes between
2022 upper and lower case. The 8.3 alias names are presented as
2023 hard links instead of being suppressed. This option is obsolete.
2024 .TP
2025 \fBuid=\fP\,\fIvalue\fP, \fBgid=\fP\,\fIvalue\fP and \fBumask=\fP\,\fIvalue\fP
2026 Set the file permission on the filesystem.
2027 The umask value is given in octal.
2028 By default, the files are owned by root and not readable by somebody else.
2029
2030 .SS "Mount options for overlay"
2031 Since Linux 3.18 the overlay pseudo filesystem implements a union mount for
2032 other filesystems.
2033
2034 An overlay filesystem combines two filesystems - an \fBupper\fR filesystem and
2035 a \fBlower\fR filesystem. When a name exists in both filesystems, the object
2036 in the upper filesystem is visible while the object in the lower filesystem is
2037 either hidden or, in the case of directories, merged with the upper object.
2038
2039 The lower filesystem can be any filesystem supported by Linux and does not need
2040 to be writable. The lower filesystem can even be another overlayfs. The upper
2041 filesystem will normally be writable and if it is it must support the creation
2042 of trusted.* extended attributes, and must provide a valid d_type in readdir
2043 responses, so NFS is not suitable.
2044
2045 A read-only overlay of two read-only filesystems may use any filesystem type.
2046 The options \fBlowerdir\fR and \fBupperdir\fR are combined into a merged
2047 directory by using:
2048
2049 .RS
2050 .br
2051 .nf
2052 .B "mount \-t overlay overlay \e"
2053 .B " \-olowerdir=/lower,upperdir=/upper,workdir=/work /merged"
2054 .fi
2055 .br
2056 .RE
2057
2058 .TP
2059 .BI lowerdir= directory
2060 Any filesystem, does not need to be on a writable filesystem.
2061 .TP
2062 .BI upperdir= directory
2063 The upperdir is normally on a writable filesystem.
2064 .TP
2065 .BI workdir= directory
2066 The workdir needs to be an empty directory on the same filesystem as upperdir.
2067
2068 .SS "Mount options for reiserfs"
2069 Reiserfs is a journaling filesystem.
2070 .TP
2071 .B conv
2072 Instructs version 3.6 reiserfs software to mount a version 3.5 filesystem,
2073 using the 3.6 format for newly created objects. This filesystem will no
2074 longer be compatible with reiserfs 3.5 tools.
2075 .TP
2076 .BR hash= { rupasov | tea | r5 | detect }
2077 Choose which hash function reiserfs will use to find files within directories.
2078 .RS
2079 .TP
2080 .B rupasov
2081 A hash invented by Yury Yu.\& Rupasov. It is fast and preserves locality,
2082 mapping lexicographically close file names to close hash values.
2083 This option should not be used, as it causes a high probability of hash
2084 collisions.
2085 .TP
2086 .B tea
2087 A Davis-Meyer function implemented by Jeremy Fitzhardinge.
2088 It uses hash permuting bits in the name. It gets high randomness
2089 and, therefore, low probability of hash collisions at some CPU cost.
2090 This may be used if EHASHCOLLISION errors are experienced with the r5 hash.
2091 .TP
2092 .B r5
2093 A modified version of the rupasov hash. It is used by default and is
2094 the best choice unless the filesystem has huge directories and
2095 unusual file-name patterns.
2096 .TP
2097 .B detect
2098 Instructs
2099 .I mount
2100 to detect which hash function is in use by examining
2101 the filesystem being mounted, and to write this information into
2102 the reiserfs superblock. This is only useful on the first mount of
2103 an old format filesystem.
2104 .RE
2105 .TP
2106 .B hashed_relocation
2107 Tunes the block allocator. This may provide performance improvements
2108 in some situations.
2109 .TP
2110 .B no_unhashed_relocation
2111 Tunes the block allocator. This may provide performance improvements
2112 in some situations.
2113 .TP
2114 .B noborder
2115 Disable the border allocator algorithm invented by Yury Yu.\& Rupasov.
2116 This may provide performance improvements in some situations.
2117 .TP
2118 .B nolog
2119 Disable journaling. This will provide slight performance improvements in
2120 some situations at the cost of losing reiserfs's fast recovery from crashes.
2121 Even with this option turned on, reiserfs still performs all journaling
2122 operations, save for actual writes into its journaling area. Implementation
2123 of
2124 .I nolog
2125 is a work in progress.
2126 .TP
2127 .B notail
2128 By default, reiserfs stores small files and `file tails' directly into its
2129 tree. This confuses some utilities such as
2130 .BR LILO (8).
2131 This option is used to disable packing of files into the tree.
2132 .TP
2133 .B replayonly
2134 Replay the transactions which are in the journal, but do not actually
2135 mount the filesystem. Mainly used by
2136 .IR reiserfsck .
2137 .TP
2138 .BI resize= number
2139 A remount option which permits online expansion of reiserfs partitions.
2140 Instructs reiserfs to assume that the device has
2141 .I number
2142 blocks.
2143 This option is designed for use with devices which are under logical
2144 volume management (LVM).
2145 There is a special
2146 .I resizer
2147 utility which can be obtained from
2148 .IR ftp://ftp.namesys.com/pub/reiserfsprogs .
2149 .TP
2150 .B user_xattr
2151 Enable Extended User Attributes. See the
2152 .BR attr (1)
2153 manual page.
2154 .TP
2155 .B acl
2156 Enable POSIX Access Control Lists. See the
2157 .BR acl (5)
2158 manual page.
2159 .TP
2160 .BR barrier=none " / " barrier=flush "
2161 This disables / enables the use of write barriers in the journaling code.
2162 barrier=none disables, barrier=flush enables (default). This also requires an
2163 IO stack which can support barriers, and if reiserfs gets an error on a barrier
2164 write, it will disable barriers again with a warning. Write barriers enforce
2165 proper on-disk ordering of journal commits, making volatile disk write caches
2166 safe to use, at some performance penalty. If your disks are battery-backed in
2167 one way or another, disabling barriers may safely improve performance.
2168
2169 .SS "Mount options for ubifs"
2170 UBIFS is a flash filesystem which works on top of UBI volumes. Note that
2171 \fBatime\fR is not supported and is always turned off.
2172 .TP
2173 The device name may be specified as
2174 .RS
2175 .B ubiX_Y
2176 UBI device number
2177 .BR X ,
2178 volume number
2179 .B Y
2180 .TP
2181 .B ubiY
2182 UBI device number
2183 .BR 0 ,
2184 volume number
2185 .B Y
2186 .TP
2187 .B ubiX:NAME
2188 UBI device number
2189 .BR X ,
2190 volume with name
2191 .B NAME
2192 .TP
2193 .B ubi:NAME
2194 UBI device number
2195 .BR 0 ,
2196 volume with name
2197 .B NAME
2198 .RE
2199 Alternative
2200 .B !
2201 separator may be used instead of
2202 .BR : .
2203 .TP
2204 The following mount options are available:
2205 .TP
2206 .B bulk_read
2207 Enable bulk-read. VFS read-ahead is disabled because it slows down the file
2208 system. Bulk-Read is an internal optimization. Some flashes may read faster if
2209 the data are read at one go, rather than at several read requests. For
2210 example, OneNAND can do "read-while-load" if it reads more than one NAND page.
2211 .TP
2212 .B no_bulk_read
2213 Do not bulk-read. This is the default.
2214 .TP
2215 .B chk_data_crc
2216 Check data CRC-32 checksums. This is the default.
2217 .TP
2218 .BR no_chk_data_crc .
2219 Do not check data CRC-32 checksums. With this option, the filesystem does not
2220 check CRC-32 checksum for data, but it does check it for the internal indexing
2221 information. This option only affects reading, not writing. CRC-32 is always
2222 calculated when writing the data.
2223 .TP
2224 .BR compr= { none | lzo | zlib }
2225 Select the default compressor which is used when new files are written. It is
2226 still possible to read compressed files if mounted with the
2227 .B none
2228 option.
2229
2230 .SS "Mount options for udf"
2231 UDF is the "Universal Disk Format" filesystem defined by OSTA, the Optical
2232 Storage Technology Association, and is often used for DVD-ROM, frequently
2233 in the form of a hybrid UDF/ISO-9660 filesystem. It is, however,
2234 perfectly usable by itself on disk drives, flash drives and other block devices.
2235 See also
2236 .IR iso9660 .
2237 .TP
2238 .B uid=
2239 Make all files in the filesystem belong to the given user.
2240 uid=forget can be specified independently of (or usually in
2241 addition to) uid=<user> and results in UDF
2242 not storing uids to the media. In fact the recorded uid
2243 is the 32-bit overflow uid \-1 as defined by the UDF standard.
2244 The value is given as either <user> which is a valid user name or the corresponding
2245 decimal user id, or the special string "forget".
2246 .TP
2247 .B gid=
2248 Make all files in the filesystem belong to the given group.
2249 gid=forget can be specified independently of (or usually in
2250 addition to) gid=<group> and results in UDF
2251 not storing gids to the media. In fact the recorded gid
2252 is the 32-bit overflow gid \-1 as defined by the UDF standard.
2253 The value is given as either <group> which is a valid group name or the corresponding
2254 decimal group id, or the special string "forget".
2255 .TP
2256 .B umask=
2257 Mask out the given permissions from all inodes read from the filesystem.
2258 The value is given in octal.
2259 .TP
2260 .B mode=
2261 If mode= is set the permissions of all non-directory inodes read from the
2262 filesystem will be set to the given mode. The value is given in octal.
2263 .TP
2264 .B dmode=
2265 If dmode= is set the permissions of all directory inodes read from the
2266 filesystem will be set to the given dmode. The value is given in octal.
2267 .TP
2268 .B bs=
2269 Set the block size. Default value prior to kernel version 2.6.30 was
2270 2048. Since 2.6.30 and prior to 4.11 it was logical device block size with
2271 fallback to 2048. Since 4.11 it is logical block size with fallback to
2272 any valid block size between logical device block size and 4096.
2273
2274 For other details see the \fBmkudffs\fP(8) 2.0+ manpage, sections
2275 \fBCOMPATIBILITY\fP and \fBBLOCK SIZE\fP.
2276 .TP
2277 .B unhide
2278 Show otherwise hidden files.
2279 .TP
2280 .B undelete
2281 Show deleted files in lists.
2282 .TP
2283 .B adinicb
2284 Embed data in the inode. (default)
2285 .TP
2286 .B noadinicb
2287 Don't embed data in the inode.
2288 .TP
2289 .B shortad
2290 Use short UDF address descriptors.
2291 .TP
2292 .B longad
2293 Use long UDF address descriptors. (default)
2294 .TP
2295 .B nostrict
2296 Unset strict conformance.
2297 .TP
2298 .B iocharset=
2299 Set the NLS character set. This requires kernel compiled with CONFIG_UDF_NLS option.
2300 .TP
2301 .B utf8
2302 Set the UTF-8 character set.
2303 .SS Mount options for debugging and disaster recovery
2304 .TP
2305 .B novrs
2306 Ignore the Volume Recognition Sequence and attempt to mount anyway.
2307 .TP
2308 .B session=
2309 Select the session number for multi-session recorded optical media. (default= last session)
2310 .TP
2311 .B anchor=
2312 Override standard anchor location. (default= 256)
2313 .TP
2314 .B lastblock=
2315 Set the last block of the filesystem.
2316 .SS Unused historical mount options that may be encountered and should be removed
2317 .TP
2318 .B uid=ignore
2319 Ignored, use uid=<user> instead.
2320 .TP
2321 .B gid=ignore
2322 Ignored, use gid=<group> instead.
2323 .TP
2324 .B volume=
2325 Unimplemented and ignored.
2326 .TP
2327 .B partition=
2328 Unimplemented and ignored.
2329 .TP
2330 .B fileset=
2331 Unimplemented and ignored.
2332 .TP
2333 .B rootdir=
2334 Unimplemented and ignored.
2335
2336 .SS "Mount options for ufs"
2337 .TP
2338 .BI ufstype= value
2339 UFS is a filesystem widely used in different operating systems.
2340 The problem are differences among implementations. Features of some
2341 implementations are undocumented, so its hard to recognize the
2342 type of ufs automatically.
2343 That's why the user must specify the type of ufs by mount option.
2344 Possible values are:
2345 .RS
2346 .TP
2347 .B old
2348 Old format of ufs, this is the default, read only.
2349 (Don't forget to give the \-r option.)
2350 .TP
2351 .B 44bsd
2352 For filesystems created by a BSD-like system (NetBSD, FreeBSD, OpenBSD).
2353 .TP
2354 .B ufs2
2355 Used in FreeBSD 5.x supported as read-write.
2356 .TP
2357 .B 5xbsd
2358 Synonym for ufs2.
2359 .TP
2360 .B sun
2361 For filesystems created by SunOS or Solaris on Sparc.
2362 .TP
2363 .B sunx86
2364 For filesystems created by Solaris on x86.
2365 .TP
2366 .B hp
2367 For filesystems created by HP-UX, read-only.
2368 .TP
2369 .B nextstep
2370 For filesystems created by NeXTStep (on NeXT station) (currently read only).
2371 .TP
2372 .B nextstep-cd
2373 For NextStep CDROMs (block_size == 2048), read-only.
2374 .TP
2375 .B openstep
2376 For filesystems created by OpenStep (currently read only).
2377 The same filesystem type is also used by Mac OS X.
2378 .RE
2379
2380 .TP
2381 .BI onerror= value
2382 Set behavior on error:
2383 .RS
2384 .TP
2385 .B panic
2386 If an error is encountered, cause a kernel panic.
2387 .TP
2388 .RB [ lock | umount | repair ]
2389 These mount options don't do anything at present;
2390 when an error is encountered only a console message is printed.
2391 .RE
2392
2393 .SS "Mount options for umsdos"
2394 See mount options for msdos.
2395 The
2396 .B dotsOK
2397 option is explicitly killed by
2398 .IR umsdos .
2399
2400 .SS "Mount options for vfat"
2401 First of all, the mount options for
2402 .I fat
2403 are recognized.
2404 The
2405 .B dotsOK
2406 option is explicitly killed by
2407 .IR vfat .
2408 Furthermore, there are
2409 .TP
2410 .B uni_xlate
2411 Translate unhandled Unicode characters to special escaped sequences.
2412 This lets you backup and restore filenames that are created with any
2413 Unicode characters. Without this option, a '?' is used when no
2414 translation is possible. The escape character is ':' because it is
2415 otherwise invalid on the vfat filesystem. The escape sequence
2416 that gets used, where u is the Unicode character,
2417 is: ':', (u & 0x3f), ((u>>6) & 0x3f), (u>>12).
2418 .TP
2419 .B posix
2420 Allow two files with names that only differ in case.
2421 This option is obsolete.
2422 .TP
2423 .B nonumtail
2424 First try to make a short name without sequence number,
2425 before trying
2426 .IR name\s+3~\s0num.ext .
2427 .TP
2428 .B utf8
2429 UTF8 is the filesystem safe 8-bit encoding of Unicode that is used by the
2430 console. It can be enabled for the filesystem with this option or disabled
2431 with utf8=0, utf8=no or utf8=false. If `uni_xlate' gets set, UTF8 gets
2432 disabled.
2433 .TP
2434 .BI shortname= mode
2435 Defines the behavior for creation and display of filenames which fit into
2436 8.3 characters. If a long name for a file exists, it will always be the
2437 preferred one for display. There are four \fImode\fRs:
2438 .RS
2439 .TP
2440 .B lower
2441 Force the short name to lower case upon display; store a long name when
2442 the short name is not all upper case.
2443 .TP
2444 .B win95
2445 Force the short name to upper case upon display; store a long name when
2446 the short name is not all upper case.
2447 .TP
2448 .B winnt
2449 Display the short name as is; store a long name when the short name is
2450 not all lower case or all upper case.
2451 .TP
2452 .B mixed
2453 Display the short name as is; store a long name when the short name is not
2454 all upper case. This mode is the default since Linux 2.6.32.
2455 .RE
2456
2457 .SS "Mount options for usbfs"
2458 .TP
2459 \fBdevuid=\fP\,\fIuid\fP and \fBdevgid=\fP\,\fIgid\fP and \fBdevmode=\fP\,\fImode\fP
2460 Set the owner and group and mode of the device files in the usbfs filesystem
2461 (default: uid=gid=0, mode=0644). The mode is given in octal.
2462 .TP
2463 \fBbusuid=\fP\,\fIuid\fP and \fBbusgid=\fP\,\fIgid\fP and \fBbusmode=\fP\,\fImode\fP
2464 Set the owner and group and mode of the bus directories in the usbfs
2465 filesystem (default: uid=gid=0, mode=0555). The mode is given in octal.
2466 .TP
2467 \fBlistuid=\fP\,\fIuid\fP and \fBlistgid=\fP\,\fIgid\fP and \fBlistmode=\fP\,\fImode\fP
2468 Set the owner and group and mode of the file
2469 .I devices
2470 (default: uid=gid=0, mode=0444). The mode is given in octal.
2471
2472 .SH DM-VERITY SUPPORT (experimental)
2473 The device-mapper verity target provides read-only transparent integrity
2474 checking of block devices using kernel crypto API. The mount command can open
2475 the dm-verity device and do the integrity verification before on the device
2476 filesystem is mounted. Requires libcryptsetup with in libmount. If
2477 libcryptsetup supports extracting the root hash of an already mounted device,
2478 existing devices will be automatically reused in case of a match.
2479 Mount options for dm-verity:
2480 .TP
2481 \fBverity.hashdevice=\fP\,\fIpath\fP
2482 Path to the hash tree device associated with the source volume to pass to dm-verity.
2483 .TP
2484 \fBverity.roothash=\fP\,\fIhex\fP
2485 Hex-encoded hash of the root of
2486 .I verity.hashdevice
2487 Mutually exclusive with
2488 .I verity.roothashfile.
2489 .TP
2490 \fBverity.roothashfile=\fP\,\fIpath\fP
2491 Path to file containing the hex-encoded hash of the root of
2492 .I verity.hashdevice.
2493 Mutually exclusive with
2494 .I verity.roothash.
2495 .TP
2496 \fBverity.hashoffset=\fP\,\fIoffset\fP
2497 If the hash tree device is embedded in the source volume,
2498 .I offset
2499 (default: 0) is used by dm-verity to get to the tree.
2500 .TP
2501 \fBverity.fecdevice=\fP\,\fIpath\fP
2502 Path to the Forward Error Correction (FEC) device associated with the source volume to pass to dm-verity.
2503 Optional. Requires kernel built with CONFIG_DM_VERITY_FEC.
2504 .TP
2505 \fBverity.fecoffset=\fP\,\fIoffset\fP
2506 If the FEC device is embedded in the source volume,
2507 .I offset
2508 (default: 0) is used by dm-verity to get to the FEC area. Optional.
2509 .TP
2510 \fBverity.fecroots=\fP\,\fIvalue\fP
2511 Parity bytes for FEC (default: 2). Optional.
2512 .TP
2513 \fBverity.roothashsig=\fP\,\fIpath\fP
2514 Path to pkcs7 signature of root hash hex string. Requires crypt_activate_by_signed_key() from cryptsetup and
2515 kernel built with CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG. For device reuse, signatures have to be either used by all
2516 mounts of a device or by none. Optional.
2517 .PP
2518 Supported since util-linux v2.35.
2519 .PP
2520 For example commands:
2521 .sp
2522 .RS
2523 .nf
2524 .B mksquashfs /etc /tmp/etc.squashfs
2525 .B dd if=/dev/zero of=/tmp/etc.hash bs=1M count=10
2526 .B veritysetup format /tmp/etc.squashfs /tmp/etc.hash
2527 .B openssl smime \-sign \-in <hash> \-nocerts \-inkey private.key \-signer private.crt \-noattr \-binary \-outform der \-out /tmp/etc.p7
2528 .B mount \-o verity.hashdevice=/tmp/etc.hash,verity.roothash=<hash>,verity.roothashsig=/tmp/etc.p7 /tmp/etc.squashfs /mnt
2529 .fi
2530 .RE
2531 .sp
2532 create squashfs image from /etc directory, verity hash device
2533 and mount verified filesystem image to /mnt.
2534 The kernel will verify that the root hash is signed by a key from the kernel keyring if roothashsig is used.
2535
2536 .SH LOOP-DEVICE SUPPORT
2537 One further possible type is a mount via the loop device. For example,
2538 the command
2539 .RS
2540 .sp
2541 .B "mount /tmp/disk.img /mnt \-t vfat \-o loop=/dev/loop3"
2542 .sp
2543 .RE
2544 will set up the loop device
2545 .I /dev/loop3
2546 to correspond to the file
2547 .IR /tmp/disk.img ,
2548 and then mount this device on
2549 .IR /mnt .
2550
2551 If no explicit loop device is mentioned
2552 (but just an option `\fB\-o loop\fP' is given), then
2553 .B mount
2554 will try to find some unused loop device and use that, for example
2555 .RS
2556 .sp
2557 .B "mount /tmp/disk.img /mnt \-o loop"
2558 .sp
2559 .RE
2560 The mount command
2561 .B automatically
2562 creates a loop device from a regular file if a filesystem type is
2563 not specified or the filesystem is known for libblkid, for example:
2564 .RS
2565 .sp
2566 .B "mount /tmp/disk.img /mnt"
2567 .sp
2568 .B "mount \-t ext4 /tmp/disk.img /mnt"
2569 .sp
2570 .RE
2571 This type of mount knows about three options, namely
2572 .BR loop ", " offset " and " sizelimit ,
2573 that are really options to
2574 .BR \%losetup (8).
2575 (These options can be used in addition to those specific
2576 to the filesystem type.)
2577
2578 Since Linux 2.6.25 auto-destruction of loop devices is supported,
2579 meaning that any loop device allocated by
2580 .B mount
2581 will be freed by
2582 .B umount
2583 independently of
2584 .IR /etc/mtab .
2585
2586 You can also free a loop device by hand, using
2587 .BR "losetup \-d " or " umount \-d" .
2588
2589 Since util-linux v2.29 mount command re-uses the loop device rather than
2590 initialize a new device if the same backing file is already used for some loop
2591 device with the same offset and sizelimit. This is necessary to avoid
2592 a filesystem corruption.
2593
2594 .SH EXIT STATUS
2595 .B mount
2596 has the following exit status values (the bits can be ORed):
2597 .TP
2598 .B 0
2599 success
2600 .TP
2601 .B 1
2602 incorrect invocation or permissions
2603 .TP
2604 .B 2
2605 system error (out of memory, cannot fork, no more loop devices)
2606 .TP
2607 .B 4
2608 internal
2609 .B mount
2610 bug
2611 .TP
2612 .B 8
2613 user interrupt
2614 .TP
2615 .B 16
2616 problems writing or locking /etc/mtab
2617 .TP
2618 .B 32
2619 mount failure
2620 .TP
2621 .B 64
2622 some mount succeeded
2623
2624 The command \fBmount \-a\fR returns 0 (all succeeded), 32 (all failed), or 64 (some
2625 failed, some succeeded).
2626
2627 .SH EXTERNAL HELPERS
2628 The syntax of external mount helpers is:
2629 .sp
2630 .in +4
2631 .BI /sbin/mount. suffix
2632 .I spec dir
2633 .RB [ \-sfnv ]
2634 .RB [ \-N
2635 .IR namespace ]
2636 .RB [ \-o
2637 .IR options ]
2638 .RB [ \-t
2639 .IR type \fB. subtype ]
2640 .in
2641 .sp
2642 where the \fIsuffix\fR is the filesystem type and the \fB\-sfnvoN\fR options have
2643 the same meaning as the normal mount options. The \fB\-t\fR option is used for
2644 filesystems with subtypes support (for example
2645 .BR "/sbin/mount.fuse \-t fuse.sshfs" ).
2646
2647 The command \fBmount\fR does not pass the mount options
2648 .BR unbindable ,
2649 .BR runbindable ,
2650 .BR private ,
2651 .BR rprivate ,
2652 .BR slave ,
2653 .BR rslave ,
2654 .BR shared ,
2655 .BR rshared ,
2656 .BR auto ,
2657 .BR noauto ,
2658 .BR comment ,
2659 .BR x-* ,
2660 .BR loop ,
2661 .B offset
2662 and
2663 .B sizelimit
2664 to the mount.<suffix> helpers. All other options are used in a
2665 comma-separated list as argument to the \fB\-o\fR option.
2666
2667 .SH ENVIRONMENT
2668 .IP LIBMOUNT_FSTAB=<path>
2669 overrides the default location of the
2670 .I fstab
2671 file (ignored for suid)
2672 .IP LIBMOUNT_MTAB=<path>
2673 overrides the default location of the
2674 .I mtab
2675 file (ignored for suid)
2676 .IP LIBMOUNT_DEBUG=all
2677 enables libmount debug output
2678 .IP LIBBLKID_DEBUG=all
2679 enables libblkid debug output
2680 .IP LOOPDEV_DEBUG=all
2681 enables loop device setup debug output
2682 .SH FILES
2683 See also "\fBThe files /etc/fstab, /etc/mtab and /proc/mounts\fR" section above.
2684 .TP 18n
2685 .I /etc/fstab
2686 filesystem table
2687 .TP
2688 .I /run/mount
2689 libmount private runtime directory
2690 .TP
2691 .I /etc/mtab
2692 table of mounted filesystems or symlink to
2693 .I /proc/mounts
2694 .TP
2695 .I /etc/mtab\s+3~\s0
2696 lock file (unused on systems with mtab symlink)
2697 .TP
2698 .I /etc/mtab.tmp
2699 temporary file (unused on systems with mtab symlink)
2700 .TP
2701 .I /etc/filesystems
2702 a list of filesystem types to try
2703 .SH HISTORY
2704 A
2705 .B mount
2706 command existed in Version 5 AT&T UNIX.
2707 .SH BUGS
2708 It is possible for a corrupted filesystem to cause a crash.
2709 .PP
2710 Some Linux filesystems don't support
2711 .BR "\-o sync " nor " \-o dirsync"
2712 (the ext2, ext3, ext4, fat and vfat filesystems
2713 .I do
2714 support synchronous updates (a la BSD) when mounted with the
2715 .B sync
2716 option).
2717 .PP
2718 The
2719 .B "\-o remount"
2720 may not be able to change mount parameters (all
2721 .IR ext2fs -specific
2722 parameters, except
2723 .BR sb ,
2724 are changeable with a remount, for example, but you can't change
2725 .B gid
2726 or
2727 .B umask
2728 for the
2729 .IR fatfs ).
2730 .PP
2731 It is possible that the files
2732 .I /etc/mtab
2733 and
2734 .I /proc/mounts
2735 don't match on systems with a regular mtab file. The first file is based only on
2736 the mount command options, but the content of the second file also depends on
2737 the kernel and others settings (e.g.\& on a remote NFS server -- in certain cases
2738 the mount command may report unreliable information about an NFS mount point
2739 and the
2740 .I /proc/mount
2741 file usually contains more reliable information.) This is
2742 another reason to replace the
2743 .I mtab
2744 file with a symlink to the
2745 .I /proc/mounts
2746 file.
2747 .PP
2748 Checking files on NFS filesystems referenced by file descriptors (i.e.\& the
2749 .B fcntl
2750 and
2751 .B ioctl
2752 families of functions) may lead to inconsistent results due to the lack of
2753 a consistency check in the kernel even if noac is used.
2754 .PP
2755 The
2756 .B loop
2757 option with the
2758 .B offset
2759 or
2760 .B sizelimit
2761 options used may fail when using older kernels if the
2762 .B mount
2763 command can't confirm that the size of the block device has been configured
2764 as requested. This situation can be worked around by using
2765 the
2766 .B losetup
2767 command manually before calling
2768 .B mount
2769 with the configured loop device.
2770 .SH AUTHORS
2771 .nf
2772 Karel Zak <kzak@redhat.com>
2773 .fi
2774 .SH SEE ALSO
2775 .na
2776 .BR lsblk (1),
2777 .BR mount (2),
2778 .BR umount (2),
2779 .BR fileystems (5),
2780 .BR fstab (5),
2781 .BR nfs (5),
2782 .BR xfs (5),
2783 .BR mount_namespaces (7)
2784 .BR xattr (7)
2785 .BR e2label (8),
2786 .BR findmnt (8),
2787 .BR losetup (8),
2788 .BR mke2fs (8),
2789 .BR mountd (8),
2790 .BR nfsd (8),
2791 .BR swapon (8),
2792 .BR tune2fs (8),
2793 .BR umount (8),
2794 .BR xfs_admin (8)
2795 .ad
2796 .SH AVAILABILITY
2797 The mount command is part of the util-linux package and is available from
2798 https://www.kernel.org/pub/linux/utils/util-linux/.