Wie kann ich ein Server mounten, wenn ein Ordner geöffnet wird.
Beispiel:
Ordner "timo/download" wird geöffnet dann soll "smbmount //timo/download /home/timo/download" ausgeführt werden.
Automatischen mounten, wenn Ordner geöffnet wird
cutyler@bob:~$ apt-cache search automount
am-utils - automounter utilities from 4.4BSD (includes amd)
am-utils-doc - automounter utilities documentation
amd - Dummy package for upgrades
jukebox-mercury - Mercury NSM CD Jukebox Access Utility
libamu-dev - Support library for amd the 4.4BSD automounter (development)
libamu2 - Support library for amd the 4.4BSD automounter (runtime)
libpam-mount - a PAM module that can mount volumes for a user session
vfu - A versatile text-based filemanager
autofs - A kernel-based automounter for Linux
autofs-hesiod - Hesiod map support for autofs
autofs-ldap - LDAP map support for autofs
tyler@bob:~$ apt-cache show autofs
Package: autofs
Priority: extra
Section: utils
Installed-Size: 348
Maintainer: Daniel Lutz <danlutz@debian.org>
Architecture: i386
Version: 3.9.99-4.0.0pre10-16
Depends: libc6 (>= 2.3.2-1), procps
Conflicts: samba (<< 2.0.6-1)
Filename: pool/main/a/autofs/autofs_3.9.99-4.0.0pre10-16_i386.deb
Size: 72310
MD5sum: f883745947a66fa137dd428bb07725df
Description: A kernel-based automounter for Linux
Autofs controls the operation of the automount daemons. The
automount daemons automatically mount filesystems when they
are used and unmount them after a period of inactivity. This
is done based on a set of pre-configured maps.
.
The kernel automounter implements an almost complete SunOS style
automounter under Linux. The automounter is supported by Linux
kernels 2.0.31 and higher. Automounter support must be activated
while compiling the kernel.
Package: autofs
Priority: extra
Section: utils
Installed-Size: 340
Maintainer: Daniel Lutz <danlutz@debian.org>
Architecture: i386
Version: 3.9.99-4.0.0pre10-15
Depends: libc6 (>= 2.3.2-1), procps
Conflicts: samba (<< 2.0.6-1)
Filename: pool/main/a/autofs/autofs_3.9.99-4.0.0pre10-15_i386.deb
Size: 72112
MD5sum: 89928c3748ab00fddb31fb22866403a8
Description: A kernel-based automounter for Linux
Autofs controls the operation of the automount daemons. The
automount daemons automatically mount filesystems when they
are used and unmount them after a period of inactivity. This
is done based on a set of pre-configured maps.
.
The kernel automounter implements an almost complete SunOS style
automounter under Linux. The automounter is supported by Linux
kernels 2.0.31 and higher. Automounter support must be activated
while compiling the kernel.
tyler@bob:~$
Doku lesen oder bemühen...
http://www.pl-forum.de/t_system/autofs.html
http://www.pl-forum.de/t_system/autofs.html
Diese Anleitung hier fand ich besonders hilfreich:
http://www.linux-fuer-alle.de/?docid=68&catid=10
Gruss - michael
http://www.linux-fuer-alle.de/?docid=68&catid=10
Gruss - michael