Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2005 14:43:29 +0200
From:      "Norbert Koch" <NKoch@demig.de>
To:        "Sergey Matveychuk" <sem@FreeBSD.org>, <questions@FreeBSD.org>
Subject:   RE: /etc/exports - a strange restriction
Message-ID:  <000701c58df1$cbabdd00$4801a8c0@ws-ew-3.W2KDEMIG>
In-Reply-To: <42DF881A.2070802@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> I'd like to share some directories hierarchy under /usr file system, but 
>   I don't want to share all /usr at all.
> 
> On these lines in /etc/exports:
> 
> /usr/tinderbox -ro -alldirs -maproot=0:0 localhost
> 
> i get an error message:
> 
> mountd[347]: -alldirs requested but /usr/tinderbox is not a filesystem 
> mountpoint
> 
> Why so strict restriction?

As far as I know, it is a restriction of the nfs specification.
If you only want to export a single directory, you could e.g.
use mount_null/mount_nullfs(8).

Norbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701c58df1$cbabdd00$4801a8c0>