]> Sergey Matveev's repositories - nnn.git/commitdiff
Add OS-specific alternative notes
authorArun Prakash Jana <engineerarun@gmail.com>
Sun, 26 May 2019 11:22:00 +0000 (16:52 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 26 May 2019 11:22:00 +0000 (16:52 +0530)
plugins/nmount

index 324ee380f3db8b1b25281bfbcef8442a2138f88c..aa72791884ceef08a2344b1f8d59bf6530592c84 100755 (executable)
@@ -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): "