Subject: Re: nfs - export file
To: Andrew Brown <atatat@atatdot.net>
From: Olaf Seibert <rhialto@polderland.nl>
List: port-i386
Date: 09/28/2001 15:44:54
On Tue 25 Sep 2001 at 11:29:49 -0400, Andrew Brown wrote:
> 8.Add the following lines to /etc/exports:
>
> #/etc/exports
> /export/client/root -maproot=root:wheel client.test.net
> /export/client/swap -maproot=root:wheel client.test.net
>
> can you actually export a *file* via nfs? i thought it was just
> directories...
Yes, you can, and the strange thing is then how to mount it at the client
also (on a directory):
my /etc/exports on the server:
/usr -alldirs -maproot=nfsroot falunl
-rw------- 1 nfsroot wheel 16777216 Oct 27 2000 /usr/export/swap-sun
/etc/fstab on client:
azenomei.falu.nl:/usr/export/swap-sun none swap sw,nfsmntpt=/swap
drwxr-xr-x 2 root wheel 512 Dec 12 2000 /usr/export/Xkernel-root/swap/
-Olaf.
--
___ Olaf 'Rhialto' Seibert - rhialto@polder --Soep van de dag, wat zal dat zijn
\X/ land.nl --wat kan dat wezen, beter maar het ergste vrezen -Boy Bensdorp