Subject: Re: fsck & ccd
To: None <port-i386@NetBSD.ORG>
From: Jarkko Torppa <torppa@cute.fi>
List: port-i386
Date: 02/27/1997 09:56:41
Jukka Marin pointed out to me that, what I have been using in /etc/rc is bad, 
it globbers return value from fsck, making it allways think that the return 
value is ok.

This is propably better:
        olddata=`ulimit -d`
        ulimit -d unlimited
        oldmem=`ulimit -m`
        ulimit -HSm unlimited
        fsck -p
        fsckr=$?
        ulimit -m $oldmem
        ulimit -d $olddata
        case $fsckr in

-- 
 Jarkko.Torppa@cute.fi     +358-9-34871220         Cute Communications Oy