A Whirlwind Tutorial on Creating Really Teensy ELF Executables for Linux
muppetlabs.com
muppetlabs.com
Since it is here, though, I want to take the opportunity to say thanks to everyone who's expressed their appreciation of my essay. And I should note here that writing that essay, so many years ago now, is one of the better thing I've done for my career. Share what you have to learn the hard way; the effort won't be wasted.
I probably go back over it once every 6 months and it always makes me smile.
http://www.phoronix.com/scan.php?page=news_item&px=MTI1N...
As this has been discussed for quite some time, I actually thought it was already enabled in ext4 -- apparently not.
BTRFS supports "space efficient packing of small files" - by suballocating blocks. Not sure what the real mimimum size on disk for a file is though -- but apparently you can approach header+<data> size both on btrfs and ext4 (and on BSD under UFS2 afaik).
I've always wondered about this. Why do errors always return as negative?
I believe it was a tradition to have a high bit indicate error at the time Unix was originated.
The high bits of the condition value format can also tell you more about what component returned the error, and there were a few control flags up in the highest bits, including bit 31 (the sign bit) which inhibited message display.
Somewhat unusually, the low three bits of the condition status value are used to indicate varying levels of success or failure; the success (0b001), informational (0b011), warning (0b000), error (0b010) and severe/fatal (0b100) errors.
VAX had the BLBS and BLBS instructions for testing and branching on the low bit, too.
These success- and failure-testing instructions were separate from the BEQL/BEQU, BNEQ/BNEQU, BGTR/BGRTU, BGEQ/BGEQU, BLSS/BLSSU and BLEQ/BLEQU that looked at whether the signed or unsigned value was positive, zero or negative, or zero or greater, or zero or less. A condition value that had been displayed or otherwise inhibited was switched to a negative value.
Yes, VAX had a lot of instructions.
This usage of the low bit also led to the semi-inevitable "Success on VMS being odd" in-joke.