Add OS-specific alternative notes

This commit is contained in:
Arun Prakash Jana 2019-05-26 16:52:00 +05:30
parent 0d05d71a0f
commit f02e0d359f
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 5 additions and 0 deletions

View File

@ -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): "