aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/nmount
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-06-01 00:17:19 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-06-01 00:34:07 +0530
commit9ba3cb3e9b426b72b14e6c616fdb35828e4b9f7c (patch)
treeb1382fc1bdb833299f0a2a5a606b6a212d00df3a /plugins/nmount
parent82e7a9870504cc87efbd259b2b47733be197e266 (diff)
downloadnnn-9ba3cb3e9b426b72b14e6c616fdb35828e4b9f7c.tar.gz
Update plugins, add mutool to view PDF
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