chiark / gitweb /
mount: move device links handling from generator
authorTom Gundersen <teg@jklm.no>
Mon, 19 Aug 2013 09:45:24 +0000 (17:45 +0800)
committerTom Gundersen <teg@jklm.no>
Wed, 11 Sep 2013 12:40:59 +0000 (14:40 +0200)
commit5073f89f102d98c27c4f3aefb5643b50a5301d10
tree0aa4a089de545a869f44419634c0d37d843fd1bf
parentb56a422a919ec5a12f8fa7f9dfc63f7d88c6a077
mount: move device links handling from generator

This makes mount units work like swap units: when the backing device appears
the mount unit will be started.

v2: the device should want the mount unconditionally, not only for DefaultDependencies=yes
src/core/mount.c
src/fstab-generator/fstab-generator.c