summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlibvasile3
1 files changed, 3 insertions, 0 deletions
diff --git a/libvasile b/libvasile
index cba9fc2..f23ae92 100755
--- a/libvasile
+++ b/libvasile
@@ -321,7 +321,10 @@ prepareiso () {
isostart
isoservices
isostop
+ # umount "real" live filesystem
umount -l "$isorsynctarget" > /dev/null 2>&1
+ # fix any possible "real" live filesystem corruptions
+ e2fsck -fy ""$isorsynctarget".img"
# move "real" live filesystem into right place
mv ""$isorsynctarget".img" "$isorealfsdir"
# compress "fake" live filesystem