Hello, I've exported our custom root filesystem from a running board with the following command: dd if=/dev/mmcblk1p4 of=/usr/local/rtfs.ext4 bs=1M conv=fdatasync
I noticed that after I flash the ST starter package root filesystem, at first boot there is a check on bad blocks and a resize of the partitions, while when I flash the exported root filesystem, there is no checks and some partitions are not resized to the full size.
For instance, when doing df, i get:
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 377684 0 377684 0% /dev
/dev/mmcblk1p4 703328 498552 155760 77% /
tmpfs 445508 0 445508 0% /dev/shm
tmpfs 445508 17300 428208 4% /run
tmpfs 445508 0 445508 0% /sys/fs/cgroup
tmpfs 445508 12 445496 1% /tmp
/dev/mmcblk1p2 59365 30635 24144 56% /boot
/dev/mmcblk1p3 14839 6900 6793 51% /vendor
tmpfs 445508 20 445488 1% /var/volatile
/dev/mmcblk1p5 122835 4084 109577 4% /usr/local
tmpfs 89100 0 89100 0% /run/user/0But /usr/local should be 2.9G.
Thank you for any help.
Lidia
