Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2001 08:20:02 -0500
From:      Mike Meyer <mwm@mired.org>
To:        Vlad <tmd@tmd.df.ru>
Cc:        questions@freebsd.org
Subject:   Re: NFS question..
Message-ID:  <15076.11266.33703.454038@guru.mired.org>
In-Reply-To: <41794892@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Vlad <tmd@tmd.df.ru> types:
> Re,
> 
> i've the following in my /etc/exports file:
> 
> /usr/ports -maproot=0 192.168.0.10 192.168.0.1
> /home -maproot=0 192.168.0.10 192.168.0.1
> /mybox -maproot=0 192.168.0.10 192.168.0.1
> 
> however, if i add, say, "/root -maproot=0 192.168.0.10 192.168.0.1" to the file.. and restart mountd, it will not show 
> up in "showmount -e" nor will mount. if i erase "/mybox" entry, "/root" will appear.. looks like i can mount only 1 
> directory from a given partition. am i doing something wrong or it is the way it should be?

You normally get error messages under these conditions. To mount two
directories from the same partition, follow the examples in the
exports man page:

	/root /mybox -maproot=0 192.168.0.10 192.168.0.1


	<mike

--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15076.11266.33703.454038>