Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung Nächste Überarbeitung | Vorherige Überarbeitung Letzte Überarbeitung Beide Seiten, nächste Überarbeitung | ||
lpi2:autofs [2024/05/02 14:22] ingo_wichmann [Einzelnes Verzeichnis automatisch mounten] |
lpi2:autofs [2024/05/02 14:39] ingo_wichmann [Einzelnes Verzeichnis automatisch mounten] |
||
---|---|---|---|
Zeile 6: | Zeile 6: | ||
<file text /etc/auto.misc> | <file text /etc/auto.misc> | ||
- | #KEY -OPTIONS LOCATION | + | #Key -Options Location |
test -fstype=auto,noatime :/dev/vg_system/lv_autofs1 | test -fstype=auto,noatime :/dev/vg_system/lv_autofs1 | ||
</file> | </file> | ||
Zeile 17: | Zeile 17: | ||
service autofs restart | service autofs restart | ||
+ | automount -m | ||
+ | mount -t autofs | ||
ls /mnt/misc/test; date | ls /mnt/misc/test; date | ||
tail -n 1 /proc/mounts | tail -n 1 /proc/mounts | ||
+ | |||
+ | == Dokumentation == | ||
+ | * https://wiki.ubuntuusers.de/Autofs/ | ||
+ | * man automount | ||
+ | * man 5 autofs | ||
+ | * man 5 auto.master | ||
====== NFS-Server automatisch mounten ====== | ====== NFS-Server automatisch mounten ====== |