#!/bin/sh

if [ `whoami` != root ] ; then
    echo "$0 has to be called by root"
    exit -1
fi
for part in `mount | grep ext3 | sed "s/ .*//" | grep "/dev/hd[a-d][0-9]\+"` ; do
    tune2fs -c0 $part
done
