public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* Update to a new core version via ssd drive
@ 2015-11-14 12:03 Ritchie
  0 siblings, 0 replies; only message in thread
From: Ritchie @ 2015-11-14 12:03 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 614 bytes --]

Hi to all,

I have a IPFire installation with a SSD card and
would like to ask if it is still needed to move the logfile
of the drive after running the update.

I have core 93 and would like to move to 94.


I am using this script:

#!/bin/sh
echo create a log folder of the ssd drive
mkdir /mnt/harddisk/log
echo "copy the existing log file to ssd card"
cp -vp /var/log /mnt/harddisk/log
echo "rename var folder to old"
mv /var/log /var/log-old
echo "create a symbolic link"
ln -s /mnt/harddisk/log /var/log
echo "check the state of the log file"
ls -la /var/log/


Thanks for any information.

Best regards

R.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-14 12:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-14 12:03 Update to a new core version via ssd drive Ritchie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox