From owner-freebsd-fs@FreeBSD.ORG Thu Nov 8 14:28:24 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 24E2323C for ; Thu, 8 Nov 2012 14:28:24 +0000 (UTC) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from comsys.kpi.ua (comsys.kpi.ua [77.47.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id C11FA8FC12 for ; Thu, 8 Nov 2012 14:28:23 +0000 (UTC) Received: from pm513-1.comsys.kpi.ua ([10.18.52.101] helo=pm513-1.comsys.ntu-kpi.kiev.ua) by comsys.kpi.ua with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1TWT5g-000300-Ou; Thu, 08 Nov 2012 16:28:20 +0200 Received: by pm513-1.comsys.ntu-kpi.kiev.ua (Postfix, from userid 1001) id BCF5B1E08A; Thu, 8 Nov 2012 16:28:21 +0200 (EET) Date: Thu, 8 Nov 2012 16:28:21 +0200 From: Andrey Simonenko To: Rick Macklem Subject: Re: NFS export with space in directory name Message-ID: <20121108142821.GA55875@pm513-1.comsys.ntu-kpi.kiev.ua> References: <416641890.106495.1352333402239.JavaMail.root@erie.cs.uoguelph.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <416641890.106495.1352333402239.JavaMail.root@erie.cs.uoguelph.ca> User-Agent: Mutt/1.5.21 (2010-09-15) X-Authenticated-User: simon@comsys.ntu-kpi.kiev.ua X-Authenticator: plain X-Sender-Verify: SUCCEEDED (sender exists & accepts mail) X-Exim-Version: 4.63 (build at 28-Apr-2011 07:11:12) X-Date: 2012-11-08 16:28:20 X-Connected-IP: 10.18.52.101:43107 X-Message-Linecount: 32 X-Body-Linecount: 16 X-Message-Size: 1447 X-Body-Size: 641 Cc: freebsd-fs@freebsd.org, Mickael Canevet X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2012 14:28:24 -0000 On Wed, Nov 07, 2012 at 07:10:02PM -0500, Rick Macklem wrote: > Mickael Canevet wrote: > > > > So I'd like to know if there is a way to export a directory with a > > space in > > its name on FreeBSD 9.0-RELEASE ? > > > Running mountd-> Nope. > > I am not sure if nfse can support this? (It can be found on sourceforge.net > and I've cc'd Andrey, since he'll know the answer.) Such support exists in nfs.exports(5) (nfse native mode), a pathname can be enclosed in double quotes or any character can be represented by three octal digits of its ASCII code. Such support will not work in "nfse -C", since exports(5) does not support this.