This patch set is an attempt to use libmount for mount unit handling, in order
to address the issues I raised with the _netdev option and remote-fs ordering
not working as expected.

In addition, given the feedback on my previous posting I went ahead and
implemented auto-detection of iSCSI and the FCoE drivers that need a
functioning network interface and userspace support.  It's somewhat based on
the transport detection from lsblk, but using libudev and with a different FCoE

Changes in v2:
  Removed all existing mountinfo parsing code that was previously left as a
  fall-back for building without libmount, which is now a hard build

  Added iSCSI and FCoE auto-detection.

Chris Leech (5):
  mount: use libmount to enumerate /proc/self/mountinfo
  mount: check options as well as fstype for network mounts
  mount: monitor for utab changes with inotify
  mount: add remote-fs dependencies if needed after change
  mount: auto-detect iSCSI and FCoE as requiring network

 .travis.yml        |   2 +-        |   4 +-
 README             |   1 +       |  10 ++
 src/core/build.h   |   7 ++
 src/core/manager.c |   2 +-
 src/core/manager.h |   2 +
 src/core/mount.c   | 309 ++++++++++++++++++++++++++++++++++++++++++++---------
 8 files changed, 282 insertions(+), 55 deletions(-)

systemd-devel mailing list

Reply via email to