freebsd-src/sbin/fsck
Poul-Henning Kamp 28b66787e0 When trying to deduce the diskname from the name so we can run
parallel fsck's one per drive, use the shortest prefix ending in
a digit rather than the longest prefix ending in a digit.

This makes "/dev/ad0s1a" and "/dev/ad0s2a" appear to both reside
on the disk "/dev/ad0" and consequently they will be fsck'ed
sequentially rather than in parallel as now.

In general this heuristic is rather soft and errorprone.  For
instance ccd may often reside on two or more physical disks.  A
good solution would be to look for passes larger than 1 until no
disks are found in a particular pass, that way people could put
ccd stripes in pass 3... and have them fsck'ed sequentially.

Reviewed by:	mjacob
2000-12-27 22:28:40 +00:00
..
fsck.8 When trying to deduce the diskname from the name so we can run 2000-12-27 22:28:40 +00:00
fsck.c We want the FreeBSD ID as the RCS ID, not the NetBSD one. 2000-10-10 08:57:30 +00:00
fsutil.c Reviewed by: rwatson, bp 2000-10-09 10:23:31 +00:00
fsutil.h Reviewed by: rwatson, bp 2000-10-09 10:23:31 +00:00
Makefile Fixed breakage of CFLAGS and misplacement of $FreeBSD$ in previous commit. 2000-10-10 06:29:33 +00:00
pathnames.h Reviewed by: rwatson, bp 2000-10-09 10:23:31 +00:00
preen.c When trying to deduce the diskname from the name so we can run 2000-12-27 22:28:40 +00:00