unixabg / cryptmypi

Project to assist users in building an encrypted raspberry pi
GNU General Public License v3.0
63 stars 20 forks source link

sdcard device in card reader or usb card reader #2

Closed unixabg closed 5 years ago

unixabg commented 5 years ago

Issue reported by : Partitions are handled differently based on if the device is identified as regular card reader or usb card reader. A user can can change the name of the device but mmc and sda handle partitions differently, consider mmcblk0p1 vs sda1 . Script is hard coded {_BLKDEV}p1.