summaryrefslogtreecommitdiffstats
path: root/man/systemd.mount.xml (follow)
Commit message (Collapse)AuthorAgeFilesLines
* core: allow fstab-style nodes in mount/swap What=Mike Yuan2024-01-091-2/+2
| | | | Closes #28989
* man: use same version in public and system ident.David Tardon2023-12-251-1/+1
|
* man: use <simplelist> for 'See also' sectionsDavid Tardon2023-12-231-16/+16
| | | | | This is just a slight markup improvement; there should be no difference in rendering.
* man/systemd.mount: tmpfs automatically gains After=swap.target depMike Yuan2023-12-111-2/+5
|
* fstab-generator: disable default deps if x-systemd.{wanted,required}-by= is usedMike Yuan2023-12-111-16/+18
| | | | Fixes #30273
* man/systemd.mount: update implicit deps on device unitMike Yuan2023-12-111-13/+12
| | | | See also: 707ecf1423ba8797ccc3ced016cc9e0f23635838
* core: create workdir/upperdir when mounting a Type=overlay mount unitLuca Boccassi2023-12-081-1/+5
| | | | | | | | So far we created the target directory, and the source for bind mounts, but not workdir/upperdir for overlays, so it has to be done separately and strictly before the unit is started, which is annoying. Check the options when creating directories, and if upper/work directories are specified, create them.
* core: add WantsMountsFor=Luca Boccassi2023-11-291-4/+5
| | | | | | | | This is the equivalent of RequiresMountsFor=, but adds Wants= instead of Requires=. It will be useful for example for the autogenerated systemd-cryptsetup units. Fixes https://github.com/systemd/systemd/issues/11646
* core/mount: allow disabling stop propagation from backing deviceMike Yuan2023-10-171-10/+9
| | | | | | | | | | | With file systems that have volume management functionalities or volume managers like LVM, it's fine for the backing device of a mount to disappear after mounted. Currently, we enforce BindsTo= or StopPropagatedFrom= on the backing device, thus prohibiting such cases. Instead, let's make this configurable through x-systemd.device-bound. Closes #16801 Closes #29543
* man: update version informationAbderrahim Kitouni2023-09-191-2/+12
| | | | | | | | As I noticed a lot of missing information when trying to implement checking for missing info. I reimplemented the version information script to be more robust, and here is the result. Follow up to ec07c3c80b2b1bfa6788500202006ff85f5ae4f4
* man: add version infoAbderrahim Kitouni2023-08-291-12/+44
| | | | | | | | This tries to add information about when each option was added. It goes back to version 183. The version info is included from a separate file to allow generating it, which would allow more control on the formatting of the final output.
* man: document the soft reboot operationLennart Poettering2023-06-021-2/+6
|
* tree-wide: fix typoYu Watanabe2023-01-201-1/+1
|
* man: document new machine-id/fs measurement optionsLennart Poettering2023-01-171-0/+14
|
* mount: handle bind mount of file with non-existing targetDavid Tardon2023-01-161-1/+3
| | | | | | | | | When the target (Where=) of a mount does not exist, systemd tries to create it. But previously, it'd always been created as a directory. That doesn't work if one wants to bind-mount a file to a target that doesn't exist. Fixes: #17184
* tree-wide: use the term "initrd" at most places we so far used "initramfs"Lennart Poettering2022-09-231-3/+2
| | | | | | | | | | | | In most cases we refernced the concept as "initrd". Let's convert most remaining uses of "initramfs" to "initrd" too, to stay internally consistent. This leaves "initramfs" only where it's relevant to explain historical concepts or where "initramfs" is part of the API (i.e. in /run/initramfs). Follow-up for: b66a6e1a5838b874b789820c090dd6850cf10513
* man: Clarify that tools should prefer mount units over editing fstabDaan De Meyer2022-08-041-9/+7
|
* man: do not say "additional symlinks" for mount/automount aliasesZbigniew Jędrzejewski-Szmek2022-05-261-6/+7
| | | | | "additional" implies that the unit itself is a symlink, which it is not. Also "link to the mount unit", not "link to the mount".
* man: tweak description of auto/noautoZbigniew Jędrzejewski-Szmek2022-03-041-5/+7
| | | | | | | | | | | I think the current behaviour is stupid: 'x-systemd.automount,noauto' should mean that we create the units, but don't add .mount or .automount to any targets. Instead, we completely ignore 'noauto'. But let's at least describe the implementation. Text suggested by dpartrid in the bug. Fixes #21040.
* man: mention pages with more settings at end of each option listZbigniew Jędrzejewski-Szmek2021-09-271-7/+7
| | | | | | | | | | | For some unit types we have hundreds of options, and the reader may easily miss that more options are described in other pages. We already mentioned this in the introduction and then at the top of the option list, but it can't hurt to repeat the information. Also, add an (almost empty) Options section for the unit types which don't have any custom options. It is nicer to have the same page structure in all cases, so people can jump between pages for different types more easily.
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* man: use trailing slash on directories in more placesZbigniew Jędrzejewski-Szmek2020-10-051-4/+4
|
* Merge pull request #16143 from fbuihuu/fstab-generator-fixZbigniew Jędrzejewski-Szmek2020-07-071-2/+10
|\ | | | | fstab-generator: make sure explicit deps configured via mount options apply to .mount, not .automount unit
| * fstab-generator: extra dependencies specified in fstab should be applied to ↵Franck Bui2020-07-011-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the mount unit If an entry in fstab uses "x-systemd.automount" option and also asks for additionnal dependencies via x-systemd.requires or such, then the dependencies were applied to the automount unit. But this unlikely to do the right thing and is inconsistent with what's done for network mounts. Indeed when an fstab entries has "_netdev,x-systemd.automount" options, the dependencies against the network requested by "_netdev" are (correctly) applied to the mount unit only and the automount unit remains ordered against local-fs.target. The same logic should be followed when extra deps are specified via the mount options as automount units should always be ordered against local-fs.target. Note: in general explicit deps specified via mount options should be used with care and should be used to specify dependencies on other mount units only as it can easily create ordering cycles otherwise like it's been seen in https://github.com/systemd/systemd-stable/issues/69. Mount units (as well as automount ones) are ordered before local-fs.target by default which is a low-level target that most other units depend on.
* | tree-wide: drop quotes from around [section]Zbigniew Jędrzejewski-Szmek2020-07-061-3/+3
|/ | | | | | | For users, the square brackets already serve as markup and clearly delineate the section name from surrounding text. Putting additional markup around that only adds clutter. Also, we were very inconsistent in using the quotes. Let's just drop them altogether.
* Merge pull request #15661 from hundeboll/mount-read-write-onlyZbigniew Jędrzejewski-Szmek2020-05-201-0/+24
|\ | | | | Mount read write only
| * man: document x-systemd.rw-only fstab optionMartin Hundebøll2020-05-201-0/+11
| |
| * man: document ReadWriteOnly property for mount unitsMartin Hundebøll2020-05-201-0/+13
| |
* | man: put all pages which mention a specifier in the indexZbigniew Jędrzejewski-Szmek2020-05-071-4/+4
|/ | | | | | I wasn't 100% convinced that this is the right thing to do, hence the separate commit. But e.g. for paths we index all mentions, so I think it's reasonable to do the same here.
* Implemented x-systemd.{required,wanted}-by= optionsAntonio Russo2020-01-211-0/+15
| | | | | | | | | | | | Teaches systemd-fstab-generator these two unit options, creating appropriate dependencies on the generated .mount units. When used, they override any other automatically generated dependencies, such as local-fs.target, and are NOT suppressed by noauto. The new options are ignored for /, in the same way that noauto is ignored. Fixes: #14380 Signed-off-by: Antonio Russo <antonio.e.russo@gmail.com>
* Documentation update for x-systemd.{before,after}Antonio Russo2020-01-211-3/+3
| | | | | | A minor clarification in the manual page is made. Signed-off-by: Antonio Russo <antonio.e.russo@gmail.com>
* man: we support bind mounting regular files tooLennart Poettering2020-01-131-6/+4
| | | | | Let's be precise here: we accept non-directories here too, even though we create things as directories if we find the Where= not to exist.
* man: document that we mkdir() on What= in .mount units tooLennart Poettering2020-01-131-6/+10
| | | | | | As suggested here: https://lists.freedesktop.org/archives/systemd-devel/2020-January/043914.html
* man: change noindex="true" to index="false"Zbigniew Jędrzejewski-Szmek2019-11-211-1/+1
| | | | We nowadays prefer positive options over negative.
* man: Add missing <literal> tags in various man pagesPhilip Withnall2019-06-121-3/+3
| | | | | | | A minor formatting improvement brought to you by the wonders of `git grep`. Signed-off-by: Philip Withnall <withnall@endlessm.com>
* man: add missing =Zbigniew Jędrzejewski-Szmek2019-05-171-1/+1
| | | | Fixes #12598.
* codespell: fix spelling errorsBen Boeckel2019-04-291-1/+1
|
* man: add references from the .mount and .service man pages to ↵Lennart Poettering2019-04-081-1/+7
| | | | | | systemd-{mount,run} pages Fixes: #12235
* man: use same header for all filesZbigniew Jędrzejewski-Szmek2019-03-141-1/+1
| | | | | | | The "include" files had type "book" for some raeason. I don't think this is meaningful. Let's just use the same everywhere. $ perl -i -0pe 's^..DOCTYPE (book|refentry) PUBLIC "-//OASIS//DTD DocBook XML V4.[25]//EN"\s+"http^<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"\n "http^gms' man/*.xml
* man: standarize on one-line license headerZbigniew Jędrzejewski-Szmek2019-03-141-4/+1
| | | | | | No need to waste space, and uniformity is good. $ perl -i -0pe 's|\n+<!--\s*SPDX-License-Identifier: LGPL-2.1..\s*-->|\n<!-- SPDX-License-Identifier: LGPL-2.1+ -->|gms' man/*.xml
* man: clarify the source of DefaultTimeoutStartSec=Yu Watanabe2019-02-011-3/+4
|
* man: update DefaultDependency= in systemd.mount(5)Yu Watanabe2019-01-261-2/+6
| | | | | Follow-up for d54bab90e64f70c1ecf9b0683a98adb8485ed09e and the previous commit.
* man: Use the proper option name in documentationMichael Scherer2018-12-131-1/+1
|
* man: add missing descriptions of fstab options to systemd.swap(5)Zbigniew Jędrzejewski-Szmek2018-12-031-2/+2
|
* man: document that 'nofail' also has an effect on orderingLennart Poettering2018-08-021-6/+4
| | | | Prompted by #9765
* man: drop unused <authorgroup> tags from man sourcesZbigniew Jędrzejewski-Szmek2018-06-141-9/+0
| | | | | | | | | | | | Docbook styles required those to be present, even though the templates that we use did not show those names anywhere. But something changed semi-recently (I would suspect docbook templates, but there was only a minor version bump in recent years, and the changelog does not suggest anything related), and builds now work without those entries. Let's drop this dead weight. Tested with F26-F29, debian unstable. $ perl -i -0pe 's/\s*<authorgroup>.*<.authorgroup>//gms' man/*xml
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-2/+0
| | | | | | | | | | | These lines are generally out-of-date, incomplete and unnecessary. With SPDX and git repository much more accurate and fine grained information about licensing and authorship is available, hence let's drop the per-file copyright notice. Of course, removing copyright lines of others is problematic, hence this commit only removes my own lines and leaves all others untouched. It might be nicer if sooner or later those could go away too, making git the only and accurate source of authorship information.
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
| | | | | | | | | | | | | | | | This part of the copyright blurb stems from the GPL use recommendations: https://www.gnu.org/licenses/gpl-howto.en.html The concept appears to originate in times where version control was per file, instead of per tree, and was a way to glue the files together. Ultimately, we nowadays don't live in that world anymore, and this information is entirely useless anyway, as people are very welcome to copy these files into any projects they like, and they shouldn't have to change bits that are part of our copyright header for that. hence, let's just get rid of this old cruft, and shorten our codebase a bit.
* doc: more spelling fixesMichael Biebl2018-06-121-1/+1
|
* man: merge two sections into two subsections of one sectionZbigniew Jędrzejewski-Szmek2018-04-181-45/+49
| | | | Those are very close subjects that are a good fit for one section.