"fsck -y /" keeps saying "Disk is still dirty" no matter how many times I run it

Anton Sayetsky vsasjason at gmail.com
Tue Jan 19 18:01:49 UTC 2016

19 янв. 2016 г. 19:17 пользователь "Yuri"
> For me fsck eventually labeled the disk 'clean' after a few dozen runs.
Would be much more convenient if fsck had an option "to run until clean".
Maybe something like this will work (completely untested):
while(result);do fsck ...; result=$?; done

More information about the freebsd-questions mailing list