summaryrefslogtreecommitdiff
path: root/sys/src
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@localhost>2011-04-29 09:43:03 +0000
committercinap_lenrek <cinap_lenrek@localhost>2011-04-29 09:43:03 +0000
commiteb7a73034c0636af0a32d0293d6ee2f65dad940f (patch)
tree585a99941345315487c348435ca3cc59b8a7fad4 /sys/src
parent0fb128b622024d64e4b26799cddce44e50a096cc (diff)
cwfs: remove startup delay
Diffstat (limited to 'sys/src')
-rw-r--r--sys/src/cmd/cwfs/config.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/src/cmd/cwfs/config.c b/sys/src/cmd/cwfs/config.c
index 45f99aa2a..6dcc6f4dc 100644
--- a/sys/src/cmd/cwfs/config.c
+++ b/sys/src/cmd/cwfs/config.c
@@ -633,7 +633,6 @@ loop:
* part 4 -- initialize the devices
*/
for(fs=filsys; fs->name; fs++) {
- delay(3000);
if(chatty)
print("sysinit: %s\n", fs->name);
if(fs->flags & FREAM)
@@ -715,7 +714,7 @@ writtensize(Device *worm)
if (!blockok(worm, 0) || !blockok(worm, lim-1))
return 0;
delay(5*1000);
- if (userabort("sanity checks"))
+ if(userabort("sanity checks"))
return 0;
/* 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);
sync("wormcopy");
- delay(2000);
+
print("looping; reset the machine at any time.\n");
- for (; ; )
- continue; /* await reset */
+ for(;;)
+ delay(10000); /* await reset */
}
/* copy device from src to dest */