From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 14:46:15 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1D70516A406 for ; Sun, 29 Apr 2007 14:46:15 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from pizzabox.cyberleo.net (alpha.cyberleo.net [198.145.45.10]) by mx1.freebsd.org (Postfix) with ESMTP id EE89513C457 for ; Sun, 29 Apr 2007 14:46:14 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: (qmail 52195 invoked from network); 29 Apr 2007 14:46:12 -0000 Received: from adsl-75-3-80-6.dsl.chcgil.sbcglobal.net (HELO ?172.16.44.14?) (cyberleo@cyberleo.net@75.3.80.6) by alpha.cyberleo.net with ESMTPA; 29 Apr 2007 14:46:12 -0000 Message-ID: <4634AFAF.3000001@cyberleo.net> Date: Sun, 29 Apr 2007 09:45:44 -0500 From: CyberLeo Kitsana User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Graham North References: <463390A0.20508@shaw.ca> In-Reply-To: <463390A0.20508@shaw.ca> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: normal mount points X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2007 14:46:15 -0000 Graham North wrote: > /net > /host /net and /host are populated by the NFS automounter daemon present in freebsd 4.x. My (ancient) 4.11 dev server has the same, enabled by an option in sysinstall. Accessing hosts and shares within these directories will, in theory, trigger the automounter daemon to mount the requested share, and link to it. cyberleo@uzuri:~ $ ps auxwww |grep 111 root 111 0.0 0.3 1160 360 ?? Is 14Apr07 0:01.25 amd -p -a /.amd_mnt -l syslog /host /etc/amd.map /net /etc/amd.map cyberleo@uzuri:~ $ mount -t nfs pid111@uzuri:/net on /net (nfs) pid111@uzuri:/host on /host (nfs) cyberleo@uzuri:~ $ showmount -e uzuri Exports list on uzuri: /usr/www 192.168.0.0 cyberleo@uzuri:~ $ ls -la /host/uzuri/usr total 8 dr-xr-xr-x 3 root wheel 512 Apr 29 15:42 . dr-xr-xr-x 3 root wheel 512 Apr 29 15:42 .. drwxr-xr-x 43 cyberleo wheel 1024 Oct 24 2006 www After accessing a share: cyberleo@uzuri:~ $ ls -la /host total 4 dr-xr-xr-x 2 root wheel 512 Apr 29 15:42 . drwxr-xr-x 22 root wheel 512 Apr 29 15:41 .. lrwxrwxrwx 1 root wheel 26 Apr 29 15:41 192.168.0.6 -> /.amd_mnt/192.168.0.6/host lrwxrwxrwx 1 root wheel 20 Apr 29 15:42 uzuri -> /.amd_mnt/uzuri/host cyberleo@uzuri:~ $ mount -t nfs pid111@uzuri:/net on /net (nfs) pid111@uzuri:/host on /host (nfs) 192.168.0.6:/usr/www on /.amd_mnt/192.168.0.6/host/usr/www (nfs, nodev, nosuid) uzuri:/usr/www on /.amd_mnt/uzuri/host/usr/www (nfs, nodev, nosuid) Hope this helps! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://www.fur.com/peace/