1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-31 16:21:26 +03:00
systemd/man
Karel Zak 3519d230c8 fstab-generator: add x-systemd.requires and x-systemd.requires-mounts-for
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
2015-05-18 16:07:52 +02:00
..
.gitignore build-sys,man: use XML entities to substite strings 2013-03-29 20:30:21 -04:00
binfmt.d.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
bootchart.conf.xml Do not advertise .d snippets over main config file 2015-03-03 19:10:21 -05:00
bootctl.xml gummiboot/sd-boot/systemd-boot: rename galore 2015-02-18 15:23:23 +01:00
bootup.xml man: make bootup graph consistent 2015-02-20 14:52:14 -08:00
busctl.xml man: link to fd.o for dbus stuff 2015-03-13 23:42:18 -04:00
coredump.conf.xml coredump: make sure we vacuum by default 2015-05-15 20:56:55 +02:00
coredumpctl.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
crypttab.xml cryptsetup: Implement offset and skip options 2015-04-17 10:53:01 -05:00
custom-html.xsl man: link to fd.o for dbus stuff 2015-03-13 23:42:18 -04:00
custom-man.xsl man: always supply quotes around literals 2013-06-26 08:05:14 -04:00
daemon.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
file-hierarchy.xml build-sys: move systemd.pc from pkgconfiglibdir back into pkgconfigdatadir 2015-04-21 20:35:17 +02:00
glib-event-glue.c man: glib-event-glue.c - remove unnecessary includes 2014-11-03 14:46:28 +01:00
halt.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
hostname.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
hostnamectl.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
hwdb.xml treewide: Correct typos and spell plural of bus consistent 2015-05-11 15:51:30 +02:00
journal-remote.conf.xml man: add journal-remote.conf(5) 2015-03-22 10:14:50 -04:00
journalctl.xml man: don't mention "journalctl /dev/sda" 2015-04-02 12:17:41 +02:00
journald.conf.xml man: fix typos in previous comimt 2015-05-09 19:46:23 -04:00
kernel-command-line.xml man: remove 'fs' from 'rootfsflags' 2015-04-08 11:28:45 -04:00
kernel-install.xml man: fix indentation of copyright headers 2015-03-13 23:42:18 -04:00
less-variables.xml systemctl: add edit verb 2014-11-29 19:28:14 +01:00
libsystemd-pkgconfig.xml man: add a mapping for external manpages 2014-07-07 18:36:55 -04:00
locale.conf.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
localectl.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
localtime.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
loginctl.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
logind.conf.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
machine-id.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
machine-info.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
machinectl.xml man: document that nspawn -x, --template= and machinectl clone leave hostname and machine id unmodified 2015-05-05 15:07:00 -07:00
Makefile
modules-load.d.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
networkctl.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
nss-myhostname.xml treewide: Correct typos and spell plural of bus consistent 2015-05-11 15:51:30 +02:00
nss-mymachines.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
os-release.xml Add VARIANT as a standard value for /etc/os-release 2015-05-05 21:07:13 +02:00
pam_systemd.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
resolved.conf.xml Do not advertise .d snippets over main config file 2015-03-03 19:10:21 -05:00
runlevel.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_booted.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_bus_creds_get_pid.xml treewide: Correct typos and spell plural of bus consistent 2015-05-11 15:51:30 +02:00
sd_bus_creds_new_from_pid.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
sd_bus_default.xml treewide: Correct typos and spell plural of bus consistent 2015-05-11 15:51:30 +02:00
sd_bus_error.xml man: fix indentation of copyright headers 2015-03-13 23:42:18 -04:00
sd_bus_message_append_array.xml man: fix indentation of copyright headers 2015-03-13 23:42:18 -04:00
sd_bus_message_append_basic.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
sd_bus_message_append_string_memfd.xml man: fix indentation of copyright headers 2015-03-13 23:42:18 -04:00
sd_bus_message_append_strv.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
sd_bus_message_append.xml treewide: Correct typos and spell plural of bus consistent 2015-05-11 15:51:30 +02:00
sd_bus_message_get_cookie.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_bus_message_get_monotonic_usec.xml treewide: Correct typos and spell plural of bus consistent 2015-05-11 15:51:30 +02:00
sd_bus_negotiate_fds.xml man: fix indentation of copyright headers 2015-03-13 23:42:18 -04:00
sd_bus_new.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
sd_bus_path_encode.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
sd_bus_request_name.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_event_add_child.xml man: fix indentation of copyright headers 2015-03-13 23:42:18 -04:00
sd_event_add_defer.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
sd_event_add_signal.xml man: fix indentation of copyright headers 2015-03-13 23:42:18 -04:00
sd_event_add_time.xml tree-wide: there is no ENOTSUP on linux 2015-03-13 14:10:39 +01:00
sd_event_get_fd.xml man: fix indentation of copyright headers 2015-03-13 23:42:18 -04:00
sd_event_new.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
sd_event_run.xml man: add link to glib in sd_event_run(3) 2015-04-12 21:47:58 -04:00
sd_event_set_name.xml man: fix indentation of copyright headers 2015-03-13 23:42:18 -04:00
sd_event_wait.xml treewide: Correct typos and spell plural of bus consistent 2015-05-11 15:51:30 +02:00
sd_get_seats.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_id128_get_machine.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_id128_randomize.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_id128_to_string.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_is_fifo.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_journal_add_match.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_journal_get_catalog.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
sd_journal_get_cursor.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
sd_journal_get_cutoff_realtime_usec.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_journal_get_data.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_journal_get_fd.xml include <poll.h> instead of <sys/poll.h> 2015-02-12 20:47:38 +01:00
sd_journal_get_realtime_usec.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_journal_get_usage.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_journal_next.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_journal_open.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_journal_print.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
sd_journal_query_unique.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_journal_seek_head.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_journal_stream_fd.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_listen_fds.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_login_monitor_new.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_machine_get_class.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_notify.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_pid_get_session.xml man: document when the various sd-login.h calls return ENXIO 2015-04-29 21:45:58 +02:00
sd_seat_get_active.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_session_is_active.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_uid_get_state.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd_watchdog_enabled.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd-daemon.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd-id128.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd-journal.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
sd-login.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
shutdown.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
standard-conf.xml man: standard-conf: change directory reference to wildcard 2015-03-15 20:42:42 -04:00
standard-options.xml man: use one description of --no-legend 2015-01-19 21:44:53 -05:00
sysctl.d.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
systemctl.xml Use "new" --job-mode= option in more places 2015-05-18 01:08:09 -04:00
systemd-activate.xml treewide: Correct typos and spell plural of bus consistent 2015-05-11 15:51:30 +02:00
systemd-analyze.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
systemd-ask-password-console.service.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-ask-password.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-backlight@.service.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-binfmt.service.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-bootchart.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
systemd-bus-proxyd.xml man: fix indentation of copyright headers 2015-03-13 23:42:18 -04:00
systemd-bus-proxyd@.service.xml man: link to fd.o for dbus stuff 2015-03-13 23:42:18 -04:00
systemd-cat.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
systemd-cgls.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-cgtop.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-coredump.xml treewide: Correct typos and spell plural of bus consistent 2015-05-11 15:51:30 +02:00
systemd-cryptsetup-generator.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
systemd-cryptsetup@.service.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
systemd-debug-generator.xml man: replace obsolete wiki link with man page 2015-03-04 19:30:50 -05:00
systemd-delta.xml treewide: Correct typos and spell plural of bus consistent 2015-05-11 15:51:30 +02:00
systemd-detect-virt.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-efi-boot-generator.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
systemd-escape.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-firstboot.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
systemd-fsck@.service.xml fsck: remove fsckd again, but keep the door open for external replacement 2015-04-28 17:30:00 +02:00
systemd-fstab-generator.xml treewide: Correct typos and spell plural of bus consistent 2015-05-11 15:51:30 +02:00
systemd-getty-generator.xml man: replace obsolete wiki link with man page 2015-03-04 19:30:50 -05:00
systemd-gpt-auto-generator.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
systemd-halt.service.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-hibernate-resume-generator.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
systemd-hibernate-resume@.service.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-hostnamed.service.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-hwdb.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
systemd-inhibit.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-initctl.service.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-journal-gatewayd.service.xml man: fix indentation of copyright headers 2015-03-13 23:42:18 -04:00
systemd-journal-remote.xml treewide: Correct typos and spell plural of bus consistent 2015-05-11 15:51:30 +02:00
systemd-journal-upload.xml man: fix indentation of copyright headers 2015-03-13 23:42:18 -04:00
systemd-journald.service.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
systemd-localed.service.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
systemd-logind.service.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-machine-id-commit.service.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-machine-id-commit.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-machine-id-setup.xml man: link to fd.o for dbus stuff 2015-03-13 23:42:18 -04:00
systemd-machined.service.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-modules-load.service.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-networkd-wait-online.service.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-networkd.service.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-notify.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-nspawn.xml nspawn: rework custom mount point order, and add support for overlayfs 2015-05-13 14:07:26 +02:00
systemd-path.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-quotacheck.service.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
systemd-random-seed.service.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-remount-fs.service.xml man: use utf-8 in systemd-remount-fs.service(8) 2015-05-02 13:01:28 -04:00
systemd-resolved.service.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-rfkill@.service.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-run.xml run: by default, wait until the transient unit finished start-up 2015-04-28 12:33:19 +02:00
systemd-sleep.conf.xml man: fix indentation of copyright headers 2015-03-13 23:42:18 -04:00
systemd-socket-proxyd.xml man: Second example systemd-socket-proxyd does not need a Unix socket listener. 2015-03-24 12:25:56 -07:00
systemd-suspend.service.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-sysctl.service.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
systemd-system-update-generator.xml man: replace obsolete wiki link with man page 2015-03-04 19:30:50 -05:00
systemd-system.conf.xml man: document default timeouts and start limit parameters 2015-04-07 15:42:25 +02:00
systemd-sysusers.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-sysv-generator.xml man: replace obsolete wiki link with man page 2015-03-04 19:30:50 -05:00
systemd-timedated.service.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-timesyncd.service.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-tmpfiles.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-tty-ask-password-agent.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-udevd.service.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
systemd-update-done.service.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd-update-utmp.service.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
systemd-user-sessions.service.xml man: correct description of systemd-user-sessions 2015-02-27 17:28:03 -05:00
systemd-vconsole-setup.service.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
systemd.automount.xml automount: add expire support 2015-04-21 20:23:41 +02:00
systemd.device.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
systemd.exec.xml man: link to freebsd.org for inetd(8) 2015-03-13 23:42:18 -04:00
systemd.generator.xml treewide: Correct typos and spell plural of bus consistent 2015-05-11 15:51:30 +02:00
systemd.journal-fields.xml treewide: Correct typos and spell plural of bus consistent 2015-05-11 15:51:30 +02:00
systemd.kill.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
systemd.link.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
systemd.mount.xml fstab-generator: add x-systemd.requires and x-systemd.requires-mounts-for 2015-05-18 16:07:52 +02:00
systemd.netdev.xml treewide: Correct typos and spell plural of bus consistent 2015-05-11 15:51:30 +02:00
systemd.network.xml man: IPMasquerade only implies IPForward=ipv4 2015-05-15 12:18:05 +02:00
systemd.path.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
systemd.preset.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd.resource-control.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
systemd.scope.xml man: fix indentation of copyright headers 2015-03-13 23:42:18 -04:00
systemd.service.xml treewide: Correct typos and spell plural of bus consistent 2015-05-11 15:51:30 +02:00
systemd.slice.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
systemd.snapshot.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
systemd.socket.xml man: link to freebsd.org for inetd(8) 2015-03-13 23:42:18 -04:00
systemd.special.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd.swap.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00
systemd.target.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
systemd.time.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
systemd.timer.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
systemd.unit.xml treewide: fix typos 2015-05-05 22:19:28 -04:00
systemd.xml shutdownd: kill the old implementation 2015-04-24 17:48:12 +02:00
sysusers.d.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
telinit.xml Reindent man pages to 2ch 2015-02-03 23:11:35 -05:00
timedatectl.xml man: avoid confusion regarding "time synchronization state" 2015-04-08 18:34:08 +02:00
timesyncd.conf.xml Do not advertise .d snippets over main config file 2015-03-03 19:10:21 -05:00
tmpfiles.d.xml man: elaborate on the order by which tmpfiles operations are executed 2015-04-22 18:24:47 +02:00
udev.conf.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
udev.xml udev: add SYSCTL{} support 2015-03-11 11:15:53 +01:00
udevadm.xml man: boilerplate unification 2015-02-10 23:24:27 -05:00
user-system-options.xml man: document that systemctl's -H may now be used to connect directly to a container on a remote host 2014-07-03 20:37:10 +02:00
vconsole.conf.xml man: fix a bunch of links 2015-03-13 23:42:18 -04:00