[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cramfsck on mtd pattitions



Hi all,
I have a script that test my cramfs mtd partition but haven't been able to 
get a good result.
Have anyone done this before and can tell me what I'm doing wrong?
I build cramfsck for ARM, if that makes any difference.

My script looks like this:

result=`cramfsck /dev/mtdblock2 | awk '{print $NF}'`
echo "$result"

if [ $result ]; then
    echo "Not OK?"
else
    echo "root OK?"
fi

Thanks,
--Jr.

____________________________________________________________
ONE-CLICK WEBMAIL ACCESS - Easily monitor & access your email accounts!
Visit http://www.inbox.com/notifier and check it out!



Reply to: