X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=blobdiff_plain;f=adu.c;h=ee4dddb972727540efe3e95b5208226178255dbb;hp=02bfa302779ccdf5bc299e8a6a81f5b3c2fb8f60;hb=671cb51713154b62c809603293422f6a5e873cef;hpb=015abc3b736ce8cb784b9e60d8c4cf2427874d2d diff --git a/adu.c b/adu.c index 02bfa30..ee4dddb 100644 --- a/adu.c +++ b/adu.c @@ -8,7 +8,6 @@ #include "string.h" #include "error.h" #include "portable_io.h" -#include "select.cmdline.h" DEFINE_ERRLIST; int osl_errno; @@ -140,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,