Re: new goo for acct.h struct?

Marek Michalkiewicz (marekm@i17linuxb.ists.pwr.wroc.pl)
Mon, 1 Jul 1996 19:56:14 +0200 (MET DST)


While we are at it: the current sizeof(struct acct) is 52. I think
it would be nice to round it up to a nice power of 2 (64 or 128).
Sometimes (after a crash) fsck likes to set the file size based on
the number of blocks - most likely not a multiple of 52, and it
confuses the accounting tools. Some padding (just in case we want
to add something later) would be nice too.

One more idea for accounting: log the device/inode of the executable.
Sometimes more reliable than the command name (which the user can
change to anything by creating a link to the program).

Marek