From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 31 19:27:37 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79CD01065759 for ; Tue, 31 Aug 2010 19:27:37 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id F2BC58FC29 for ; Tue, 31 Aug 2010 19:27:36 +0000 (UTC) Received: by mail-bw0-f54.google.com with SMTP id 20so5667456bwz.13 for ; Tue, 31 Aug 2010 12:27:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=nrmhZK4yfzVgmYOFtlH4PaiuTqaeWinZ8kg6h2whONI=; b=vmjvrfzHn5QD1hyzO6iRw83Nx4s7bwg9xLjgvJ6fGkuYDs7Hshw0Gkq58FvFPKRiFt NREdEIZxnZWpvdXLh/twPm9awinInxtc8hIzW5t5USi8fzFpsG0x42+byEXWzRI9GZyY 3zSuG75pxESQbnbGYppQ/Z66CRe1NroniTNt4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=DLp1G/bFUbddbeZkCC4SCKdlOdsZjhMhJB8OsY5OJxxOoIpmgsAaL0JzUBqQInqR/f ZtsfUhRldv4W7aoViryjp/PMeOCWXaCoqUvt6Ap03s+gfq4MVxpSneVPH+gIfSwewuO9 CAQEgXRKs3EhqVtDjDL5wKdaQS0vK/9OLxxPU= MIME-Version: 1.0 Received: by 10.204.48.75 with SMTP id q11mr4539777bkf.0.1283282856471; Tue, 31 Aug 2010 12:27:36 -0700 (PDT) Sender: yanegomi@gmail.com Received: by 10.204.113.79 with HTTP; Tue, 31 Aug 2010 12:27:36 -0700 (PDT) In-Reply-To: <1283279563.3665.66.camel@home-yahoo> References: <1283271393.3665.13.camel@home-yahoo> <20100831162947.GA61795@titania.njm.me.uk> <1283279563.3665.66.camel@home-yahoo> Date: Tue, 31 Aug 2010 12:27:36 -0700 X-Google-Sender-Auth: VodfT9lxtwFwPVpA13vx4fQ8KxU Message-ID: From: Garrett Cooper To: Sean Bruno Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-hackers@freebsd.org" , "sbruno@freebsd.org" , Scott Long , "N.J. Mann" Subject: Re: /etc/rc.d/mountcritremote X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2010 19:27:37 -0000 On Tue, Aug 31, 2010 at 11:32 AM, Sean Bruno wrote: > On Tue, 2010-08-31 at 09:29 -0700, N.J. Mann wrote: >> In message <1283271393.3665.13.camel@home-yahoo>, >> =A0 =A0 =A0 Sean Bruno (seanbru@yahoo-inc.com) wrote: >> > An issue in testing came up where we were trying to mount NFS >> > directories from the same server, i.e. a machine trying to mount an NF= S >> > dir on itself. >> > >> > Because mountcritremote runs before the NFS server is up, we modified >> > the REQUIRES section and appended nfsd. >> >> Is this not what the 'late' attribute in /etc/fstab is for? >> >> e.g. >> >> oberon% grep /usr/ports /etc/fstab >> oberon:/export/usr/ports =A0 /usr/ports =A0 nfs =A0 late,rw,tcp Specifying `late' seems extremely unnecessary for NFS mounts. If mountcritremote can't properly depend on nmbd, nfsd, smbd for mounting filesystems, then it seems like a rc script dependency issue (otherwise, mountcritremote is basically mountcritlocal, waiting for some networking connectivity to come up, right?). > > Good question. =A0Looking over the man page for mount, is there any reaso= n > to use 'late' versus what I am suggesting? Thanks, -Garrett