#989432 extlinux writes ldlinux.c32 and ldlinux.sys in multiple fragments

Package:
extlinux
Source:
syslinux
Description:
collection of bootloaders (Linux ext2/ext3/ext4, btrfs, and xfs bootloader)
Submitter:
Josh Triplett
Date:
2021-06-03 17:03:03 UTC
Severity:
normal
#989432#3
Date:
2021-06-03 17:00:46 UTC
From:
To:
On a freshly created and nearly empty filesystem, after extlinux
--install creates ldlinux.c32 and ldlinux.sys, they're both fragmented:

$ filefrag ldlinux.*
ldlinux.c32: 3 extents found
ldlinux.sys: 2 extents found

extlinux could avoid this in several different ways, most easily by
reserving enough space for the file up-front using ftruncate.