lsblk in logs
- add $PARTITIONS in logs
- add a function for mask item in list $PARTITIONS to prepare https://github.com/Chrysostomus/manjaro-architect/issues/63#issuecomment-282555404
02/26/17 17:00:34 --------- [lsblk] ------------
02/26/17 17:00:34 /dev/sda1 100M
02/26/17 17:00:34 /dev/sda2 539,4G
02/26/17 17:00:34 /dev/sda3 1K
02/26/17 17:00:34 /dev/sda4 13,9G
02/26/17 17:00:34 /dev/sda5 5,9G
02/26/17 17:00:34 /dev/sda6 32,2G
02/26/17 17:00:34 /dev/sda7 32,2G
02/26/17 17:00:34 /dev/sda8 32,2G
02/26/17 17:00:34 /dev/sda9 20,5G
02/26/17 17:00:34 /dev/sda10 44G
02/26/17 17:00:34 /dev/sda11 1,1T
exemple of function delete_partition_in_list "/dev/sda8"
not used in this PR, Can be adapted for Chrysostomus usage ?
02/26/17 17:00:34 in partitions delete item /dev/sda8 no: 14 / 15
02/26/17 17:00:34 partitions: /dev/sda1 100M /dev/sda2 539,4G /dev/sda3 1K /dev/sda4 13,9G /dev/sda5 5,9G /dev/sda6 32,2G /dev/sda7 32,2G /dev/sda9 20,5G /dev/sda10 44G /dev/sda11 1,1T
note: /dev/sda3 1K is extend partition :( good to filter mbr extends