fsck in the background

Dan Nelson dnelson at allantgroup.com
Wed Jul 26 01:03:35 UTC 2006


In the last episode (Jul 25), Michael P. Soulier said:
> A while ago there was a power failure in my house, long enough to
> wear down the UPS. I had to power-on my server when I got home
> (crappy bios), and I noticed after I logged-in that fsck was running
> non-interactively in the background.
> 
> Question: If it finds problems that require administrator
> intervention, how does it tell me if it's running in the background?

It logs an error to syslog, and the next time you reboot it forces a
foreground check so it can prompt you for instructions.
 
> I like that it runs in the background, it's a 200M drive. Still, I'm
> curious about this difference from Linux where I have to wait while
> fsck runs.

You should be using ext3 on Linux :)

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list