syslinux doesn't care if it fails to write to a full disk and will return zero anyway: joey@dragon:~/src/d-i/installer/build/dest/floppy>syslinux boot.img No free cluster 0 2848 write in copy: No space left on device joey@dragon:~/src/d-i/installer/build/dest/floppy>echo $? 0
retitle ignores failure conditions reassign 335152 mtools thanks Hi, according to hans peter anvin, the syslinux upstream author, this is not a bug in syslinux but in mtools, i'm therefore reassigning it. Regards, Daniel
The problem is that mtools (mcopy) returns 0 despite failure. syslinux does handle an error code from mtools if one is provided, thus if mtools is fixed this problem goes away in syslinux.