Subject: Re: fsck parallelism
To: Mihai CHELARU <kefren@netbastards.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 03/04/2003 19:55:15
On Wed, Feb 26, 2003 at 11:29:37AM +0200, Mihai CHELARU wrote:
> Hello,
> 
> Quoting from fstab man page:
> "The sixth field, (fs_passno), is used by the fsck(8) program to 
> determine the order in which filesystem checks are done at reboot time.  
> The root filesystem should be specified with a fs_passno of 1, and 
> other filesystems should have a fs_passno of 2.  Filesystems within a 
> drive will be checked sequentially, but filesystems on different drives 
> will be checked at the same time to utilize parallelism available in 
> the hardware."
> 
> # grep 2$ /etc/fstab
> /dev/wd0e /usr ffs rw,softdep 1 2
> /dev/wd1e /mnt ffs rw,softdep 1 2
> 
> Reading the man page I would expect a parallel filesystem checking of 
> wd0e and wd1e after a crash but this is not happening. Am I just wrong 
> or something else is happening ?

If should run in parrallel, at last it does for me.
Note it is done in parrallel ony if run with -p, not for the interactive
case (even if you use -y/-n).

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--