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

iiab-expand-rootfs: ALL kinds of boot disks should work!

This commit is contained in:
root 2022-03-15 12:50:59 -04:00
parent 85eb059add
commit fc032efe8a

View file

@ -3,8 +3,10 @@
# Expand rootfs partition to its maximum size, if /.expand-rootfs exists.
# Used by /etc/systemd/system/iiab-expand-rootfs.service on IIAB boot.
# Should work with most Linux OS's, regardless whether Raspberry Pi SD cards
# or external USB boot disks, etc. Verifies that rootfs is the last partition.
# Should work with all Linux OS's boot disks -- regardless whether Raspberry Pi
# microSD cards, external USB drives, internal spinning disks or SSD's, etc.
# Verifies that rootfs is the last partition.
if [ -f /.expand-rootfs ] || [ -f /.resize-rootfs ]; then
echo "$0: Expanding rootfs partition"