summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobi <robi>2011-06-04 13:27:24 +0000
committerrobi <robi>2011-06-04 13:27:24 +0000
commitb522b2818bdab533a41dea7b415c98b95dead887 (patch)
tree6cde375ebfc92a61af1637fdc4d0c03324abd3a4
parent01d69c1af57a35c9e74e83e1458e3fb2c7cdc6ff (diff)
change help-script
-rw-r--r--README7
1 files changed, 4 insertions, 3 deletions
diff --git a/README b/README
index 4c128a7..afb0d4b 100644
--- a/README
+++ b/README
@@ -179,7 +179,6 @@ with this feature. Remember, for ext4magic the file system is frozen at the time
which the journal copy created. Any subsequent changes will not recognize by ext4magic.
This works only correct for a limited time if you continue to write into the file system.
-
--------------------------------------------------------------------------------------------------
@@ -374,7 +373,7 @@ _________________________________________________________________________
# Help-Script for ext4magic (needed is dump2fs >= 1.41.9)
# to identify options for the backup superblocks
# to restore of a partially damaged filesystem with ext4magic
-# Autor robi@users.berlios.de (Version 1.0 vom 30.04.2011)
+# Autor robi@users.berlios.de (Version 1.1 vom 03.06.2011)
if [ -b "$1" -o -f "$1" ]
then
@@ -388,7 +387,7 @@ then
if [ $BLK_SZ -eq 1024 ]
then BLK="$BLK"+1
fi
- dumpe2fs -h -o blocksize="$BLK_SZ" -o superblock="$BLK" "$1" &>/dev/null && echo "ext4magic "$1" -s $BLK_SZ -n $BLK -c -D"
+ dumpe2fs -h -o blocksize="$BLK_SZ" -o superblock="$BLK" "$1" 2>/dev/null | grep UUID &>/dev/null && echo "ext4magic "$1" -s $BLK_SZ -n $BLK -c -D"
done
done
else
@@ -465,6 +464,8 @@ Allow access to damaged file systems, backup superblocks, ....
+
+
6.0 Some common problems
===========================