diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2019-01-02 07:13:19 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2019-01-02 07:21:39 +0100 |
commit | 5c4277ec376541b10f1acbea734aa29900eb5722 (patch) | |
tree | 88d4eb1ecd329ab2723f1884b00aeb50fe557f90 /package/network | |
parent | e9e63c5a9ae64344b793d3a2860cc6da8b1e77e7 (diff) | |
download | upstream-5c4277ec376541b10f1acbea734aa29900eb5722.tar.gz upstream-5c4277ec376541b10f1acbea734aa29900eb5722.tar.bz2 upstream-5c4277ec376541b10f1acbea734aa29900eb5722.zip |
fstools: update to the latest master branch
This is a big block(d) cleanup with new feature of generating "mount"
hotplug.d events.
It's an important update for those who were using mountd in the
pre-18.06 releases. Due to the mountd being replaced with blockd a
support for "mountd" hotplug.d events has been lost. It broke all kind
of shell scripts that were e.g. managing services depending on an
external USB drive availability.
This basically (re-)adds support for calling /etc/hotplug.d/mount/
scripts with ACTION ("add" or "remove") and DEVICE set.
af93f4b block(d): improve hotplug.d "mount" events for the autofs
3bb3352 blockd: unmount device explicitly when it disappears
28753b3 block: remove target directory after unmounting
c8c7ca5 block: cleanup handling "start" action of the "autofs" command
f1bb762 block: make blockd_notify() return an int instead of void
71c2bde block: generate hotplug.d mount events
30f5096 block: validate amount of arguments for the "autofs" command
dc6a462 blockd: don't reparse blob msg in the vlist callbacks
f6a9686 blockd: don't unmount device when removing it from the list
1913fea block: don't duplicate unmounting code in the mount_action()
6b445fa block: make umount_device() function more generic
a778468 block: don't duplicate mounting code in the mount_device()
5dc631d block: simplify code picking mount target directory
2971779 block: move blockd_notify() call out of the conditional blocks
b86bd6e block: fix formatting & indent in the mount_device()
e12c0d6 fstools: use EXIT_FAILURE when indicating error on exit
091aa3d fstools: guard usage of WEXITSTATUS
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'package/network')
0 files changed, 0 insertions, 0 deletions