Why Partition a Hard Disk

Doug Gwyn gwyn at smoke.ARPA
Sat Sep 3 13:13:07 AEST 1988


In article <66800 at sun.uucp> guy at gorodish.Sun.COM (Guy Harris) writes:
>Yes, changing the "stat" structure may be painful.  Not changing it may be
>painful as well....

A reasonable way to make the change is to introduce a new system call,
which acts the way one wants (e.g. long st_ino), change the C library
stat() interface to use the new system call (and change the stat.h
header at the same time!), then recompile and test all the system
software at one's leisure.  Old binaries keep working until one is
finished checking everything out and removes the old system call (if
ever; usually it is left enabled so customers don't have to recompile
anything).  Old binaries can fail on long inode numbers, but this is
no worse than not making the change, and at least the official system
software has been upgraded to work right.



More information about the Comp.unix.wizards mailing list