Subject: Re: basesrc: shutdown -T
To: None <tech-userlevel@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: tech-userlevel
Date: 07/24/2000 12:10:56
[ On Monday, July 24, 2000 at 04:32:35 (-0700), Todd Whitesel wrote: ]
> Subject: Re: basesrc: shutdown -T
>
> > I see it as fairly serious bug that shutdown would not be able
> > to reboot the system after it caused random number of stuff
> > to happen.
>
> It is a lose-lose situation. In the NFS case, you cannot know how long
> the server will be inaccessible, so you have to decide either to drop
> data (bad) or to wait indefinitely (also bad).
Often there's nothing to "drop" -- i.e. no dirty buffers, but still the
umount(2) won't complete without the network.
Now in the case where umount runs *after* the network is down, unless
the umount script first re-starts the network it has no other choice but
to force the unmount and be done with it.
--
Greg A. Woods
+1 416 218-0098 VE3TCP <gwoods@acm.org> <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>