[RULE] Vacuum suggestions for cataloging the sucked up files?
Eugene Wong
disposable_eugene at hotmail.com
Thu Feb 13 05:37:22 EET 2003
Hi all.
I've tried to start updating Vacuum to the point where we can have 1.*. 1
of the problems that I seem to have encountered is storing the files
according to the date that it was sucked up. Do you have any suggestions?
So far, I've come up with the idea of creating temporary lists in
/var/log/vacuum. The directory will contain 1 file per execution. So if you
ran "vacuum -s" once per day for 7 days, then there would be 7 files. If you
did it 3 times on Monday, but 1 per day for the other days, then you should
have 9 files. Each of these files would have a name composed of the date, &
an execution name, to give a clue as to what was going on at the time. So,
"ls /var/log/vacuum" might produce:
20030204-foo
20030205-barbie
20030205-games
20030206-XFreei10n
20030207-l18n
20030208-OOo
20030209-usrlib
The date is yyyymmdd, & the text portion is just whatever the user wants it
to be. I realize that the file is supposed to contain date information
already, but when I list the files, they don't seem to have a consistant
date format. It makes me uncomfortable.
When we want to empty files from 3 days ago, but not earlier or later, then
we can do that. If we want to empty game files, but not barbie files, then
we can do that too, even though they are on the same date. Due to the
critical nature of some files, it wouldn't hurt to have it on disk for a
while longer. Most people, even the most minimalist among us, can afford to
keep an extra 50 MB worth, especially when it could make or break the
entire system.
In summary, Vacuum can be emptied according to the date, or the text portion
of the name. The files to be emptied are stored in /var/spool/vacuum & the
logs containing what is to be emptied will be stored in /var/log/vacuum.
Thoughts?
Sincerely, and with thanks,
Eugene T.S. Wong
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
_______________________________________________
Original home page of the RULE project: www.rule-project.org
Original Rule Development Site http://savannah.gnu.org/projects/rule/
Original RULE mailing list: Rule-list at nongnu.org, hosted at http://mail.nongnu.org/mailman/listinfo/rule-list
This full static mirror of the Run Up to Date Linux Everywhere Project mailing list, originally hosted at http://lists.hellug.gr/mailman/listinfo/rule-list, is kept online by Free Software popularizer, researcher and trainer Marco Fioretti. To know how you can support this archive, and Marco's work in general, please click here