aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/nmount
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/nmount')
-rwxr-xr-xplugins/nmount5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/nmount b/plugins/nmount
index aa72791..53eaf23 100755
--- a/plugins/nmount
+++ b/plugins/nmount
@@ -4,9 +4,12 @@
# If the device is not mounted, it will be mounted.
# If the device is mounted, it will be unmounted and powered down.
#
-# Note: The script uses Linux-specific lsblk to list block devices. Alternatives:
+# Note:
+# - The script uses Linux-specific lsblk to list block devices. Alternatives:
# macOS: "diskutil list"
# BSD: "geom disk list"
+# - The script uses udisksctl (from udisks2) to pwoer down devices. This is also Linux-specific.
+# Users on non-Linux platforms can comment it and use an alterntive to power-down disks.
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana