unix file system

Tim Smith tim at cithep.UucP
Mon Jul 29 14:07:11 AEST 1985


This is not really relevent, but I have sometimes thought that instead of
offsets in a file starting at zero, they should start at some negative
number, possibly specified in the inode.  When you open the file you start
at zero.  The only way to get the data before zero would be an explicit seek.

This "negative region" could be used for things like the a.out header for
executable files, the #!/bin/sh for shell scripts ( note that there is no
need for the prog to recognize # as a comment character ), or information
on record sizes for files that were brought from another system or produced
by a record oriented language ( although it would still be up to user mode
code to actually interpret this; let's leave the kernel out of this. ).
-- 
					Tim Smith
				ihnp4!{wlbr!callan,cithep}!tim



More information about the Comp.unix.wizards mailing list