Failed command:
mksquashfs /dev/null test.sqfs -pf content.list -e /dev/null
with content.list:
f0 f 444 0 0 dd if=/dev/urandom bs=1k count=1
.... repeated lines ....
fN f 444 0 0 dd if=/dev/urandom bs=1k count=1
Where N - big number (1000..5000...)
This command exhaust all file descriptors on system and fail.
OS Linux (Debian 7, Gentoo ...)
Fixed in Squashfs tools 4.3