From: Andre Noll Date: Tue, 28 Oct 2008 07:01:25 +0000 (+0100) Subject: adu.c: Add a comment describing the user table. X-Git-Tag: v0.0.4~30 X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=commitdiff_plain;h=62675ddea6a9933470c9f75188fde4ab83cc1794 adu.c: Add a comment describing the user table. --- diff --git a/adu.c b/adu.c index 47eee77..ee4dddb 100644 --- a/adu.c +++ b/adu.c @@ -139,6 +139,15 @@ static struct osl_table_description dir_table_desc = { .column_descriptions = dir_table_cols, }; +/* + * The columns of the per-user tables. + * + * Adu tracks disk usage on a per-user basis. For each user, a user table is + * being created. The rows of the user table have three columns: The directory + * number that may be resolved to the path using the directory table, the + * number of bytes and the number of files in that directory owned by the given + * user. + */ static struct osl_column_description user_table_cols[] = { [UT_DIR_NUM] = { .storage_type = OSL_MAPPED_STORAGE,