summaryrefslogtreecommitdiff
path: root/man/systemd.mount.xml
Commit message (Collapse)AuthorAgeFilesLines
...
* fstab-generator: add x-systemd.before and x-systemd.after fstab options (#5330)Ruslan Bilovol2017-02-131-0/+19
| | | | | | | | | | | | | | | | | | | | | | Currently fstab entries with 'nofail' option are mounted asynchronously and there is no way how to specify dependencies between such fstab entry and another units. It means that users are forced to write additional dependency units manually. The patch introduces new systemd fstab options: x-systemd.before=<PATH> x-systemd.after=<PATH> - to specify another mount dependency (PATH is translated to unit name) x-systemd.before=<UNIT> x-systemd.after=<UNIT> - to specify arbitrary UNIT dependency For example mount where A should be mounted before local-fs.target unit: /dev/sdb1 /mnt/test/A none nofail,x-systemd.before=local-fs.target
* fstab-generator: also convert % → %% for What=Lennart Poettering2017-02-081-8/+6
| | | | Same reasons as the previous patch.
* fstab-generator: Options= applies specifier expansionLennart Poettering2017-02-081-3/+3
| | | | | | | Let's document that this is the case, and properly escape % when we generate Options= in the generator. Fixes: #5086
* core: make mount units from /proc/self/mountinfo possibly bind to a device ↵Franck Bui2016-12-161-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | (#4515) Since commit 9d06297, mount units from mountinfo are not bound to their devices anymore (they use the "Requires" dependency instead). This has the following drawback: if a media is mounted and the eject button is pressed then the media is unconditionally ejected leaving some inconsistent states. Since udev is the component that is reacting (no matter if the device is used or not) to the eject button, users expect that udev at least try to unmount the media properly. This patch introduces a new property "SYSTEMD_MOUNT_DEVICE_BOUND". When set on a block device, all units that requires this device will see their "Requires" dependency upgraded to a "BindTo" one. This is currently only used by cdrom devices. This patch also gives the possibility to the user to restore the previous behavior that is bind a mount unit to a device. This is achieved by passing the "x-systemd.device-bound" option to mount(8). Please note that currently this is not working because libmount treats the x-* options has comments therefore they're not available in utab for later application retrievals.
* fstab-generator: add x-systemd.mount-timeout (#4603)Christian Hesse2016-11-111-0/+19
| | | | | | | | | | This adds a new systemd fstab option x-systemd.mount-timeout. The option adds a timeout value that specifies how long systemd waits for the mount command to finish. It allows to mount huge btrfs volumes without issues. This is equivalent to adding option TimeoutSec= to [Mount] section in a mount unit file. fixes #4055
* Merge pull request #4053 from brulon/force-unmountLennart Poettering2016-08-301-0/+11
|\ | | | | add ForceUnmount= setting for mount units
| * mount: add new ForceUnmount= setting for mount units, mapping to umount(8)'s ↵Barron Rulon2016-08-271-0/+11
| | | | | | | | "-f" switch
* | man: systemd.mount: DefaultTimeoutStart -> DefaultTimeoutStartSecYu Watanabe2016-08-291-1/+1
|/
* mount: add new LazyUnmount= setting for mount units, mapping to umount(8)'s ↵brulon2016-08-261-0/+13
| | | | "-l" switch (#3827)
* man: provide html links to a bunch of external man pagesZbigniew Jędrzejewski-Szmek2016-08-061-1/+1
|
* man: document the nfs mount option bg as unsupported (#3231)tblume2016-05-101-0/+5
| | | | | | The nfs mount option bg will not be supported with systemd. Reasons are discussed here: https://github.com/systemd/systemd/pull/3169
* man: document that some unit types do not support unit aliases via symlinksLennart Poettering2016-04-291-8/+6
|
* man: clarify that DefaultDependencies= is in the [Unit] sectionLennart Poettering2016-04-121-20/+11
| | | | This hopefully reduces confusion resulting in issues like #2992.
* man: Add a not that mount unit cannot be templatedNicolas Cornu2015-11-241-1/+2
|
* core: remove SmackFileSystemRootLabel= againLennart Poettering2015-11-121-12/+0
| | | | | | | | Apparently, util-linux' mount command implicitly drops the smack-related options anyway before passing them to the kernel, if the kernel doesn't know SMACK, hence there's no point in duplicating this in systemd. Fixes #1696
* man: document automatic dependenciesLennart Poettering2015-11-111-5/+47
| | | | | | | | | | | For all units ensure there's an "Automatic Dependencies" section in the man page, and explain which dependencies are automatically added in all cases, and which ones are added on top if DefaultDependencies=yes is set. This is also done for systemd.exec(5), systemd.resource-control(5) and systemd.unit(5) as these pages describe common behaviour of various unit types.
* doc: correct orthography, word forms and missing/extraneous wordsJan Engelhardt2015-11-061-7/+7
|
* doc: correct punctuation and improve typography in documentationJan Engelhardt2015-11-061-1/+1
|
* core: rename SmackFileSystemRoot= to SmackFileSystemRootLabel=Lennart Poettering2015-10-261-1/+1
| | | | | | That way it's in sync with the other SMACK label settings. https://github.com/systemd/systemd/pull/1664#issuecomment-150891270
* mount: add new SmackFileSystemRoot= setting for mount unitSangjung Woo2015-10-241-0/+12
| | | | | | | This option specifies the label to assign the root of the file system if it lacks the Smack extended attribute. Note that this option will be ignored if kernel does not support the Smack feature by runtime checking.
* man: revert dynamic paths for split-usr setupsTom Gundersen2015-06-181-4/+1
| | | | | | | | | | | | | | | | | | | | | | | This did not really work out as we had hoped. Trying to do this upstream introduced several problems that probably makes it better suited as a downstream patch after all. At any rate, it is not releaseable in the current state, so we at least need to revert this before the release. * by adjusting the path to binaries, but not do the same thing to the search path we end up with inconsistent man-pages. Adjusting the search path too would be quite messy, and it is not at all obvious that this is worth the effort, but at any rate it would have to be done before we could ship this. * this means that distributed man-pages does not make sense as they depend on config options, and for better or worse we are still distributing man pages, so that is something that definitely needs sorting out before we could ship with this patch. * we have long held that split-usr is only minimally supported in order to boot, and something we hope will eventually go away. So before we start adding even more magic/effort in order to make this work nicely, we should probably question if it makes sense at all.
* man: generate configured paths in manpagesFilipe Brandenburger2015-05-281-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, use /lib/systemd instead of /usr/lib/systemd in distributions like Debian which still have not adopted a /usr merge setup. Use XML entities from man/custom-entities.ent to replace configured paths while doing XSLT processing of the original XML files. There was precedent of some files (such as systemd.generator.xml) which were already using this approach. This addresses most of the (manual) fixes from this patch: http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/patches/Fix-paths-in-man-pages.patch?h=experimental-220 The idea of using generic XML entities was presented here: http://lists.freedesktop.org/archives/systemd-devel/2015-May/032240.html This patch solves almost all the issues, with the exception of: - Path to /bin/mount and /bin/umount. - Generic statements about preference of /lib over /etc. These will be handled separately by follow up patches. Tested: - With default configure settings, ran "make install" to two separate directories and compared the output to confirm they matched exactly. - Used a set of configure flags including $CONFFLAGS from Debian: http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/rules Installed the tree and confirmed the paths use /lib/systemd instead of /usr/lib/systemd and that no other unexpected differences exist. - Confirmed that `make distcheck` still passes.
* fstab-generator: add x-systemd.requires and x-systemd.requires-mounts-forKarel Zak2015-05-181-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we have no way how to specify dependencies between fstab entries (or another units) in the /etc/fstab. It means that users are forced to bypass fstab and write .mount units manually. The patch introduces new systemd fstab options: x-systemd.requires=<PATH> - to specify dependence an another mount (PATH is translated to unit name) x-systemd.requires=<UNIT> - to specify dependence on arbitrary UNIT x-systemd.requires-mounts-for=<PATH ...> - to specify dependence on another paths, implemented by RequiresMountsFor=. The option may be specified more than once. For example two bind mounts where B depends on A: /mnt/test/A /mnt/test/A none bind,defaults /mnt/test/A /mnt/test/B none bind,x-systemd.requires=/mnt/test/A More complex example with overlay FS where one mount point depends on "low" and "upper" directories: /dev/sdc1 /mnt/low ext4 defaults /dev/sdc2 /mnt/high ext4 defaults overlay /mnt/merged overlay lowerdir=/mnt/low,upperdir=/mnt/high/data,workdir=/mnt/high/work,x-systemd.requires-mounts-for=/mnt/low,x-systemd.requires-mounts-for=mnt/high https://bugzilla.redhat.com/show_bug.cgi?id=812826 https://bugzilla.redhat.com/show_bug.cgi?id=1164334
* treewide: Correct typos and spell plural of bus consistentTorstein Husebø2015-05-111-1/+1
|
* automount: add expire supportMichael Olbrich2015-04-211-0/+9
|
* man: fix a bunch of linksZbigniew Jędrzejewski-Szmek2015-03-131-7/+7
| | | | All hail linkchecker!
* man: boilerplate unificationZbigniew Jędrzejewski-Szmek2015-02-101-1/+0
|
* Reindent man pages to 2chZbigniew Jędrzejewski-Szmek2015-02-031-341/+305
|
* man: there's actually no "fail" fstab option, but only "nofail"Lennart Poettering2014-12-051-4/+1
|
* swap: restore support for nofailZbigniew Jędrzejewski-Szmek2014-11-261-18/+19
| | | | | | | | | | | | | | | | systemd stops adding automatic dependencies on swap.target to swap units. If a dependency is required, it has to be added by unit configuration. fstab-generator did that already, except that now it is modified to create a Requires or Wants type dependency, depending on whether nofail is specified in /etc/fstab. This makes .swap units obey the nofail/noauto options more or less the same as .mount units. Documentation is extended to clarify that, and to make systemd.mount(5) and system.swap(5) more similar. The gist is not changed, because current behaviour actually matches existing documentation. https://bugs.freedesktop.org/show_bug.cgi?id=86488
* man: fix references to systemctl man page which is now in section 1Michael Biebl2014-09-061-1/+1
| | | | https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760613
* man: add a mapping for external manpagesZbigniew Jędrzejewski-Szmek2014-07-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | It is annoying when we have dead links on fd.o. Add project='man-pages|die-net|archlinux' to <citerefentry>-ies. In generated html, add external links to http://man7.org/linux/man-pages/man, http://linux.die.net/man/, https://www.archlinux.org/. By default, pages in sections 2 and 4 go to man7, since Michael Kerrisk is the autorative source on kernel related stuff. The rest of links goes to linux.die.net, because they have the manpages. Except for the pacman stuff, since it seems to be only available from archlinux.org. Poor gummiboot gets no link, because gummitboot(8) ain't to be found on the net. According to common wisdom, that would mean that it does not exist. But I have seen Kay using it, so I know it does, and deserves to be found. Can somebody be nice and put it up somewhere?
* man: mention x-initrd.mount option in fstab options listZbigniew Jędrzejewski-Szmek2014-06-301-0/+11
|
* man: mention that x-systemd.device-timeout is only for fstabZbigniew Jędrzejewski-Szmek2014-06-301-31/+63
| | | | | | | | | Reformat fstab options description. Now they are easier to read and show up in systemd.directives(7). Use a single sublist for both /etc/fstab and /etc/crypttab options. Many of them can be used in both places. crypttab(5) is updated to use the same docbook elements, so formatting is uniform.
* doc: grammatical correctionsJan Engelhardt2014-06-281-1/+1
|
* mount: add new SloppyOptions= setting for mount units, mapping to mount(8)'s ↵Lennart Poettering2014-06-161-0/+15
| | | | "-s" switch
* man: document fail/nofail, auto/noautoZbigniew Jędrzejewski-Szmek2013-12-251-1/+19
| | | | Also s/filesystem/file system/ in a few places.
* man: improvements to comma placementJan Engelhardt2013-12-251-1/+1
| | | | | This is a recurring submission and includes corrections to: comma placement.
* man: wording and grammar updatesJan Engelhardt2013-11-071-2/+2
| | | | | This is a recurring submission and includes corrections to various issue spotted: comma setting, missing words/preposition choice.
* man: do not use <term> in <para>Kay Sievers2013-11-051-1/+1
| | | | Element term in namespace '' encountered in para, but no template matches.
* Configurable Timeouts/Restarts default valuesOleksii Shevchuk2013-11-051-2/+2
| | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=71132 Patch adds DefaultTimeoutStartSec, DefaultTimeoutStopSec, DefaultRestartSec configuration options to manager configuration file.
* mount/service: drop FsckPassNo supportTom Gundersen2013-10-191-22/+0
| | | | | | | | We now treat passno as boleans in the generators, and don't need this any more. fsck itself is able to sequentialize checks on the same local media, so in the common case the ordering is redundant. It is still possible to force an order by using .d fragments, in case that is desired.
* man: drop references to "cgroup" wher appropriateLennart Poettering2013-09-271-3/+3
| | | | | | | | | | | Since cgroups are mostly now an implementation detail of systemd lets deemphasize it a bit in the man pages. This renames systemd.cgroup(5) to systemd.resource-control(5) and uses the term "resource control" rather than "cgroup" where appropriate. This leaves the word "cgroup" in at a couple of places though, like for example systemd-cgtop and systemd-cgls where cgroup stuff is at the core of what is happening.
* man: wording and grammar updatesJan Engelhardt2013-09-121-3/+3
| | | | | | | | | | | | This is a recurring submission and includes corrections to various issue spotted. I guess I can just skip over reporting ubiquitous comma placement fixes… Highligts in this particular commit: - the "unsigned" type qualifier is completed to form a full type "unsigned int" - alphabetic -> lexicographic (that way we automatically define how numbers get sorted)
* man: wording and grammar updatesJan Engelhardt2013-09-101-1/+1
| | | | | | | | | This includes regularly-submitted corrections to comma setting and orthographical mishaps that appeared in man/ in recent commits. In this particular commit: - the usual comma fixes - expand contractions (this is prose)
* man: document the slice and scope units, add systemd.cgroup(5)Zbigniew Jędrzejewski-Szmek2013-07-121-6/+11
|
* man: use <literal> not <filename> for suffixesZbigniew Jędrzejewski-Szmek2013-07-121-1/+1
| | | | | | | Especially sentences like "filename ends in .suffix" are easier to parse if the suffix is surrounded by quotes. In sentences like "requires a .service unit", where the suffix is used as a class designation, there is no need to use quotes.
* man: add more formatting markupZbigniew Jędrzejewski-Szmek2013-07-021-2/+2
|
* man: improve grammar and word formatting in numerous man pagesJason St. John2013-07-021-5/+5
| | | | | | | | | | Use proper grammar, word usage, adjective hyphenation, commas, capitalization, spelling, etc. To improve readability, some run-on sentences or sentence fragments were revised. [zj: remove the space from 'file name', 'host name', and 'time zone'.]
* man: add various filenames to the indexZbigniew Jędrzejewski-Szmek2013-05-031-1/+1
| | | | | | | | | | Everything which is an absolute filename marked with <filename></filename> lands in the index, unless noindex= attribute is present. Should make it easier for people to find stuff when they are looking at a file on disk. Various formatting errors in manpages are fixed, kernel-install(1) is restored to formatting sanity.