|
Lines 38-43
Link Here
|
| 38 |
.\" 010714, Michael K. Johnson <johnsonm@redhat.com> added -O |
38 |
.\" 010714, Michael K. Johnson <johnsonm@redhat.com> added -O |
| 39 |
.\" 010725, Nikita Danilov <NikitaDanilov@Yahoo.COM>: reiserfs options |
39 |
.\" 010725, Nikita Danilov <NikitaDanilov@Yahoo.COM>: reiserfs options |
| 40 |
.\" 011124, Karl Eichwalder <ke@gnu.franken.de>: tmpfs options |
40 |
.\" 011124, Karl Eichwalder <ke@gnu.franken.de>: tmpfs options |
|
|
41 |
.\" 030808, Thomas Hood <jdthood@yahoo.co.uk>: symlinking /etc/mtab |
| 42 |
.\" 030809, Thomas Hood <jdthood@yahoo.co.uk>: use 'file system' consistently |
| 41 |
.\" |
43 |
.\" |
| 42 |
.TH MOUNT 8 "2004-12-16" "Linux 2.6" "Linux Programmer's Manual" |
44 |
.TH MOUNT 8 "2004-12-16" "Linux 2.6" "Linux Programmer's Manual" |
| 43 |
.SH NAME |
45 |
.SH NAME |
|
Lines 111-117
Link Here
|
| 111 |
After this call the same contents is accessible in two places. |
113 |
After this call the same contents is accessible in two places. |
| 112 |
One can also remount a single file (on a single file). |
114 |
One can also remount a single file (on a single file). |
| 113 |
|
115 |
|
| 114 |
This call attaches only (part of) a single filesystem, not possible |
116 |
This call attaches only (part of) a single file system, not possible |
| 115 |
submounts. The entire file hierarchy including submounts is attached |
117 |
submounts. The entire file hierarchy including submounts is attached |
| 116 |
a second place using |
118 |
a second place using |
| 117 |
.RS |
119 |
.RS |
|
Lines 120-126
Link Here
|
| 120 |
.RE |
122 |
.RE |
| 121 |
.\" available since Linux 2.4.11. |
123 |
.\" available since Linux 2.4.11. |
| 122 |
|
124 |
|
| 123 |
Note that the filesystem mount options will remain the same as those |
125 |
Note that the file system mount options will remain the same as those |
| 124 |
on the original mount point, and cannot be changed by passing the -o |
126 |
on the original mount point, and cannot be changed by passing the -o |
| 125 |
option along with --bind/--rbind. |
127 |
option along with --bind/--rbind. |
| 126 |
|
128 |
|
|
Lines 172-178
Link Here
|
| 172 |
keyword. Adding the |
174 |
keyword. Adding the |
| 173 |
.B \-F |
175 |
.B \-F |
| 174 |
option will make mount fork, so that the |
176 |
option will make mount fork, so that the |
| 175 |
filesystems are mounted simultaneously. |
177 |
file systems are mounted simultaneously. |
| 176 |
.LP |
178 |
.LP |
| 177 |
(ii) When mounting a file system mentioned in |
179 |
(ii) When mounting a file system mentioned in |
| 178 |
.IR fstab , |
180 |
.IR fstab , |
|
Lines 203-209
Link Here
|
| 203 |
.RE |
205 |
.RE |
| 204 |
For more details, see |
206 |
For more details, see |
| 205 |
.BR fstab (5). |
207 |
.BR fstab (5). |
| 206 |
Only the user that mounted a filesystem can unmount it again. |
208 |
Only the user that mounted a file system can unmount it again. |
| 207 |
If any user should be able to unmount, then use |
209 |
If any user should be able to unmount, then use |
| 208 |
.B users |
210 |
.B users |
| 209 |
instead of |
211 |
instead of |
|
Lines 236-260
Link Here
|
| 236 |
|
238 |
|
| 237 |
When the |
239 |
When the |
| 238 |
.I proc |
240 |
.I proc |
| 239 |
filesystem is mounted (say at |
241 |
file system is mounted (say at |
| 240 |
.IR /proc ), |
242 |
.IR /proc ), |
| 241 |
the files |
243 |
the files |
| 242 |
.I /etc/mtab |
244 |
.I /etc/mtab |
| 243 |
and |
245 |
and |
| 244 |
.I /proc/mounts |
246 |
.I /proc/mounts |
| 245 |
have very similar contents. The former has somewhat |
247 |
have very similar contents. The former contains somewhat |
| 246 |
more information, such as the mount options used, |
248 |
more information, such as the mount options used, |
| 247 |
but is not necessarily up-to-date (cf. the |
249 |
but is not necessarily completely accurate (cf. the |
| 248 |
.B \-n |
250 |
.B \-n |
| 249 |
option below). It is possible to replace |
251 |
and |
|
|
252 |
.B \-f |
| 253 |
options below). It is possible to replace |
| 250 |
.I /etc/mtab |
254 |
.I /etc/mtab |
| 251 |
by a symbolic link to |
255 |
by a symbolic link to |
| 252 |
.IR /proc/mounts , |
256 |
.IR /proc/mounts , |
| 253 |
and especially when you have very large numbers of mounts |
257 |
and especially when you have very large numbers of mounts |
| 254 |
things will be much faster with that symlink, |
258 |
things will be much faster with that symlink, |
| 255 |
but some information is lost that way, and in particular |
259 |
but some information is lost that way. As a result, |
| 256 |
working with the loop device will be less convenient, |
260 |
working with the loop device is less convenient |
| 257 |
and using the "user" option will fail. |
261 |
and the "user" option does not work. |
|
|
262 |
|
| 263 |
You can also replace |
| 264 |
.I /etc/mtab |
| 265 |
by a symbolic link to |
| 266 |
another location such as |
| 267 |
.IR /var/run/mtab . |
| 268 |
This may be useful if your root file system is mounted read-only |
| 269 |
but you have another file system such as |
| 270 |
.I /var |
| 271 |
that is writable where you can store the mtab. |
| 272 |
Note that in this case you will have to mount |
| 273 |
.I /var |
| 274 |
first using the |
| 275 |
.B \-n |
| 276 |
option. Once the target of the |
| 277 |
.I /etc/mtab |
| 278 |
symbolic link is writable you can run |
| 279 |
.B mount |
| 280 |
again with the |
| 281 |
.B \-f |
| 282 |
option to add the missing entry. |
| 258 |
|
283 |
|
| 259 |
.SH OPTIONS |
284 |
.SH OPTIONS |
| 260 |
The full set of options used by an invocation of |
285 |
The full set of options used by an invocation of |
|
Lines 282-288
Link Here
|
| 282 |
Verbose mode. |
307 |
Verbose mode. |
| 283 |
.TP |
308 |
.TP |
| 284 |
.B \-a |
309 |
.B \-a |
| 285 |
Mount all filesystems (of the given types) mentioned in |
310 |
Mount all file systems (of the given types) mentioned in |
| 286 |
.IR fstab . |
311 |
.IR fstab . |
| 287 |
.TP |
312 |
.TP |
| 288 |
.B \-F |
313 |
.B \-F |
|
Lines 336-342
Link Here
|
| 336 |
.TP |
361 |
.TP |
| 337 |
.B \-s |
362 |
.B \-s |
| 338 |
Tolerate sloppy mount options rather than failing. This will ignore |
363 |
Tolerate sloppy mount options rather than failing. This will ignore |
| 339 |
mount options not supported by a filesystem type. Not all filesystems |
364 |
mount options not supported by a file system type. Not all file systems |
| 340 |
support this option. This option exists for support of the Linux |
365 |
support this option. This option exists for support of the Linux |
| 341 |
autofs\-based automounter. |
366 |
autofs\-based automounter. |
| 342 |
.TP |
367 |
.TP |
|
Lines 419-425
Link Here
|
| 419 |
.B mount |
444 |
.B mount |
| 420 |
program has to do is issue a simple |
445 |
program has to do is issue a simple |
| 421 |
.IR mount (2) |
446 |
.IR mount (2) |
| 422 |
system call, and no detailed knowledge of the filesystem type is required. |
447 |
system call, and no detailed knowledge of the file system type is required. |
| 423 |
For a few types however (like nfs, smbfs, ncpfs) ad hoc code is |
448 |
For a few types however (like nfs, smbfs, ncpfs) ad hoc code is |
| 424 |
necessary. The nfs ad hoc code is built in, but smbfs and ncpfs |
449 |
necessary. The nfs ad hoc code is built in, but smbfs and ncpfs |
| 425 |
have a separate mount program. In order to make it possible to |
450 |
have a separate mount program. In order to make it possible to |
|
Lines 445-451
Link Here
|
| 445 |
.IR /etc/filesystems , |
470 |
.IR /etc/filesystems , |
| 446 |
or, if that does not exist, |
471 |
or, if that does not exist, |
| 447 |
.IR /proc/filesystems . |
472 |
.IR /proc/filesystems . |
| 448 |
All of the filesystem types listed there will be tried, |
473 |
All of the file system types listed there will be tried, |
| 449 |
except for those that are labeled "nodev" (e.g., |
474 |
except for those that are labeled "nodev" (e.g., |
| 450 |
.IR devpts , |
475 |
.IR devpts , |
| 451 |
.I proc |
476 |
.I proc |
|
Lines 465-471
Link Here
|
| 465 |
can be useful to change the probe order (e.g., to try vfat before msdos |
490 |
can be useful to change the probe order (e.g., to try vfat before msdos |
| 466 |
or ext3 before ext2) or if you use a kernel module autoloader. |
491 |
or ext3 before ext2) or if you use a kernel module autoloader. |
| 467 |
Warning: the probing uses a heuristic (the presence of appropriate `magic'), |
492 |
Warning: the probing uses a heuristic (the presence of appropriate `magic'), |
| 468 |
and could recognize the wrong filesystem type, possibly with catastrophic |
493 |
and could recognize the wrong file system type, possibly with catastrophic |
| 469 |
consequences. If your data is valuable, don't ask |
494 |
consequences. If your data is valuable, don't ask |
| 470 |
.B mount |
495 |
.B mount |
| 471 |
to guess. |
496 |
to guess. |
|
Lines 492-498
Link Here
|
| 492 |
.B \-O |
517 |
.B \-O |
| 493 |
Used in conjunction with |
518 |
Used in conjunction with |
| 494 |
.BR \-a , |
519 |
.BR \-a , |
| 495 |
to limit the set of filesystems to which the |
520 |
to limit the set of file systems to which the |
| 496 |
.B \-a |
521 |
.B \-a |
| 497 |
is applied. Like |
522 |
is applied. Like |
| 498 |
.B \-t |
523 |
.B \-t |
|
Lines 523-529
Link Here
|
| 523 |
.RS |
548 |
.RS |
| 524 |
.B "mount \-a \-t ext2 \-O _netdev" |
549 |
.B "mount \-a \-t ext2 \-O _netdev" |
| 525 |
.RE |
550 |
.RE |
| 526 |
mounts all ext2 filesystems with the _netdev option, not all filesystems |
551 |
mounts all ext2 file systems with the _netdev option, not all file systems |
| 527 |
that are either ext2 or have the _netdev option specified. |
552 |
that are either ext2 or have the _netdev option specified. |
| 528 |
.RE |
553 |
.RE |
| 529 |
.TP |
554 |
.TP |
|
Lines 569-580
Link Here
|
| 569 |
.BR group,dev,suid ). |
594 |
.BR group,dev,suid ). |
| 570 |
.TP |
595 |
.TP |
| 571 |
.B mand |
596 |
.B mand |
| 572 |
Allow mandatory locks on this filesystem. See |
597 |
Allow mandatory locks on this file system. See |
| 573 |
.BR fcntl (2). |
598 |
.BR fcntl (2). |
| 574 |
.TP |
599 |
.TP |
| 575 |
.B _netdev |
600 |
.B _netdev |
| 576 |
The filesystem resides on a device that requires network access |
601 |
The file system resides on a device that requires network access |
| 577 |
(used to prevent the system from attempting to mount these filesystems |
602 |
(used to prevent the system from attempting to mount these file systems |
| 578 |
until the network has been enabled on the system). |
603 |
until the network has been enabled on the system). |
| 579 |
.TP |
604 |
.TP |
| 580 |
.B noatime |
605 |
.B noatime |
|
Lines 596-602
Link Here
|
| 596 |
/lib/ld*.so /mnt/binary. This trick fails since Linux 2.4.25 / 2.6.0.) |
621 |
/lib/ld*.so /mnt/binary. This trick fails since Linux 2.4.25 / 2.6.0.) |
| 597 |
.TP |
622 |
.TP |
| 598 |
.B nomand |
623 |
.B nomand |
| 599 |
Do not allow mandatory locks on this filesystem. |
624 |
Do not allow mandatory locks on this file system. |
| 600 |
.TP |
625 |
.TP |
| 601 |
.B nosuid |
626 |
.B nosuid |
| 602 |
Do not allow set-user-identifier or set-group-identifier bits to take |
627 |
Do not allow set-user-identifier or set-group-identifier bits to take |
|
Lines 772-778
Link Here
|
| 772 |
.\" Due to a kernel bug, it may be mounted with random mount options |
797 |
.\" Due to a kernel bug, it may be mounted with random mount options |
| 773 |
.\" (fixed in Linux 2.0.4). |
798 |
.\" (fixed in Linux 2.0.4). |
| 774 |
Since Linux 2.5.46, for most mount options the default |
799 |
Since Linux 2.5.46, for most mount options the default |
| 775 |
is determined by the filesystem superblock. Set them with |
800 |
is determined by the file system superblock. Set them with |
| 776 |
.BR tune2fs (8). |
801 |
.BR tune2fs (8). |
| 777 |
.TP |
802 |
.TP |
| 778 |
.BR acl " / " noacl |
803 |
.BR acl " / " noacl |
|
Lines 817-823
Link Here
|
| 817 |
.\" Since 2.3.99-pre3 but before 2.6.0-test7 every string check=foo |
842 |
.\" Since 2.3.99-pre3 but before 2.6.0-test7 every string check=foo |
| 818 |
.\" was equivalent to just check. Since 2.6.0-test7 only check is accepted. |
843 |
.\" was equivalent to just check. Since 2.6.0-test7 only check is accepted. |
| 819 |
.BR check |
844 |
.BR check |
| 820 |
Check filesystem (block and inode bitmaps) at mount time. |
845 |
Check file system (block and inode bitmaps) at mount time. |
| 821 |
.\" requires CONFIG_EXT2_CHECK |
846 |
.\" requires CONFIG_EXT2_CHECK |
| 822 |
.TP |
847 |
.TP |
| 823 |
.BR check=none " / " nocheck |
848 |
.BR check=none " / " nocheck |
|
Lines 833-839
Link Here
|
| 833 |
Define the behaviour when an error is encountered. |
858 |
Define the behaviour when an error is encountered. |
| 834 |
(Either ignore errors and just mark the file system erroneous and continue, |
859 |
(Either ignore errors and just mark the file system erroneous and continue, |
| 835 |
or remount the file system read-only, or panic and halt the system.) |
860 |
or remount the file system read-only, or panic and halt the system.) |
| 836 |
The default is set in the filesystem superblock, and can be |
861 |
The default is set in the file system superblock, and can be |
| 837 |
changed using |
862 |
changed using |
| 838 |
.BR tune2fs (8). |
863 |
.BR tune2fs (8). |
| 839 |
.TP |
864 |
.TP |
|
Lines 872-889
Link Here
|
| 872 |
.BI sb= n |
897 |
.BI sb= n |
| 873 |
Instead of block 1, use block |
898 |
Instead of block 1, use block |
| 874 |
.I n |
899 |
.I n |
| 875 |
as superblock. This could be useful when the filesystem has been damaged. |
900 |
as superblock. This could be useful when the file system has been damaged. |
| 876 |
(Earlier, copies of the superblock would be made every 8192 blocks: in |
901 |
(Earlier, copies of the superblock would be made every 8192 blocks: in |
| 877 |
block 1, 8193, 16385, ... (and one got thousands of copies on |
902 |
block 1, 8193, 16385, ... (and one got thousands of copies on |
| 878 |
a big filesystem). Since version 1.08, |
903 |
a big file system). Since version 1.08, |
| 879 |
.B mke2fs |
904 |
.B mke2fs |
| 880 |
has a \-s (sparse superblock) option to reduce the number of backup |
905 |
has a \-s (sparse superblock) option to reduce the number of backup |
| 881 |
superblocks, and since version 1.15 this is the default. Note |
906 |
superblocks, and since version 1.15 this is the default. Note |
| 882 |
that this may mean that ext2 filesystems created by a recent |
907 |
that this may mean that ext2 file systems created by a recent |
| 883 |
.B mke2fs |
908 |
.B mke2fs |
| 884 |
cannot be mounted r/w under Linux 2.0.*.) |
909 |
cannot be mounted r/w under Linux 2.0.*.) |
| 885 |
The block number here uses 1k units. Thus, if you want to use logical |
910 |
The block number here uses 1k units. Thus, if you want to use logical |
| 886 |
block 32768 on a filesystem with 4k blocks, use "sb=131072". |
911 |
block 32768 on a file system with 4k blocks, use "sb=131072". |
| 887 |
.TP |
912 |
.TP |
| 888 |
.BR user_xattr " / " nouser_xattr |
913 |
.BR user_xattr " / " nouser_xattr |
| 889 |
Support "user." extended attributes (or not). |
914 |
Support "user." extended attributes (or not). |
|
Lines 943-954
Link Here
|
| 943 |
.SH "Mount options for fat" |
968 |
.SH "Mount options for fat" |
| 944 |
(Note: |
969 |
(Note: |
| 945 |
.I fat |
970 |
.I fat |
| 946 |
is not a separate filesystem, but a common part of the |
971 |
is not a separate file system, but a common part of the |
| 947 |
.IR msdos , |
972 |
.IR msdos , |
| 948 |
.I umsdos |
973 |
.I umsdos |
| 949 |
and |
974 |
and |
| 950 |
.I vfat |
975 |
.I vfat |
| 951 |
filesystems.) |
976 |
file systems.) |
| 952 |
.TP |
977 |
.TP |
| 953 |
.BR blocksize=512 " / " blocksize=1024 " / " blocksize=2048 |
978 |
.BR blocksize=512 " / " blocksize=1024 " / " blocksize=2048 |
| 954 |
Set blocksize (default 512). |
979 |
Set blocksize (default 512). |
|
Lines 999-1005
Link Here
|
| 999 |
.TP |
1024 |
.TP |
| 1000 |
.BI codepage= value |
1025 |
.BI codepage= value |
| 1001 |
Sets the codepage for converting to shortname characters on FAT |
1026 |
Sets the codepage for converting to shortname characters on FAT |
| 1002 |
and VFAT filesystems. By default, codepage 437 is used. |
1027 |
and VFAT file systems. By default, codepage 437 is used. |
| 1003 |
.TP |
1028 |
.TP |
| 1004 |
.BR conv=b[inary] " / " conv=t[ext] " / " conv=a[uto] |
1029 |
.BR conv=b[inary] " / " conv=t[ext] " / " conv=a[uto] |
| 1005 |
The |
1030 |
The |
|
Lines 1127-1136
Link Here
|
| 1127 |
Do not abort mounting when certain consistency checks fail. |
1152 |
Do not abort mounting when certain consistency checks fail. |
| 1128 |
|
1153 |
|
| 1129 |
.SH "Mount options for iso9660" |
1154 |
.SH "Mount options for iso9660" |
| 1130 |
ISO 9660 is a standard describing a filesystem structure to be used |
1155 |
ISO 9660 is a standard describing a file system structure to be used |
| 1131 |
on CD-ROMs. (This filesystem type is also seen on some DVDs. See also the |
1156 |
on CD-ROMs. (This file system type is also seen on some DVDs. See also the |
| 1132 |
.I udf |
1157 |
.I udf |
| 1133 |
filesystem.) |
1158 |
file system.) |
| 1134 |
|
1159 |
|
| 1135 |
Normal |
1160 |
Normal |
| 1136 |
.I iso9660 |
1161 |
.I iso9660 |
|
Lines 1142-1148
Link Here
|
| 1142 |
Rock Ridge is an extension to iso9660 that provides all of these unix like |
1167 |
Rock Ridge is an extension to iso9660 that provides all of these unix like |
| 1143 |
features. Basically there are extensions to each directory record that |
1168 |
features. Basically there are extensions to each directory record that |
| 1144 |
supply all of the additional information, and when Rock Ridge is in use, |
1169 |
supply all of the additional information, and when Rock Ridge is in use, |
| 1145 |
the filesystem is indistinguishable from a normal UNIX file system (except |
1170 |
the file system is indistinguishable from a normal UNIX file system (except |
| 1146 |
that it is read-only, of course). |
1171 |
that it is read-only, of course). |
| 1147 |
.TP |
1172 |
.TP |
| 1148 |
.B norock |
1173 |
.B norock |
|
Lines 1393-1399
Link Here
|
| 1393 |
hard links instead of being suppressed. |
1418 |
hard links instead of being suppressed. |
| 1394 |
.TP |
1419 |
.TP |
| 1395 |
\fBuid=\fP\fIvalue\fP, \fBgid=\fP\fIvalue\fP and \fBumask=\fP\fIvalue\fP |
1420 |
\fBuid=\fP\fIvalue\fP, \fBgid=\fP\fIvalue\fP and \fBumask=\fP\fIvalue\fP |
| 1396 |
Set the file permission on the filesystem. |
1421 |
Set the file permission on the file system. |
| 1397 |
The umask value is given in octal. |
1422 |
The umask value is given in octal. |
| 1398 |
By default, the files are owned by root and not readable by somebody else. |
1423 |
By default, the files are owned by root and not readable by somebody else. |
| 1399 |
|
1424 |
|
|
Lines 1403-1414
Link Here
|
| 1403 |
These options are recognized, but have no effect as far as I can see. |
1428 |
These options are recognized, but have no effect as far as I can see. |
| 1404 |
|
1429 |
|
| 1405 |
.SH "Mount options for ramfs" |
1430 |
.SH "Mount options for ramfs" |
| 1406 |
Ramfs is a memory based filesystem. Mount it and you have it. Unmount it |
1431 |
Ramfs is a memory based file system. Mount it and you have it. Unmount it |
| 1407 |
and it is gone. Present since Linux 2.3.99pre4. |
1432 |
and it is gone. Present since Linux 2.3.99pre4. |
| 1408 |
There are no mount options. |
1433 |
There are no mount options. |
| 1409 |
|
1434 |
|
| 1410 |
.SH "Mount options for reiserfs" |
1435 |
.SH "Mount options for reiserfs" |
| 1411 |
Reiserfs is a journaling filesystem. |
1436 |
Reiserfs is a journaling file system. |
| 1412 |
The reiserfs mount options are more fully described at |
1437 |
The reiserfs mount options are more fully described at |
| 1413 |
.IR http://www.namesys.com/mount-options.html . |
1438 |
.IR http://www.namesys.com/mount-options.html . |
| 1414 |
.TP |
1439 |
.TP |
|
Lines 1517-1523
Link Here
|
| 1517 |
for Ki, Mi, Gi (binary kilo, mega and giga) and can be changed on remount. |
1542 |
for Ki, Mi, Gi (binary kilo, mega and giga) and can be changed on remount. |
| 1518 |
.TP |
1543 |
.TP |
| 1519 |
.BI size= nbytes |
1544 |
.BI size= nbytes |
| 1520 |
Override default maximum size of the filesystem. |
1545 |
Override default maximum size of the file system. |
| 1521 |
The size is given in bytes, and rounded down to entire pages. |
1546 |
The size is given in bytes, and rounded down to entire pages. |
| 1522 |
The default is half of the memory. |
1547 |
The default is half of the memory. |
| 1523 |
.TP |
1548 |
.TP |
|
Lines 1531-1537
Link Here
|
| 1531 |
Set initial permissions of the root directory. |
1556 |
Set initial permissions of the root directory. |
| 1532 |
|
1557 |
|
| 1533 |
.SH "Mount options for udf" |
1558 |
.SH "Mount options for udf" |
| 1534 |
udf is the "Universal Disk Format" filesystem defined by the Optical |
1559 |
udf is the "Universal Disk Format" file system defined by the Optical |
| 1535 |
Storage Technology Association, and is often used for DVD-ROM. |
1560 |
Storage Technology Association, and is often used for DVD-ROM. |
| 1536 |
See also |
1561 |
See also |
| 1537 |
.IR iso9660 . |
1562 |
.IR iso9660 . |
|
Lines 1580-1586
Link Here
|
| 1580 |
Override the PartitionDesc location. (unused) |
1605 |
Override the PartitionDesc location. (unused) |
| 1581 |
.TP |
1606 |
.TP |
| 1582 |
.B lastblock= |
1607 |
.B lastblock= |
| 1583 |
Set the last block of the filesystem. |
1608 |
Set the last block of the file system. |
| 1584 |
.TP |
1609 |
.TP |
| 1585 |
.B fileset= |
1610 |
.B fileset= |
| 1586 |
Override the fileset block location. (unused) |
1611 |
Override the fileset block location. (unused) |
|
Lines 1604-1629
Link Here
|
| 1604 |
(Don't forget to give the \-r option.) |
1629 |
(Don't forget to give the \-r option.) |
| 1605 |
.TP |
1630 |
.TP |
| 1606 |
.B 44bsd |
1631 |
.B 44bsd |
| 1607 |
For filesystems created by a BSD-like system (NetBSD,FreeBSD,OpenBSD). |
1632 |
For file systems created by a BSD-like system (NetBSD,FreeBSD,OpenBSD). |
| 1608 |
.TP |
1633 |
.TP |
| 1609 |
.B sun |
1634 |
.B sun |
| 1610 |
For filesystems created by SunOS or Solaris on Sparc. |
1635 |
For file systems created by SunOS or Solaris on Sparc. |
| 1611 |
.TP |
1636 |
.TP |
| 1612 |
.B sunx86 |
1637 |
.B sunx86 |
| 1613 |
For filesystems created by Solaris on x86. |
1638 |
For file systems created by Solaris on x86. |
| 1614 |
.TP |
1639 |
.TP |
| 1615 |
.B hp |
1640 |
.B hp |
| 1616 |
For filesystems created by HP-UX, read-only. |
1641 |
For file systems created by HP-UX, read-only. |
| 1617 |
.TP |
1642 |
.TP |
| 1618 |
.B nextstep |
1643 |
.B nextstep |
| 1619 |
For filesystems created by NeXTStep (on NeXT station) (currently read only). |
1644 |
For file systems created by NeXTStep (on NeXT station) (currently read only). |
| 1620 |
.TP |
1645 |
.TP |
| 1621 |
.B nextstep-cd |
1646 |
.B nextstep-cd |
| 1622 |
For NextStep CDROMs (block_size == 2048), read-only. |
1647 |
For NextStep CDROMs (block_size == 2048), read-only. |
| 1623 |
.TP |
1648 |
.TP |
| 1624 |
.B openstep |
1649 |
.B openstep |
| 1625 |
For filesystems created by OpenStep (currently read only). |
1650 |
For file systems created by OpenStep (currently read only). |
| 1626 |
The same filesystem type is also used by Mac OS X. |
1651 |
The same file system type is also used by Mac OS X. |
| 1627 |
.RE |
1652 |
.RE |
| 1628 |
|
1653 |
|
| 1629 |
.TP |
1654 |
.TP |
|
Lines 1661-1667
Link Here
|
| 1661 |
This lets you backup and restore filenames that are created with any |
1686 |
This lets you backup and restore filenames that are created with any |
| 1662 |
Unicode characters. Without this option, a '?' is used when no |
1687 |
Unicode characters. Without this option, a '?' is used when no |
| 1663 |
translation is possible. The escape character is ':' because it is |
1688 |
translation is possible. The escape character is ':' because it is |
| 1664 |
otherwise illegal on the vfat filesystem. The escape sequence |
1689 |
otherwise illegal on the vfat file system. The escape sequence |
| 1665 |
that gets used, where u is the unicode character, |
1690 |
that gets used, where u is the unicode character, |
| 1666 |
is: ':', (u & 0x3f), ((u>>6) & 0x3f), (u>>12). |
1691 |
is: ':', (u & 0x3f), ((u>>6) & 0x3f), (u>>12). |
| 1667 |
.TP |
1692 |
.TP |
|
Lines 1674-1681
Link Here
|
| 1674 |
.IR name~num.ext . |
1699 |
.IR name~num.ext . |
| 1675 |
.TP |
1700 |
.TP |
| 1676 |
.B utf8 |
1701 |
.B utf8 |
| 1677 |
UTF8 is the filesystem safe 8-bit encoding of Unicode that is used |
1702 |
UTF8 is the file system safe 8-bit encoding of Unicode that is used |
| 1678 |
by the console. It can be be enabled for the filesystem with this option. |
1703 |
by the console. It can be be enabled for the file system with this option. |
| 1679 |
If `uni_xlate' gets set, UTF8 gets disabled. |
1704 |
If `uni_xlate' gets set, UTF8 gets disabled. |
| 1680 |
.TP |
1705 |
.TP |
| 1681 |
.B shortname=[lower|win95|winnt|mixed] |
1706 |
.B shortname=[lower|win95|winnt|mixed] |
|
Lines 1743-1751
Link Here
|
| 1743 |
.BI logbufs= value |
1768 |
.BI logbufs= value |
| 1744 |
Set the number of in-memory log buffers. |
1769 |
Set the number of in-memory log buffers. |
| 1745 |
Valid numbers range from 2-8 inclusive. |
1770 |
Valid numbers range from 2-8 inclusive. |
| 1746 |
The default value is 8 buffers for filesystems with a blocksize of 64K, |
1771 |
The default value is 8 buffers for file systems with a blocksize of 64K, |
| 1747 |
4 buffers for filesystems with a blocksize of 32K, |
1772 |
4 buffers for file systems with a blocksize of 32K, |
| 1748 |
3 buffers for filesystems with a blocksize of 16K, |
1773 |
3 buffers for file systems with a blocksize of 16K, |
| 1749 |
and 2 buffers for all other configurations. |
1774 |
and 2 buffers for all other configurations. |
| 1750 |
Increasing the number of buffers may increase performance on |
1775 |
Increasing the number of buffers may increase performance on |
| 1751 |
some workloads at the cost of the memory used for the |
1776 |
some workloads at the cost of the memory used for the |
|
Lines 1759-1765
Link Here
|
| 1759 |
.TP |
1784 |
.TP |
| 1760 |
\fBlogdev=\fP\fIdevice\fP and \fBrtdev=\fP\fIdevice\fP |
1785 |
\fBlogdev=\fP\fIdevice\fP and \fBrtdev=\fP\fIdevice\fP |
| 1761 |
Use an external log (metadata journal) and/or real-time device. |
1786 |
Use an external log (metadata journal) and/or real-time device. |
| 1762 |
An XFS filesystem has up to three parts: a data section, a log section, |
1787 |
An XFS file system has up to three parts: a data section, a log section, |
| 1763 |
and a real-time section. |
1788 |
and a real-time section. |
| 1764 |
The real-time section is optional, and the log section can be separate |
1789 |
The real-time section is optional, and the log section can be separate |
| 1765 |
from the data section or contained within it. |
1790 |
from the data section or contained within it. |
|
Lines 1773-1780
Link Here
|
| 1773 |
Access timestamps are not updated when a file is read. |
1798 |
Access timestamps are not updated when a file is read. |
| 1774 |
.TP |
1799 |
.TP |
| 1775 |
.B norecovery |
1800 |
.B norecovery |
| 1776 |
The filesystem will be mounted without running log recovery. |
1801 |
The file system will be mounted without running log recovery. |
| 1777 |
If the filesystem was not cleanly unmounted, it is likely to |
1802 |
If the file system was not cleanly unmounted, it is likely to |
| 1778 |
be inconsistent when mounted in |
1803 |
be inconsistent when mounted in |
| 1779 |
.B norecovery |
1804 |
.B norecovery |
| 1780 |
mode. |
1805 |
mode. |
|
Lines 1784-1790
Link Here
|
| 1784 |
must be mounted read-only or the mount will fail. |
1809 |
must be mounted read-only or the mount will fail. |
| 1785 |
.TP |
1810 |
.TP |
| 1786 |
.B nouuid |
1811 |
.B nouuid |
| 1787 |
Ignore the filesystem uuid. This avoids errors for duplicate uuids. |
1812 |
Ignore the file system uuid. This avoids errors for duplicate uuids. |
| 1788 |
.TP |
1813 |
.TP |
| 1789 |
.B osyncisdsync |
1814 |
.B osyncisdsync |
| 1790 |
Make writes to files opened with the O_SYNC flag set behave |
1815 |
Make writes to files opened with the O_SYNC flag set behave |
|
Lines 1805-1817
Link Here
|
| 1805 |
volume. |
1830 |
volume. |
| 1806 |
.I value |
1831 |
.I value |
| 1807 |
must be specified in 512-byte block units. |
1832 |
must be specified in 512-byte block units. |
| 1808 |
If this option is not specified and the filesystem was made on a stripe |
1833 |
If this option is not specified and the file system was made on a stripe |
| 1809 |
volume or the stripe width or unit were specified for the RAID device at |
1834 |
volume or the stripe width or unit were specified for the RAID device at |
| 1810 |
mkfs time, then the mount system call will restore the value from the |
1835 |
mkfs time, then the mount system call will restore the value from the |
| 1811 |
superblock. |
1836 |
superblock. |
| 1812 |
For filesystems that are made directly on RAID devices, these options can be |
1837 |
For file systems that are made directly on RAID devices, these options can be |
| 1813 |
used to override the information in the superblock if the underlying disk |
1838 |
used to override the information in the superblock if the underlying disk |
| 1814 |
layout changes after the filesystem has been created. |
1839 |
layout changes after the file system has been created. |
| 1815 |
The |
1840 |
The |
| 1816 |
.B swidth |
1841 |
.B swidth |
| 1817 |
option is required if the |
1842 |
option is required if the |
|
Lines 1846-1852
Link Here
|
| 1846 |
that are really options to |
1871 |
that are really options to |
| 1847 |
.BR \%losetup (8). |
1872 |
.BR \%losetup (8). |
| 1848 |
(These options can be used in addition to those specific |
1873 |
(These options can be used in addition to those specific |
| 1849 |
to the filesystem type.) |
1874 |
to the file system type.) |
| 1850 |
|
1875 |
|
| 1851 |
If no explicit loop device is mentioned |
1876 |
If no explicit loop device is mentioned |
| 1852 |
(but just an option `\fB\-o loop\fP' is given), then |
1877 |
(but just an option `\fB\-o loop\fP' is given), then |
|
Lines 1911-1917
Link Here
|
| 1911 |
temporary file |
1936 |
temporary file |
| 1912 |
.TP |
1937 |
.TP |
| 1913 |
.I /etc/filesystems |
1938 |
.I /etc/filesystems |
| 1914 |
a list of filesystem types to try |
1939 |
a list of file system types to try |
| 1915 |
|
1940 |
|
| 1916 |
.SH "SEE ALSO" |
1941 |
.SH "SEE ALSO" |
| 1917 |
.BR mount (2), |
1942 |
.BR mount (2), |