summaryrefslogtreecommitdiffstats
path: root/globetrotter
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-05-25 08:34:42 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-05-25 08:34:42 +0000
commitb67c291105ddad6c511f1539306666bbc23985d0 (patch)
treebe8c1153ce7b6b9a4648967266a8147a4c91cfa1 /globetrotter
parentb028537ef693ebaac6a35a00b156facc8417bce3 (diff)
downloaddrakx-backup-do-not-use-b67c291105ddad6c511f1539306666bbc23985d0.tar
drakx-backup-do-not-use-b67c291105ddad6c511f1539306666bbc23985d0.tar.gz
drakx-backup-do-not-use-b67c291105ddad6c511f1539306666bbc23985d0.tar.bz2
drakx-backup-do-not-use-b67c291105ddad6c511f1539306666bbc23985d0.tar.xz
drakx-backup-do-not-use-b67c291105ddad6c511f1539306666bbc23985d0.zip
when we format the root fs prior to restoring the hd, set back the
label on the fs so that we can handle an aborted restoration (power outrage, ...)
Diffstat (limited to 'globetrotter')
-rwxr-xr-xglobetrotter/make_live2
1 files changed, 1 insertions, 1 deletions
diff --git a/globetrotter/make_live b/globetrotter/make_live
index 0eb037741..5fd121369 100755
--- a/globetrotter/make_live
+++ b/globetrotter/make_live
@@ -129,7 +129,7 @@ if ($rescue) {
print "Please wait, disk reinstallation is in progress, this can take quite some time\n";
print "Formating $root->{device}\n";
system("mkfs.ext2 -j /dev/$root->{device} > /dev/null\n");
-
+ run_program::run('tune2fs', '-L', "MDK-ROOT", "/dev/$root->{device}"); # prevent lost label if restore aborts before the end
}
sub installPackages() {