1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

iiab-expand-rootfs: Clarify legacy code shortcoming

This commit is contained in:
root 2022-03-15 12:59:31 -04:00
parent fc032efe8a
commit a9fe5902da

View file

@ -33,7 +33,8 @@ if [ -f /.expand-rootfs ] || [ -f /.resize-rootfs ]; then
growpart $ROOT_DEV $ROOT_PART_NUM
resize2fs $ROOT_PART
# 2022-03-15: Legacy code below for microSD cards but NOT USB boot disks
# 2022-03-15: Legacy code below worked with Raspberry Pi microSD cards
# but *not* with USB boot drives, internal spinning disks/SSD's, etc.
# # ASSUMES SD CARD STYLE PARTITION NAME LIKE <device>p<partition number>
# # e.g. /dev/mmcblk0p2 mounts at / (typical RasPiOS microSD)