On Fri, 16 Dec 2022 at 09:14, Roberto A. Foglietta wrote: > > On Fri, 16 Dec 2022 at 00:00, Roberto A. Foglietta > wrote: > > > > Hi all, > > > - udev support: udevadm settle is the first task to run > A dependency needed added, this grants that udevd and udevadm will be installed Many systems might not need udevadm settle for expanding last partition but few others which rely on separated couple of bootfs/rootfs where last partition is on a volume connected through a kind of bus which not be fully ready at boot time until udevd will end to populate the /dev tree. Moreover, expanding the last partition is a single time task which runs only on the first machine boot and then will be disabled forever. Thus, even if it would take some time on some systems, it is acceptable in order to grant to the widest variety of systems this service. Alternative is to accept that some system will be left unprovided of the storage space they have been designed for. This patch is for applying on top of the other previous 7 patches - In expand last partition few improvements and a bugfix - In expand last partition trap exitnlog EXIT logs with simpler code - The expand last partition might support full volumes also, to test - In expand last partition checking the size is useless - If expand last partition fails, unsupervised systems reboot - In expand last partition script btrfs support added - In expand last partition wait for udev have finished or their combination: - The expand last partition rework and generalisation Sent by elastic mail SMTP and went in moderation, here in attachment. Best regards, R-