[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Boot poster challenge



On Mon, 2004-11-15 at 17:13 +0000, Richard Allen wrote:
> On Mon, Nov 15, 2004 at 01:24:55PM +0100, dragoran wrote:
> 
> > >nfs mounted dirs ...
> > > 
> > >
> > but there should be an option to let it be done in the background ....
> > 
> 
> NFS mounts have the "bg" option.
> 
>        bg             If the first NFS mount  attempt  times  out,  retry  the
>                       mount  in  the  background.   After a mount operation is
>                       backgrounded, all subsequent  mounts  on  the  same  NFS
>                       server  will  be backgrounded immediately, without first
>                       attempting the mount.  A missing mount point is  treated
>                       as a timeout, to allow for nested NFS mounts.

This would work in the case where you the gdm prompt just sits there for
5 minutes until all the timeouts fire and the dirs mount. But doesn't
really handle the case of a rapid login.

What you really want is backgrounded:

 - When ethernet negotiation completes, immediately start getting a 
   dhcp lease
 - When dhcp lease completes, immediately try to mount all mount points

And when the user goes to log in, and we actually *need* the NFS mount,
block until it completes.

A lot of that is already there for the case of dynamic network
connections later.

Regards,
						Owen

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]