[systemd-devel] [RFC] mount/automount/swap: unify the remaining default dependency handling

Tom Gundersen teg at jklm.no
Fri Sep 13 03:55:45 PDT 2013


This moves the last bits of the default dependency handling from the fstab
generator to core, and uses it also in the gpt-auto generator; making the
logic the same no matter how you set up your mount points.

The first patch may be controversial as it changes the semantics of automount
points quite a bit. I think it makes more sense this way, but coments welcome.

Cheers,

Tom

 src/core/automount.c                        |  14 ++++++++++++++
 src/core/mount.c                            |  53 ++++++++++++++++++++++++++++++++++++++++++++++++++---
 src/fstab-generator/fstab-generator.c       | 111 ++++++++++++++++++++++-----------------------------------------------------------------------------------------
 src/gpt-auto-generator/gpt-auto-generator.c |  28 ----------------------------
 4 files changed, 86 insertions(+), 120 deletions(-)



More information about the systemd-devel mailing list