Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2007 09:45:44 -0500
From:      CyberLeo Kitsana <cyberleo@cyberleo.net>
To:        Graham North <northg@shaw.ca>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: normal mount points
Message-ID:  <4634AFAF.3000001@cyberleo.net>
In-Reply-To: <463390A0.20508@shaw.ca>
References:  <463390A0.20508@shaw.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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
<CyberLeo@CyberLeo.Net>

Furry Peace! - http://www.fur.com/peace/



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