Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Mar 1995 22:41:19 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        dfr@render.com, hsu@cs.hut.fi
Cc:        freebsd-current@freefall.cdrom.com
Subject:   Re: nfs mounts backgrounded?
Message-ID:  <199503101241.WAA32339@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> -current now backgrounds NFS mounts in /etc/rc?  This breaks up things when
>> local is mounted over NFS and local additions /etc/rc.local try to start up
>> programs from local (which isn't mounted yet)?  Are there any problems with
>> not backgrounding the mount?

>FreeBSD has always done this and I have always hacked out the background 
>in /etc/rc.  Its never done me any harm.

I always hack out the background and move the mount earlier so that /usr
can be mounted over NFS.  This causes the system to hang if the server
isn't up, but that's what I want.

Bruce

*** /usr/src/etc/rc	Sat Jan 28 20:40:13 1995
--- rc	Sat Jan 28 20:41:08 1995
***************
*** 92,97 ****
--- 92,99 ----
  echo 'starting network'
  . /etc/netstart
  
+ mount -a -t nfs
+ 
  # clean up left-over files
  rm -f /etc/nologin
  rm -f /var/spool/lock/*
***************
*** 226,233 ****
  
  echo -n ' inetd';		inetd
  echo '.'
- 
- mount -a -t nfs >/dev/null 2>&1 &	# XXX shouldn't need background
  
  # if [ -x /usr/libexec/xtend ]; then
  # 	echo -n ' xtend';   /usr/libexec/xtend
--- 228,233 ----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503101241.WAA32339>