Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2009 13:38:43 +1100
From:      Callum Gibson <callumgibson@optusnet.com.au>
To:        freebsd-hackers@freebsd.org
Subject:   bg_fsck ignores fstab pass numbers?
Message-ID:  <20090115023843.GA30963@omma.gibson.athome>

next in thread | raw e-mail | index | archive | help
Hi,
I've noticed that fsck in background mode never checks separate disks in
parallel for pass numbers >=2, as described in fsck(8). Taking a look
at preen.c:checkfstab() (if I understand correctly) reveals that in
background mode it will explicitly check each disk in turn (ironically
in the foreground), rather than fork them off and queue up waiting for the
children.

Does anyone know the reason for that? Is it simply a matter of wanting
to lower the impact and resource usage on the system?

    C

-- 

Callum Gibson @ home
http://members.optusnet.com.au/callumgibson/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090115023843.GA30963>