summaryrefslogtreecommitdiffstats
path: root/mount/mount.8
Commit message (Collapse)AuthorAgeFilesLines
* mount: automatically detect and loop-mount regular filesKarel Zak2010-03-151-11/+25
| | | | | | | | | | | | | | | | | This patch allows to automatically create a loop device from a regular file if a filesystem type is not specified, for example: mount /path/disk.img /mnt If the filesystem type is specified than "-o loop" is required. Note that there is not a restriction (on kernel side) that prevents regular file as a mount(2) source argument. A filesystem that is able to mount regular files could be implemented. Based on a patch from Adam Jackson <ajax@redhat.com>. Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: more explicitly explain fstab usage in mount.8Karel Zak2010-03-151-0/+28
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: posix option of vfat is obsoleteYoshihiro Takahashi2010-03-011-0/+1
| | | | | | | | | Summary of changes from v2.5.42 to v2.5.43 [PATCH] removes posix option of fat (3/5) This removes the posix option of vfat. The current posix options works only as an alias of name_check=s. Signed-off-by: Yoshihiro Takahashi <ytakahashi@miraclelinux.com>
* mount: update documentation about barrier mount optionsJan Kara2010-01-221-1/+14
| | | | Signed-off-by: Jan Kara <jack@suse.cz>
* mount: fix typo in mount.8Karel Zak2010-01-041-1/+1
| | | | | Reported-by: Joe Peterson <joe@skyrush.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add squashfs to mount.8Karel Zak2009-12-031-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add --no-canonicalize optionKarel Zak2009-12-031-0/+7
| | | | | | | | | | | | For example the /sbin/mount.fuse command calls mount -i -f /dev/foo /absolut/path and it does not make sense to canonicalize already absolute paths. The new --no-canonicalize option allows to avoid unwanted readlink() calls. Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: move info about devices to the top of mount.8Karel Zak2009-12-021-113/+113
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add a note about /dev/disk/by-* to mount.8Karel Zak2009-12-021-0/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add ubifs to the mount.8 man pageSebastian Andrzej Siewior2009-12-011-0/+64
| | | | | | | ubifs got merged into the linux kernel in v2.6.27. This patch adds its mount options. Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
* mount: better --move descriptionKarel Zak2009-12-011-0/+2
| | | | | Reported-by: Paul Johnson <pauljohn@ku.edu> Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add a note about bind-dir remountsKarel Zak2009-11-181-1/+12
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add long options to mount.8Karel Zak2009-11-021-46/+26Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: document changed semantics of tmpfs size option in mount.8kevin.granade@gmail.com2009-09-221-1/+1
| | | | | | | | | | | Linux kernel commit 818db35992c249dc32c1d86daf7d533fb0952f5d fixed a problem where invoking mount -t tmpfs with a size argument smaler than the size of one page caused the limits on the size of a tmpfs to not operate. The commit also caused the number supplied by the size option to be rounded up to the nearest page size instead of down. This alters the man page to match the behavior of the kernel in this instance. Signed-off-by: Kevin Granade <kevin.granade@gmail.com>
* mount: fix mount.8, xfs attr2 is enabled by defaultKarel Zak2009-09-171-3/+3
| | | | | Address-Red-Hat-Bug: #510845 Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: fix reference to samba-client in mount.8Karel Zak2009-09-171-1/+1
| | | | | Address-Red-Hat-Bug: #521367 Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: more explicitly explain 'strictatime' in mount.8Karel Zak2009-09-111-5/+13
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: mention mtab for single mount point mount in mount.8Peter Volkov2009-08-181-1/+3
| | | | | | | | | | | | | | Karel Zak wrote: "This is very old (10+years) feature. The mount(8) is trying to found mountpoint/device in fstab and then in mtab. I guess the original purpose for this feature is user-friendly 'mount /node -o remount'. Unfortunately, the code does not check for MS_REMOUNT flag and consults mtab in all cases. (The code is consulting fstab/mtab before mount options parsing.)" This commit documents this feature. Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: clean up mount.8Karel Zak2009-08-181-100/+101
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* Revert "mount: clean up mount.8"Karel Zak2009-08-181-101/+100Star
| | | | | | | | | This reverts commit 98c7944b52c54c86fb5b9d73fbead9442bfa0e30. Unfortunately, the patch has been committed by "git commit -a" and includes unwanted changes in configure.ac and sys-utils/Makefile.am... Sorry.
* mount: clean up mount.8Karel Zak2009-08-171-100/+101
| | | | | | | | | * use "filesystem" everywhere (currently, the mount.8 man page is inconsistent and uses "file system" and "filesystem") * fix "The extN" to "The extN filesystem" (reported by Theodore Tso) Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add info about ext{3,4} barriers to mount.8Karel Zak2009-08-171-0/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount.8: formattingPeter Breitenlohner2009-08-171-77/+111
| | | | Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
* mount: a little clean up info about loopdevs in man pageKarel Zak2009-06-261-7/+7
| | | | | Addresses-Debian-Bug: #478600 Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add info about obsolete vfat options to mount.8Karel Zak2009-06-261-5/+6
| | | | | Addresses-Debian-Bug: #329856 Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add ext4 to the list of filesystems in mount.8Karel Zak2009-06-011-1/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add ext4 to mount.8Karel Zak2009-06-011-5/+105
| | | | | | Based on Documentation/filesystems/ext4.txt Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: cleanup notes about -l option in mount.8Karel Zak2009-06-011-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: Add strictatime supportMatthew Garrett2009-03-271-0/+7
| | | | | | | | 2.6.30 adds (patch d0adde574b8487ef30f69e2d08bba769e4be513f) support for a strictatime mount parameter, used to request strict atime update semantics. The following patch adds support for it to mount. Signed-off-by: Matthew Garrett <mjg@redhat.com>
* mount: document newinstance and ptmxmode options to devptsSukadev Bhattiprolu2009-01-211-0/+55
| | | | | | | | | | | Support for multiple instances of devpts were included in 2.6.29-rc1. Update man pages to document the new options. Additional details about the new options are described in 'Documentation/filesystems/devpts.txt' of kernel source tree. Reviewed-by: WANG Cong <wangcong@zeuux.org> Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: cleans up mount(8) troff markupSam Varshavchik2009-01-161-25/+23Star
| | | | | | My patches correct troff markup only. No content changes. Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: suggest to use blockdev --setro rather than losetupKarel Zak2009-01-061-2/+2
| | | | | | Thanks to Christoph Hellwig. Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add info about semantics of read-only mount to mount.8Karel Zak2009-01-061-0/+6
| | | | | Reported-by: Joachim Wagner <jwagner@computing.dcu.ie> Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add rootcontext= SELinux mount optionKarel Zak2008-12-221-1/+7
| | | | | | | | Note, the description in the mount.8 man page is copy & paste from rootcontext= kernel patch (by James Morris). I didn't found anything more useful... (patches welcomed:-) Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: remove spurious newline from mount.8Mike Frysinger2008-12-051-2/+1Star
| | | | | | | The man page display shows quote marks instead of being interpreted by the .B statement and hidden away due to a spurious newline. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* mount: use subsections in mount.8 DESCRIPTIONKarel Zak2008-11-271-56/+81
| | | | | | | The DESCRIPTION section is huge non-structuralized mess. This patch is attempt to make this part of the man page more readable. Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: create separate section for fs-independent options in mount.8Karel Zak2008-11-271-19/+32
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: reorder list of options in mount.8Karel Zak2008-11-271-83/+89
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add i_version supportKarel Zak2008-11-271-0/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: sync tmpfs info in mount.8 with Documentation/filesystems/tmpfs.txtKarel Zak2008-10-061-9/+62
| | | | | Addresses-Red-Hat-Bugzilla: #465761 Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: sync FAT info in mount.8 with Documentation/filesystems/vfat.txtKarel Zak2008-10-061-6/+48
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: remove link to namesys.comKarel Zak2008-10-031-2/+0Star
| | | | | | | | | | Ricardo Catalinas Jiménez wrote: In the man page mount(8) there is the url "http://www.namesys.com/mount-options.html". The web site has been down for a long time and the Namesys company is trying to be sold. Reported-By: Ricardo Catalinas Jiménez <jimenezrick@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add info about /proc/mounts to mount.1Karel Zak2008-09-291-1/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: fix typoKarel Zak2008-09-251-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add docs about utf8=0 for vfatKarel Zak2008-08-121-3/+4
| | | | | Addresses-Red-Hat-Bugzilla: #454354 Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add shortoptions for bind, move and rbindmaximilian attems2008-07-291-2/+21
| | | | | | | | | | | | | | | | | | | Reserving uppercase letters for mount operations: --move | -M --bind | -B --rbind | -R Add lowercase for the most needed mount operation that happen in initramfs: mount -M /sys /root/sys Note, we still have shared-subtree operations (--make-{slave,private,...}) without short options. [kzak@redhat.com: minor change in mount.8] Signed-off-by: maximilian attems <max@stro.at> Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add info about tz=UTC option for FAT to mount.8Karel Zak2008-07-281-0/+8
| | | | | CC: Joe Peterson <joe@skyrush.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add norealtime to mount.8Karel Zak2008-06-161-0/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: fix a small typo in mount.8Christophe Blaess2008-06-091-1/+1
| | | | | | | | | | | While working on french translation of the Linux Man Pages, I've found a small typo in mount.8. Only one wrong letter : the option "osyncis_o_sync" for XFS filesystem is erroneously replaced by "osyncis_d_sync" (the previous option). Signed-off-by: Christophe Blaess <Christophe@Blaess.fr> Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: remount doesn't care about loop=Karel Zak2008-05-191-0/+21
| | | | | | | | | | | | | | | | | | | | | The command # mount -oremount <spec> <dir> doesn't read fstab or mtab. This is expected behaviour. Unfortunately, we have to care about the internal loop= option which is generated and maintained by mount(8)/umount(8). The loop= option has to be persistent. How to reproduce this bug: # mount -o loop /home/images/vfat.img /mnt/img; grep vfat /etc/mtab; \ mount -o remount,ro /home/images/vfat.img /mnt/img; grep vfat /etc/mtab; /home/images/vfat.img /mnt/img vfat rw,loop=/dev/loop0 0 0 /home/images/vfat.img /mnt/img vfat ro 0 0 Reported-By: David Chinner <dgc@sgi.com> Signed-off-by: Karel Zak <kzak@redhat.com>