commit 0e8cb050458e461061fd6a87bf605ae8611abaa1 parent 21ee3489c29236a9197b6746f97f1c9f81bd0a48 Author: Arun Prakash Jana <engineerarun@gmail.com> Date: Sun, 5 May 2019 21:15:36 +0530 sync data before ejecting drives Diffstat:
| M | plugins/nmount | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/plugins/nmount b/plugins/nmount @@ -19,6 +19,7 @@ fi echo if grep -qs "$dev " /proc/mounts; then + sync pumount "$dev" if [ "$?" -eq "0" ]; then udisksctl power-off -b /dev/"$dev"