recover summary from badblocks.out for snapshot purposes
This commit is contained in:
parent
93b7ad14a5
commit
f8807b102e
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
root:x:0:0:root:/root:/bin/bash
|
root:x:0:0:root:/root:/bin/bash
|
||||||
test:x:0:0:test:/root:/usr/local/bin/wrapper-screen
|
test:x:0:0:test:/root:/usr/local/bin/screen-mem-hdd
|
||||||
bin:x:1:1:bin:/bin:/sbin/nologin
|
bin:x:1:1:bin:/bin:/sbin/nologin
|
||||||
daemon:x:2:2:daemon:/sbin:/sbin/nologin
|
daemon:x:2:2:daemon:/sbin:/sbin/nologin
|
||||||
adm:x:3:4:adm:/var/adm:/sbin/nologin
|
adm:x:3:4:adm:/var/adm:/sbin/nologin
|
||||||
|
|
|
@ -157,6 +157,7 @@ if [[ -f /run/$SERIAL.badblocks.out ]] ; then
|
||||||
>> $OUTPUT_DIR/disk/$SERIAL.badblocks.out
|
>> $OUTPUT_DIR/disk/$SERIAL.badblocks.out
|
||||||
ln -sf $OUTPUT_DIR/disk/$SERIAL.badblocks.out \
|
ln -sf $OUTPUT_DIR/disk/$SERIAL.badblocks.out \
|
||||||
$OUTPUT_DIR/disk/$DISK.badblocks.out
|
$OUTPUT_DIR/disk/$DISK.badblocks.out
|
||||||
|
rm -f /run/$SERIAL.badblocks.out
|
||||||
fi
|
fi
|
||||||
#ln -sf $OUTPUT_DIR/disk/$SERIAL.badblocks.ret \
|
#ln -sf $OUTPUT_DIR/disk/$SERIAL.badblocks.ret \
|
||||||
# $OUTPUT_DIR/disk/$DISK.badblocks.ret
|
# $OUTPUT_DIR/disk/$DISK.badblocks.ret
|
||||||
|
|
Loading…
Reference in a new issue