From owner-freebsd-questions@FreeBSD.ORG Fri Apr 23 00:52:10 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5647B106566B for ; Fri, 23 Apr 2010 00:52:10 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-iw0-f204.google.com (mail-iw0-f204.google.com [209.85.223.204]) by mx1.freebsd.org (Postfix) with ESMTP id 1F1758FC1E for ; Fri, 23 Apr 2010 00:52:09 +0000 (UTC) Received: by iwn42 with SMTP id 42so5326468iwn.14 for ; Thu, 22 Apr 2010 17:52:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=6lt5svBy2ePdY8UX6udQyL3XT3pr4+srw1ya09KPAdA=; b=PqRg0TVu5tZJRc/iZU8/Dj/ISidFi2AmnZBF6JIb5YTwBWqSfaFGUhpNmEqiGc56JZ 3uazBlSEW3gyHc4BcpZvAUt4Ddoedt45yNvtV+oZG7OAyzbJBoz9S5I9ZQolDlcEgWVM l/l6TnQkw7UqJFbrP3Oxu8Lc0d2DoYoBINXjI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ZbG3d3VutrDYQMcKSUaMqA7Nthg1s/KWO6bRsqduttCKseISI22wGdRK1g2lDBHWK4 LIgq8zJFSjot1GEF+0ZD53nVdb4z5xF+R9sNZX105wamscyoeGzGjQRqOoQ31HwSdnjK UsPXEwCkgf/W3X6MM3PQN4W2lBMcQ2/vwNPT4= MIME-Version: 1.0 Received: by 10.231.171.138 with HTTP; Thu, 22 Apr 2010 17:52:09 -0700 (PDT) In-Reply-To: <4BD0ED00.4080709@rawbw.com> References: <4BD0ED00.4080709@rawbw.com> Date: Thu, 22 Apr 2010 18:52:09 -0600 Received: by 10.231.149.71 with SMTP id s7mr3585520ibv.86.1271983929471; Thu, 22 Apr 2010 17:52:09 -0700 (PDT) Message-ID: From: Tim Judd To: yuri@rawbw.com Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Why nfs mounts are allowed that aren't in /etc/exports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2010 00:52:10 -0000 On 4/22/10, Yuri wrote: > I only have this one line exports: > /usr/diskless.sparc64 -alldirs -maproot=root -network=192.168.0 > -mask=255.255.255.0 > > But somhow all mounts are succeed: /home, usr/ports, etc. > > Isn't exports supposed to limit what can be mounted? > > Yuri Because you didn't specify in this email where /home is mounted, I can only guess /home is actually a symlink to /usr/home Because /usr/home is under the /usr mountpoint and you specified '-alldirs' in the exports, any dir under /usr can be mounted. NFS exports work ONLY on mountpoints, they do not work under child directories unless -alldirs is specified and then any dir under that mountpoint can be mounted. Please check your system configuration and return to us. --Tim