lkml.org 
[lkml]   [1996]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: new goo for acct.h struct?
Date
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


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.075 / U:0.708 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site