View Full Version : Re-using an existing REISERFS partition
philo
08-25-2014, 01:05 PM
Come (reportedly in a few weeks) Knoppix 7.4.1 and (but probably later) Linux Kernel 3.16, shall I be able to re-use the new REISERFS partition I recently created for Knoppix 7.4.0?
If it can be done, what will be the safest procedure?
philo
08-25-2014, 02:12 PM
The answer maybe in:
http://www.wp-schulz.de/summary/summary-backup.html
Is it still valid? Does it work for a REISERFS overlay or only for the '. img' overlay file smaller than 4GB?
Besides, Werner's script includes both '/home' and '/etc', which may not be a good thing.
Werner P. Schulz
08-25-2014, 04:48 PM
You can delete within the function "p_backup()" at position
tar -C /KNOPPIX-DATA/ --exclude=*/Cache/* \
-vczf /media/$SEL/knx/bufi/$BU_FI ./home/ ./etc/ \
| awk '{printf "%-78s\r", substr($1, 1, 78)}'the part "./etc/"
tar -C /KNOPPIX-DATA/ --exclude=*/Cache/* \
-vczf /media/$SEL/knx/bufi/$BU_FI ./home/ \
| awk '{printf "%-78s\r", substr($1, 1, 78)}'
and "Backup personal persistent memory" will only save all of '/home'
Does it work for a REISERFS overlay or only for the '. img' overlayI've created and tested the script with overlay file and with overlay partition. You can see it in the Main part
# if persistent memory in overlay partition
OVL_PART=""
if [ -e /mnt-system/KNOPPIX/knoppix-data.inf ]; then
OVL_PART=`echo ${INST_PART/1/2}`
fi
philo
08-25-2014, 07:41 PM
Thanks, Werner.
I was reading old copies of your web site and of your script. I am now up to date...
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.