[RULE] Vacuum status

Eugene Wong disposable_eugene at hotmail.com
Tue Dec 17 21:05:28 EET 2002


Hi all.

Vacuum is basically ready. By this Friday, I think that we can distribute a 
beta version that has the following options:

-e = empty this item from the spool directory
-g = display equivalent working directory [more info below]
-r = restore
-s = suck up

For -e you would have to specify what you would like to delete. To clean out 
the entire spool directory, you'd have to type, "vacuum -e 
/var/spool/vacuum/*". The * is important. In future versions, this should 
record what was emptied, for future sucking up, but for now, it doesn't do 
anything.

I felt that it would be important to have -g because it makes it easier to 
cd back and forth between the equivalent directories. This is important when 
you don't want to delete all of the subdirectories. You could suck up all of 
them, then restore some. You could also use it to look around. For example, 
let's pretend that you just sucked up /usr/XFree86/lib/X11/locale. To check 
the spool directory, You'd type:

root# cd `vacuum -g`
root# pwd
/var/spool/vacuum/usr/XFree86/lib/X11/locale
root# cd `vacuum -g`
root# pwd
/usr/XFree86/lib/X11/locale
root# cd ..; pwd
/usr/XFree86/lib/X11
root# cd `vacuum -g`
root# pwd
/var/spool/vacuum/usr/XFree86/lib/X11/locale
root#

Originally, I intended to have -g actually go to the equivalent directory 
"outside" of the script, but I don't know how to do that. If you have 
suggestions, then please let me know.

-r is just as we decided. Just like -e, you have to specify what you want to 
restore.

-s is also just as we decided. Just like -e, you have to specify what you 
want to restore.

It should be noted that I don't use "cp -dpR --parent" & "rm -rf" as much as 
I may have mentioned. Instead I use "mkdir -p" & "mv". If you have 
suggestions, then please let me know.

I intend to add long options in the new year.

I don't know how to make rpms, so if someone [who isn't doing anything with 
the RULE project] would be kind enough to do that for me, then I'd 
appreciate it. At the very least, I'd appreciate it if someone [who isn't 
doing anything with the RULE project] would be kind enough to point me in 
the right direction for easy-to-understand documentation.


Sincerely, and with thanks,
Eugene T.S. Wong

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
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