On 06.09.2006 20:49:45, Luca Berra wrote: > On Wed, Sep 06, 2006 at 09:12:24AM +0200, Benjamin Schieder wrote: > >>>>Personally, I use this script from cron: > >>>>http://shellscripts.org/project/hdtest > >> > >>nice race :) > > > >As in race condition? Where? > > mktemp > rm > touch > why do you do that? Probably because of a wrong understanding of mktemp. I fixed this now. > i retested now with 5.36 and it seems the output did _not_ change, i > don't know what i saw this morning. > > but then it errors on the line > IFS=" " read type status online < <( smartctl -d ata -a ${disk} | grep > \#\ 1 | sed 's, \+, ,g' | cut -f 2,3,5 ) I think I know what you mean. I've seen these errors sometimes, too. But I was too lazy to investigate yet since they only pop up once a month or so. Greetings, Benjamin -- _ _ _ _ _ | \| |___| |_| |_ __ _ __| |__ | .` / -_) _| ' \/ _` / _| / / |_|\_\___|\__|_||_\__,_\__|_\_\ | | (_)_ _ _ ___ __ | |__| | ' \ || \ \ / |____|_|_||_\_,_/_\_\ Play Nethack anywhere with an x86 computer: http://www.crash-override.net/nethacklinux.html
Attachment:
pgpG39hNQCDWY.pgp
Description: PGP signature