Hacker News
The Teensy Executable Revisited
AdamH12113
|next
[-]
https://www.muppetlabs.com/~breadbox/software/tiny/somewhat....
inigyou
|next
|previous
[-]
Joker_vD
|root
|parent
[-]
inigyou
|root
|parent
[-]
If you actually statically linked kernel32.dll somehow it'll break on future windows versions. kernel32 doesn't contain any syscalls anyway since they're all in ntdll.
Joker_vD
|previous
[-]
dspillett
|root
|parent
[-]
NTFS stores small files (how small depends on the amount of metadata associated with them, technically up to approximately 1KB but the limit could be <700 bytes).
Depending on options at filesystem creation time, ext4 can store small files inline in the file's inode (up to 128 bytes by default IIRC, again less depending on the presence of extra metadata, more if you have inodes larger than the default 256bytes).
Some filesystem (ZFS for one) support block sub-allocation for small files. Tail packing is available in some filesystems which not only affects small files but larger files that are just a little over a multiple of the current blocksize in length (heuristics are commonly used to determine if this is a good idea rather than applying it to all files, as it can lead to notable latency due to fragmentation on traditional storage (less so with solid-state storage)).