Re: problem with parallelized fsck

Leo Mauro (lmauro@usb.ve)
Tue, 26 Oct 1999 16:08:56 -0400


On Tue, 26 Oct 1999, Dale Amon wrote:

>I'm seeing a minor problem that isn't strictly
>kernel related, nor would I think it distribution
>specific, although I do happen to use Debian.
>
>A recent update of fsck to the parallelizing version
>causes the boot to hang after the devices have been
>checked. A ctl-c gets out of it and boot continues
>normally.
[SNIP]

Yes. It's a typo in fsck. I already sent the following patch
to Ted Ts'o. You can apply it to e2fsprogs-1.16 and rebuild.

diff -ruN e2fsprogs-1.16-orig/misc/fsck.c e2fsprogs-1.16/misc/fsck.c
--- e2fsprogs-1.16-orig/misc/fsck.c Thu Oct 14 15:53:43 1999
+++ e2fsprogs-1.16/misc/fsck.c Tue Oct 26 14:48:01 1999
@@ -443,7 +443,7 @@
for (p = instance_list; p && p->next; p = p->next);

if (p)
- p->next = instance_list;
+ p->next = inst;
else
instance_list = inst;

-- 
Leo Mauro
Seguridad de Redes
Dirección de Servicios Telemáticos
Universidad Simón Bolívar

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/