Saving /var using flashrd 1.3
russ at quist.ca
Thu May 30 05:15:07 PDT 2013
Thanks for the clarification. I suppose in summary what I was trying so say
"In the documentation I did not read that if one wants to preserve the
state of the /var directory between reboots, one should uncomment the:
line in /etc/rc.flashrd.sub file."
The only reason I want to do this BTW is to preserve the root crontab file,
specifically removing the sendmail reference which I do not think should be
there as the default.
On Thu, May 30, 2013 at 1:32 AM, Chris Cappuccio <chris at nmedia.net> wrote:
> Russell Sutherland [russ at quist.ca] wrote:
> > After reading the documentation from:
> > http://www.nmedia.net/flashrd/flashrd-faq.html I was attempting to get
> > system to save /var upon restart. All documentation seems to say that:
> > a. /var is saved by default
> /var is only saved on shutdown if you request it...
> > b. on defines the "tardirs" shell variable to indicate which directories
> > save with "/var" as the default
> tardirs is only used in the creation. if the documentation is still
> that's because it used to also control whether or not the directory was
> re-archived on shutdown. I'll take a look at that.
> > I found the only way to really effect /var from being saved upon reboot
> > to edit the file:
> > /etc/rc.flashrd.sub
> > and comment out the line:
> > savetardirs="$tardirs"
> This is correct. And this line is commented by default so you shouldn't
> to mess with it if you don't want to archive /var.
email: russ at quist.ca
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the flashrd