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-10 07:16:42 +0100 |
commit | 069fda746e3c407a2f61ee9368f264700bea20cd (patch) | |
tree | 56be2cccf6c6b07a400be673fc7dc839dde2b0e9 /target/linux/octeon | |
parent | 3b4e779e93dea90f910e7974769c5208e4c0a0ad (diff) | |
download | upstream-069fda746e3c407a2f61ee9368f264700bea20cd.tar.gz upstream-069fda746e3c407a2f61ee9368f264700bea20cd.tar.bz2 upstream-069fda746e3c407a2f61ee9368f264700bea20cd.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>
(cherry picked from commit 5c4277ec376541b10f1acbea734aa29900eb5722)
Diffstat (limited to 'target/linux/octeon')
0 files changed, 0 insertions, 0 deletions