Subject: Re: patch to /etc/rc to stop xfs race condition
To: Michael L. Hitch <mhitch@lightning.oscs.montana.edu>
From: Simon Burge <simonb@telstra.com.au>
List: port-pmax
Date: 10/25/1998 13:06:23
On Sat, 24 Oct 1998 19:28:11 -0600  "Michael L. Hitch" wrote:

> On Oct 23,  7:24pm, Jonathan Stone wrote:
> > 
> > ... could someone who ahs the patch to rc add a ``set +m'' or
> > whatever-it-is please email me a copy? I would like to
> > get some kind of fix for this into 1.3.3.
> 
>   Here's my patch.  It looks like someone stuck a "sleep 2" into the
> file to fix this problem (or a similar one).
> 
> --- /c/src/etc/rc	Mon Jul 13 05:05:04 1998
> +++ /etc/rc	Tue Mar  3 22:23:49 1998
> @@ -424,8 +412,8 @@
>  
>  # Start xfs before boot daemons, so its ready before client xterminals.
>  if checkyesno xfs; then
> +	set -m
>  	echo -n ' xfs';			xfs $xfs_flags &
> -	sleep 2
>  fi
>  
>  if checkyesno rarpd; then

Is there anything else that would be affected by the "set -m" later on?
I'm just wondering if it would be better to do this in a sub-shell...

Simon.