As for the patch, the following test shows that a file stored in /boot may require significantly more available space than the same file in /var/tmp, even if blocksize in (partition containing) /var/tmp is bigger. I don't know what is the best way to estimate how much available space is needed for storing a file in /boot.
$ echo $TMPDIR $ echo $(( $(stat -f --format='%S' /boot ) )) 1024 $ echo $(( $(stat -f --format='%S' /var/tmp/ ) )) 4096 sudo dd if=/dev/zero of=/boot/file bs=K count=35553 35553+0 records in 35553+0 records out 36406272 bytes (36 MB) copied, 0,334945 s, 109 MB/s $ sudo dd if=/dev/zero of=/var/tmp/file bs=K count=35553 35553+0 records in 35553+0 records out 36406272 bytes (36 MB) copied, 0,171743 s, 212 MB/s $ echo $(( $(stat --format='%b*%B' /var/tmp/file ) )) 36409344 $ echo $(( $(stat --format='%b*%B' /boot/file ) )) 36549632 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1678187 Title: Removing a linux-image-extra package fails, if /boot is about full To manage notifications about this bug go to: https://bugs.launchpad.net/initramfs-tools/+bug/1678187/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
