From b522b2818bdab533a41dea7b415c98b95dead887 Mon Sep 17 00:00:00 2001 From: robi Date: Sat, 4 Jun 2011 13:27:24 +0000 Subject: change help-script --- README | 7 ++++--- 1 file 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 =========================== -- cgit v1.2.3