From: Arun Prakash Jana Date: Sun, 26 May 2019 11:22:00 +0000 (+0530) Subject: Add OS-specific alternative notes X-Git-Tag: v2.5~5 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=f02e0d359f199873db1cd4963a030883122a3b15;p=nnn.git Add OS-specific alternative notes --- diff --git a/plugins/nmount b/plugins/nmount index 324ee380..aa727918 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): "