Subject: /var/backups and /etc/security
To: None <email@example.com>
From: Andrew Brown <firstname.lastname@example.org>
Date: 03/15/2001 15:31:36
currently, /var/backups currently contains two copies of files that
are being backed up: a copy of the current version and a copy of the
previous version. that's not very helpful if you wanna see what you
were doing six months ago. or even three days ago, if you change
stuff a lot.
i've just rewritten (yes, again...the last rewrite is on my laptop
which is being serviced) changes to /etc/security to use rcs as an
alternative to the "two copy" method. of course, each time i redo it,
i redo it better. :)
* added a variable to /etc/defaults/security.conf: backup_uses_rcs=NO
* added a routine called do_backup to /etc/rc.subr to handle the
cp/mv method and the rcs method (61 lines, including comments)
* changed /etc/security to call do_backup instead of using cp/mv
(95 lines, in unified diff format)
comments, please? i'd like to add this to -current.
|-----< "CODE WARRIOR" >-----|
email@example.com * "ah! i see you have the internet
firstname.lastname@example.org (Andrew Brown) that goes *ping*!"
email@example.com * "information is power -- share the wealth."