diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-06-07 10:23:47 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-06-07 10:23:47 +0000 |
commit | f4e31851eb43b6020f695c35d3ccbaab360fd45a (patch) | |
tree | ff1cdf36cdf8ab7e332cb2d6cb130f71774b2842 /rescue-Flash | |
parent | 0a891d6558b2344967adac375bda38c33f250724 (diff) | |
download | drakx-f4e31851eb43b6020f695c35d3ccbaab360fd45a.tar drakx-f4e31851eb43b6020f695c35d3ccbaab360fd45a.tar.gz drakx-f4e31851eb43b6020f695c35d3ccbaab360fd45a.tar.bz2 drakx-f4e31851eb43b6020f695c35d3ccbaab360fd45a.tar.xz drakx-f4e31851eb43b6020f695c35d3ccbaab360fd45a.zip |
only format loopback on Flash 1.0
Diffstat (limited to 'rescue-Flash')
-rwxr-xr-x | rescue-Flash/scripts/clear_systemloop | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rescue-Flash/scripts/clear_systemloop b/rescue-Flash/scripts/clear_systemloop index 159f22119..f218d0987 100755 --- a/rescue-Flash/scripts/clear_systemloop +++ b/rescue-Flash/scripts/clear_systemloop @@ -36,7 +36,9 @@ function doit() { dd if=/dev/zero of=$loop bs=4000000 count=100 fi - /sbin/mkfs.ext2 -q -F $loop + if [ x"$version" = x"1.0" ]; then + /sbin/mkfs.ext2 -q -F $loop + fi echo if [ $? -ne 0 ]; then |