summaryrefslogtreecommitdiff
path: root/src/activate
diff options
context:
space:
mode:
authorRuslan Bilovol <ruslan.bilovol@gmail.com>2017-02-13 21:50:22 +0200
committerLennart Poettering <lennart@poettering.net>2017-02-13 20:50:22 +0100
commitae3251851aa64138f415567b0a0d0df143182803 (patch)
tree4e176e7d029c7f1d01622371e3e3f37d03cfe755 /src/activate
parent53f7443a4302ca7950777f6140d7d87052a202d9 (diff)
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 'src/activate')
0 files changed, 0 insertions, 0 deletions