cwfs: remove startup delay

This commit is contained in:
cinap_lenrek 2011-04-29 09:43:03 +00:00
parent 0fb128b622
commit eb7a73034c

View file

@ -633,7 +633,6 @@ loop:
* part 4 -- initialize the devices * part 4 -- initialize the devices
*/ */
for(fs=filsys; fs->name; fs++) { for(fs=filsys; fs->name; fs++) {
delay(3000);
if(chatty) if(chatty)
print("sysinit: %s\n", fs->name); print("sysinit: %s\n", fs->name);
if(fs->flags & FREAM) if(fs->flags & FREAM)
@ -715,7 +714,7 @@ writtensize(Device *worm)
if (!blockok(worm, 0) || !blockok(worm, lim-1)) if (!blockok(worm, 0) || !blockok(worm, lim-1))
return 0; return 0;
delay(5*1000); delay(5*1000);
if (userabort("sanity checks")) if(userabort("sanity checks"))
return 0; return 0;
/* find worm's last valid block in case "worm" is an (f)worm */ /* find worm's last valid block in case "worm" is an (f)worm */
@ -834,10 +833,10 @@ dowormcopy(void)
*/ */
print("copied %lld blocks from %Z to %Z\n", (Wideoff)a, from, to); print("copied %lld blocks from %Z to %Z\n", (Wideoff)a, from, to);
sync("wormcopy"); sync("wormcopy");
delay(2000);
print("looping; reset the machine at any time.\n"); print("looping; reset the machine at any time.\n");
for (; ; ) for(;;)
continue; /* await reset */ delay(10000); /* await reset */
} }
/* copy device from src to dest */ /* copy device from src to dest */