diff options
author | Ruslan Bilovol <ruslan.bilovol@gmail.com> | 2017-02-13 20:50:22 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-02-13 20:50:22 +0100 |
commit | ae3251851aa64138f415567b0a0d0df143182803 (patch) | |
tree | 4e176e7d029c7f1d01622371e3e3f37d03cfe755 /ENVIRONMENT.md | |
parent | Merge pull request #5331 from namhyung/coredump-reverse (diff) | |
download | systemd-ae3251851aa64138f415567b0a0d0df143182803.tar.xz systemd-ae3251851aa64138f415567b0a0d0df143182803.zip |
fstab-generator: add x-systemd.before and x-systemd.after fstab options (#5330)
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
Diffstat (limited to 'ENVIRONMENT.md')
0 files changed, 0 insertions, 0 deletions