Subject: amd(8) vs. autofs
To: None <tech-net@netbsd.org>
From: Matthias Scheler <tron@zhadum.de>
List: tech-net
Date: 04/08/2002 18:00:10
Hello,
the autofs in Solaris mounts remote filesystems directly to the logical
path like this:
tron@sea-lion:~>pwd
/home/tron
tron@sea-lion:~>df /home/tron
Filesystem kbytes used avail capacity Mounted on
colwyn:/export/home/tron
5617724 754298 4582539 15% /home/tron
NetBSD's amd(8) use an indirect mount like this:
tron@lyssa:~>pawd
/home/tron
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 http://scheler.de/~matthias/