From owner-freebsd-net@FreeBSD.ORG Sun Jun 14 08:50:22 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98BA1106566B for ; Sun, 14 Jun 2009 08:50:22 +0000 (UTC) (envelope-from marco.borsatino@poste.it) Received: from relay-pt1.poste.it (relay-pt1.poste.it [62.241.4.164]) by mx1.freebsd.org (Postfix) with ESMTP id 579FA8FC14 for ; Sun, 14 Jun 2009 08:50:22 +0000 (UTC) (envelope-from marco.borsatino@poste.it) Received: from poste.it (192.168.44.50) by relay-pt1.poste.it (7.3.122) id 4A343DCF00001343 for freebsd-net@freebsd.org; Sun, 14 Jun 2009 10:29:22 +0200 Date: Sun, 14 Jun 2009 10:29:21 +0200 Message-Id: MIME-Version: 1.0 X-Sensitivity: 3 From: "marco\.borsatino\@poste\.it" To: freebsd-net@freebsd.org X-XaM3-API-Version: 5.0(R1) X-SenderIP: 79.30.227.228 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: NFS - exports syntax X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2009 08:50:22 -0000 Hi to all.=0AMy problem concerns NFS configuration. I'm trying to simulat= e a little network using Sun VirtualBox in a Windows host and most of ope= rations work fine, but I've some problems with /etc/exports syntax.=0AThi= s is my current exports file:=0A--=0A/cond1 /cond2 -mapall=3Duser1 pc01 p= c02=0A/usr/home -alldirs pc01 pc02=0A---=0AWhen I type:=0A#showmount -e=0A= I get=0A/usr/home=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 pc02 pc02=0A= /cond1=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 pc01 pc02=0A= /cond2=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 pc01 pc02=0A= which is ok. But I wold like to use different "mapall" options for differ= ent filesystems; for example, something like this:=0A/usr/home -alldirs=C2= =A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 pc02 pc02=0A/cond1 -mapall=3Duser2 /co= nd2 -mapall=3Duser1 pc01 pc02=0Awhich does not work: only /usr/home is ex= ported. Or=0A/usr/home=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 pc02 pc02=0A/= cond1 -mapall=3Duser2 pc01 pc02=0A/cond2 -mapall=3Duser1 pc01 pc02=0AOnly= /usr/home and /cond1 are exported.=0AFreeBSD exports man page states:=0A= "Each line in the file (other than comment lines that begin with a #) spe= cifies the mount point(s) and export flags within one local server file s= ystem for one or more hosts.". So, is it impossible to export different d= irectories to different users using mapping?=0AThanks. Sorry for my bad e= nglish.=0AMarco=0A