Commit Graph

84 Commits

Author SHA1 Message Date
Karel Zak
2eca78be47 mount: remove XFS from man page, xfsprogs provides xfs(5)
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-09-02 10:56:24 +02:00
Karel Zak
9ac77b8a78 libmount: add support for "bind,ro"
Now it's necessary t use two mount(8) calls to create a read-only
mount:

  mount /foo /bar -o bind
  mount /bar -o remount,ro,bind

This patch allows to specify "bind,ro" and the remount is done
automatically by libmount by additional mount(2) syscall. It's not
atomic of course.

Signed-off-by: Karel Zak <kzak@redhat.com>
2015-08-17 11:54:26 +02:00
Borut Mrak
e7d53b984a mount.8: also note diratime does not override noatime. 2015-08-11 03:00:29 +02:00
Borut Mrak
6e73b6113b mount.8: Clarify relation between noatime and nodiratime
According to https://lwn.net/Articles/245002/ and checking Linus' git master fs/inode.c it's obvious nodiratime is redundant when mounting with noatime. Clarify that in the man page.
2015-08-11 02:51:36 +02:00
Andreas Henriksson
c4417ee9d3 man: fix nolazytime typo in mount(8)
Avoids double negation...

Addresses: http://bugs.debian.org/786554
Reported-by: Felix Zielcke <fzielcke@z-51.de>
Signed-off-by: Andreas Henriksson <andreas@fatal.se>
2015-06-08 12:09:58 +02:00
Karel Zak
a8a55fc994 mount: fix lazytime docs
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-03-30 12:52:22 +02:00
Karel Zak
8c7f073aae libmount: add support for MS_LAZYTIME
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-03-30 12:43:45 +02:00
Jan Kara
3c1f7603bf mount: Further FAT mount option update
Add some mount options mentioned in Documentation/filesystems/vfat.txt.

Signed-off-by: Jan Kara <jack@suse.cz>
2015-02-02 11:27:10 +01:00
Jan Kara
b7b16b0bcf mount: Add documentation of FAT mount option time_offset
Signed-off-by: Jan Kara <jack@suse.cz>
2015-02-02 11:27:10 +01:00
J William Piggott
b06c1ca6f8 docs: restore minus symbols in long opts
Signed-off-by: J William Piggott <elseifthen@gmx.com>
2015-01-20 18:15:30 -05:00
Karel Zak
2498303575 libmount: revert "read mtab on remount" idea
It's backwardly incompatible nonsense to prefer mtab on remount.

 mount -o remount /foo

has to read mount options from fstab otherwise the remount has no
effect. (The ideal solution would be to read both mtab, then modify
the options according to fstab -- but for now more important is to be
backwardly compatible.)

References: https://bugzilla.redhat.com/show_bug.cgi?id=1182778
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-01-16 12:24:57 +01:00
Benno Schulenberg
3a60b1c26b docs: remove obsolete and unneeded comments from man-page files
Transform some of them into copyright lines.
Also fix three header lines and snip some trailing whitespace.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2015-01-12 11:03:26 +01:00
Karel Zak
01966ce852 libmount: allow unspecified source on remount
kernel does not require mount source (e.g. device name) on remount, it
means that fstab/mtab/mountinfo should be optional in this case.
For example:

 mount -o rw,remount /

has to work on system without mounted /proc.

Signed-off-by: Karel Zak <kzak@redhat.com>
2014-12-18 10:47:39 +01:00
Ville Skyttä
9779f59831 docs: Spelling fixes
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-11-18 13:59:19 +01:00
Karel Zak
0bf037402a lib/loopdev: replace custom DBG() with include/debug.h
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-11-04 14:08:45 +01:00
Karel Zak
68e422ecae docs: update info about env debug variables
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-11-03 13:13:54 +01:00
Karel Zak
8a4c64e6ac mount: improve --move docs
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-09-25 11:01:39 +02:00
Benno Schulenberg
6070a9853a various: erase all traces of the long-obsolete ext filesystem
The same argument as for xiafs: dead for over ten years.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2014-07-28 11:16:58 +02:00
Benno Schulenberg
556c9c4842 various: erase all traces of the long-obsolete xiafs
The xiafs filesystem was removed from the kernel fifteen years ago,
and any kernel that contained it reached end of life ten years ago.
It's time to stop mentioning it in the mount man page and elsewhere.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2014-07-28 11:16:57 +02:00
Benno Schulenberg
00d1cc1ddf docs: improve some wordings in the man page of mount
Also sort the command-line options alphabetically
(with the customary exception of -V and -h).

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2014-07-28 11:16:55 +02:00
Karel Zak
e9b6e76a26 mount: clean up -t info in mount.8 and fstab.5
* remove the huge and unmaintained list of filesystems, just keep
   only very basic FS types in the man pages

 * add info about command delimited lists to fstab.5

Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-25 13:08:41 +02:00
Karel Zak
06716dffdc mount: update info about mtab in mount.8
Reported-by: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-07-21 10:27:25 +02:00
Benno Schulenberg
08626e33d4 docs: mount -o nouser is not useful, be clearer about that
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2014-07-15 13:22:29 +02:00
Benno Schulenberg
3711f11307 docs: many tiny formatting and wording improvements to man page of mount
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2014-07-14 16:21:35 +02:00
Karel Zak
8eba5feabe mount: fix man page [checkmans]
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-06-18 12:58:49 +02:00
Karel Zak
58d1d54de9 mount: more hints about default mount options to man page
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-06-12 11:15:00 +02:00
Gui Hecheng
f36de15e2f mount: add btrfs to mount.8
Based on Documentation/filesystems/btrfs.txt

Signed-off-by: Gui Hecheng <guihc.fnst@cn.fujitsu.com>
2014-06-06 12:16:54 +02:00
Karel Zak
ee312c654b docs: fix "behaviour" vs. "behavior"
Sometimes we use "behaviour" and "behavior" in the same text, let's
use "behavior" only everywhere.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1011068
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-06-06 09:49:35 +02:00
Karel Zak
edecf6376f mount: add note about order for -a to the man page
Reported-by: Phillip Susi <psusi@ubuntu.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-05-26 12:17:48 +02:00
Stephan Müller
4b8f83361b mount: fix tiny typo in man page
adjust command to use /dev/loop3 as described in text

Signed-off-by: Stephan Mueller <fruktopus@gmail.com>
2014-05-19 11:10:49 +02:00
Karel Zak
4593e07513 mount: note that -c unused for mount.<type> in man page
Addresses: https://github.com/karelzak/util-linux/issues/70
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-04-25 10:07:24 +02:00
Bjarni Ingi Gislason
0d05f1619d mount.8: Some typographical and prefix corrections to the manual
I forgot to add the patch to the attachment.

  Additional changes to "Changes:"

  " \(em " changed to " \(en ", as the em-dash with a word space on each
side is to long (troff)

  ".na/.ad" is not used but .nf/.fi for a long command line and it is
split into two lines

  Word "illegal" is changed to "invalid"

  Word "hyphen-separated" is changed to '"hyphen-minus"-separated' as
the meaning is the code and not the glyph (on the command line) (beware
of UTF-8)

--
Bjarni I. Gislason
2014-04-07 12:16:02 +02:00
Ruediger Meier
94b559e08e mount: update mount.8 about barrier mount options defaults
This patch comes originally from Jan Kara <jack@suse.cz> and updates
the default behaviour of the kernel which has been changed some years
ago. See kernel docs
  Documentation/filesystems/ext3.txt
  Documentation/filesystems/ext4.txt
2014-04-01 18:43:33 +02:00
Karel Zak
b9fa9ed4b3 mount: update XFS mount.8 allocsize=
Reported-by: Satoru Takeuchi
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-12 12:25:23 +01:00
Phillip Susi
c12e066233 mount: remove obsolete and confusing statement from mount.8
The wording was confusing and suidperl has gone the way
of the dodo, and really didn't need mentionting in mount.8.

Signed-off-by: Phillip Susi <psusi@ubuntu.com>
2014-02-10 18:58:53 +01:00
Carlos Maiolino
c0cbd92344 mount: update man page ext3/4 mount options
Add missing mount options to ext3 and ext4 filesystems. This also
remove resize option information from the man page.

Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-01-13 15:05:49 +01:00
Ville Skyttä
d640dd9421 man: Syntax and spelling fixes.
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
2014-01-06 08:55:09 +01:00
Karel Zak
31e93a55be mount: add note about "noauto" to --all description
References: https://bugzilla.redhat.com/show_bug.cgi?id=1039905
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-12-12 11:41:07 +01:00
Phillip Susi
fb724eef6d mount man page cleanups
Fowarding this patch submitted by Bjarni Ingi Gislason
<bjarniig@rhi.hi.is> to deb bug #674595.
2013-12-02 11:07:07 +01:00
Phillip Susi
c4b8d43d1d mount.8: fix grammar
Switch "A unbindable" to "An unbindable"

Reported-by: Regid Ichira <regid23@nt1.in>
Signed-off-by: Phillip Susi <psusi@ubuntu.com>
2013-12-02 10:59:36 +01:00
Phillip Susi
2a7b920fd1 mount: fix man mount page type
Slight grammatical error in the mount man page

Signed-off-by: Phillip Susi <psusi@ubuntu.com>
2013-11-19 14:46:13 +01:00
Phillip Susi
9167f4c2e8 mount: correct mount man page default iso9660 permission
The mount man page said the default permissions are read for
everyone, but it is in fact, read and execute.

Signed-off-by: Phillip Susi <psusi@ubuntu.com>
2013-11-14 12:29:28 +01:00
Karel Zak
5875c50658 mount: improve -s man mage info
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-31 10:44:33 +01:00
Benno Schulenberg
b4362b6f84 docs: standardize the phrases for --help and --version in all man pages
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-10-15 10:28:30 +02:00
Karel Zak
00963eac1c libmount: (docs) make it obvious how we call mount.<type> helpers
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-07 14:42:09 +02:00
Karel Zak
71e87708b9 mount: add notes about UUIDs to the man page
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-26 15:42:54 +02:00
Karel Zak
64e6c3bb25 mount: fix repeating words in the man page
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-26 11:03:20 +02:00
Karel Zak
5d3da4a24d mount: update xfs docs
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-07-16 11:23:51 +02:00
Benno Schulenberg
60c021073c mount: fix mistaken word and some grammar in man page of mount
Reported-by: Krzysztof Żelechowski <giecrilj@stegny.2a.pl>
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2013-06-18 10:42:55 +02:00
Karel Zak
a21aa92fd4 libmount: use MS_SILENT for /{proc,etc}/filesystems
mount(8) needs to be doing silent mounts when doing this brute
forcing or when the filesystem is not explicitly specified.

Reported-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-05-09 09:25:31 +02:00