normal mount points

CyberLeo Kitsana cyberleo at cyberleo.net
Sun Apr 29 14:46:15 UTC 2007


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 at 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 at uzuri:~ $ mount -t nfs
pid111 at uzuri:/net on /net (nfs)
pid111 at uzuri:/host on /host (nfs)

cyberleo at uzuri:~ $ showmount -e uzuri
Exports list on uzuri:
/usr/www                           192.168.0.0

cyberleo at 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 at 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 at uzuri:~ $ mount -t nfs
pid111 at uzuri:/net on /net (nfs)
pid111 at 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 at CyberLeo.Net>

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


More information about the freebsd-questions mailing list