How to clear logs and journals in preparation for imaging?

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

How to clear logs and journals in preparation for imaging?

Postby grayman4hire » Wed May 29, 2013 6:29 pm

Hello,

What's the proper way (and commands) to clear all logs and systemctl journals in preparation for imaging/cloning?

Thanks
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: How to clear logs and journals in preparation for imagin

Postby grayman4hire » Wed May 29, 2013 11:31 pm

I went ahead and did the following:

$this->bbcode_second_pass_code('', '
cd /var/log
rm *
cd /var/log/journal
rm -rf *
reboot
')

I hope that's correct.
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: How to clear logs and journals in preparation for imagin

Postby pepedog » Wed May 29, 2013 11:55 pm

Will try to write tomorrow
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 5 guests