Files with negative offsets
Posted Jun 9, 2005 16:25 UTC (Thu) by
landley (guest, #6789)
Parent article:
Files with negative offsets
Actually, when I first read the headline I thought they were going to be talking about a really simple way of doing extended attributes.
Negative offsets would be a way to attach data to a file that's completely ignored by everybody who uses the API in a conventional manner, but really easy to access using the exact same API calls if you know it's there. The only new thing you'd need is another SEEK_END to get to the most negative offset. (An extra stat field to show the extended attribute size would be nice too, of course...)
Structuring this data would not be the operating system's problem...
Rob
(
Log in to post comments)