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.

[EMAIL PROTECTED]:~ $ 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

[EMAIL PROTECTED]:~ $ mount -t nfs
[EMAIL PROTECTED]:/net on /net (nfs)
[EMAIL PROTECTED]:/host on /host (nfs)

[EMAIL PROTECTED]:~ $ showmount -e uzuri
Exports list on uzuri:
/usr/www                           192.168.0.0

[EMAIL PROTECTED]:~ $ 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:

[EMAIL PROTECTED]:~ $ 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

[EMAIL PROTECTED]:~ $ mount -t nfs
[EMAIL PROTECTED]:/net on /net (nfs)
[EMAIL PROTECTED]:/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
<[EMAIL PROTECTED]>

Furry Peace! - http://www.fur.com/peace/
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to