diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-05-25 08:34:42 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-05-25 08:34:42 +0000 |
commit | b67c291105ddad6c511f1539306666bbc23985d0 (patch) | |
tree | be8c1153ce7b6b9a4648967266a8147a4c91cfa1 /globetrotter | |
parent | b028537ef693ebaac6a35a00b156facc8417bce3 (diff) | |
download | drakx-b67c291105ddad6c511f1539306666bbc23985d0.tar drakx-b67c291105ddad6c511f1539306666bbc23985d0.tar.gz drakx-b67c291105ddad6c511f1539306666bbc23985d0.tar.bz2 drakx-b67c291105ddad6c511f1539306666bbc23985d0.tar.xz drakx-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-x | globetrotter/make_live | 2 |
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() { |