aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/nmount
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-05-26 16:52:00 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-05-26 16:52:00 +0530
commitf02e0d359f199873db1cd4963a030883122a3b15 (patch)
tree1ee6af468c5962f599ae169f7097a1c6ffb54430 /plugins/nmount
parent0d05d71a0f9a8a6a593a6a58d63c04f817750d3c (diff)
downloadnnn-f02e0d359f199873db1cd4963a030883122a3b15.tar.gz
Add OS-specific alternative notes
Diffstat (limited to 'plugins/nmount')
-rwxr-xr-xplugins/nmount5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/nmount b/plugins/nmount
index 324ee38..aa72791 100755
--- a/plugins/nmount
+++ b/plugins/nmount
@@ -4,10 +4,15 @@
# 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:
+# macOS: "diskutil list"
+# BSD: "geom disk list"
+#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
lsblk
+
echo
echo "Make sure you aren't still in the mounted device."
echo -n "device (e.g. sdc2): "