Closed ketoketo closed 6 years ago
Thank you!
LGTM. I've tested this in my Vagrant box, but I don't have any mmcblk devices in there, only sda for the internal hard drive and sdb for my mounted SD card.
I've played with lsblk
a little bit and thought if this line would be better:
lsblk -p -n -o NAME,HOTPLUG -d | grep " 1" | sed 's/ .*$//'
It searches for HOTPLUG devices only. WDYT @tMatSuZ?
Block device is not displayed in Linux OS so processing can not be completed.So, Change block device with path for Linux OS