diff --git a/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml b/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml index 54dcb8dc88..d0bdad89d8 100644 --- a/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml @@ -1,7 +1,7 @@ @@ -798,6 +798,66 @@ nfs_client_flags="-n 4" + + + + + Wylie + Stilwell + Contributed by + + + + AMD (automatic mounter daemon) + + AMD + automatic mounter daemon + + AMD is a usefull utility used for automatically mounting a + filesystem whenever a file or directory within that filesystem is + accessed. It will also unmount that filesystem when it has not + been used for a time. + + AMD operates by listening in the + /host and /net + directories for a filename lookup. On a lookup, it uses the + system's resolver routine to find the NFS server, and attempts + to map the exported filesystems on the NFS server to the + /host/${HOSTNAME}/ directory. + + The process actually goes a little something like + this: + + + Someone cd's into + /host/${HOSTNAME}/exported_filesystem. + + AMD recieves the lookup request, and takes the + ${HOSTNAME} token. + + AMD attempts to resolve the HOSTNAME + token, and map any exports on the server into the + /host/${HOSTNAME}/ directory. + + + Setting up amd is actually quite simple, perhaps deceptively + so: + + Put amd_enable="YES" in the + rc.conf file of the client machine. Thats + it, everything you need is already installed. Reboot the machine + and amd will create a host directory in your root + partition. Then, you can access the remote filesystem like + this: + + &prompt.user;cd /host/1.1.1.1/file/ + + Also if you have DNS up and running, you can access the + filesystem like this: + + &prompt.user;cd /host/machinename/file/ + + @@ -912,7 +972,7 @@ nfs_client_flags="-n 4" and acknowledged. - + @@ -1476,7 +1536,7 @@ ISDN BRI line Bill Swingle Written by - +