Subject: amd(8) vs. autofs
To: None <>
From: Matthias Scheler <>
List: tech-net
Date: 04/08/2002 18:00:10

the autofs in Solaris mounts remote filesystems directly to the logical
path like this:

tron@sea-lion:~>df /home/tron
Filesystem            kbytes    used   avail capacity  Mounted on
                     5617724  754298 4582539    15%    /home/tron

NetBSD's amd(8) use an indirect mount like this:

tron@lyssa:~>ls -l /home/tron
lrwxrwxrwx  1 root  wheel  28 Apr  8 17:08 /home/tron -> /amd/colwyn/export/home/tron
tron@lyssa:~>df /amd/colwyn/export/home/tron
Filesystem          1K-blocks     Used     Avail Capacity  Mounted on
colwyn:/export/home   5617724   754298   4582539    14%    /amd/colwyn/export/home

I wonder what the technical reasons for this behavior are. Couldn't it
just mount the remote filesystem over its pseudo filesystem?

	Kind regards

Matthias Scheler