Auto.master: Unterschied zwischen den Versionen
Mfgeg (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Mfgeg (Diskussion | Beiträge) |
||
| (9 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
[[ | {|width="40%" | ||
[[ | |[[Bild:deutsch.png]] - [[Auto.master|in Deutsch]] | ||
[[ | |[[Bild:english.png]] - [[Auto.master (en)|in English]] | ||
Die '''auto.master''' (Master Map-Datei) ist eine | |} | ||
Die '''<code>auto.master</code>''' (Master Map-Datei) ist eine Konfigurationsdatei von autofs. Jede aktive Zeile definiert einen Mountpunkt und verweist auf eine weitere Datei, genannt Map-Datei. In der Map-Datei (z.B. [[auto.hotplug]], [[auto.network]] oder [[auto.gemini]]) stehen die Angaben für das mounten von Geräten (z.B. NAS), die vom automounter ausgeführt werden. | |||
== auto.master unter OE2.0 == | |||
Die Ausgabe der Master Map-Datei sieht wie folgt aus, in einem [[OE 2.0]] Image von DMM. | Die Ausgabe der Master Map-Datei sieht wie folgt aus, in einem [[OE 2.0]] Image von DMM. | ||
<syntaxhighlight highlight="12"> | |||
root@dm8000:~# cat /etc/auto.master | |||
# | |||
# $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $ | |||
# | |||
# Sample auto.master file | |||
# This is an automounter map and it has the following format | |||
# key [ -mount-options-separated-by-comma ] location | |||
# For details of the format look at autofs(5). | |||
#/smb /etc/auto.smb | |||
#/net /etc/auto.net | |||
/autofs /etc/auto.hotplug | |||
/media/net /etc/auto.network | |||
</syntaxhighlight> | |||
In diesem Fall werden alle mounts in das folgende Verzeichnis gelegt: | |||
<syntaxhighlight> | |||
/media/net | |||
</syntaxhighlight> | |||
Die Zugriffe auf die einzelnen Zielgeräte sind in der folgenden Datei definiert: | |||
<syntaxhighlight> | |||
/etc/auto.network | |||
</syntaxhighlight> | |||
{{Hinweis|Die Map Datei <code>auto.hotplug</code> unter [[OE 2.0]] wird für das Einbinden von optischen Laufwerken verwendet.}} | |||
== auto.master unter OE2.2 == | |||
/ | Die Ausgabe der Master Map-Datei sieht wie folgt aus unter [[OE 2.2]] basierenden Images mit installiertem Gemini Plugin. | ||
<syntaxhighlight highlight="29"> | |||
root@dm7080:~# cat /etc/auto.master | |||
# | |||
# Sample auto.master file | |||
# This is an automounter map and it has the following format | |||
# key [ -mount-options-separated-by-comma ] location | |||
# For details of the format look at autofs(5). | |||
# | |||
#/misc /etc/auto.misc | |||
# | |||
# NOTE: mounts done from a hosts map will be mounted with the | |||
# "nosuid" and "nodev" options unless the "suid" and "dev" | |||
# options are explicitly given. | |||
# | |||
#/net -hosts | |||
# | |||
# Include /etc/auto.master.d/*.autofs | |||
# | |||
+dir:/etc/auto.master.d | |||
# | |||
# Include central master map if it can be found using | |||
# nsswitch sources. | |||
# | |||
# Note that if there are entries for /net or /misc (as | |||
# above) in the included master map any keys that are the | |||
# same will not be seen as the first read key seen takes | |||
# precedence. | |||
# | |||
+auto.master | |||
/media/network /etc/auto.gemini --ghost | |||
</syntaxhighlight> | |||
Die | {{Hinweis|Die Definition der Map-Datei <code>[[auto.gemini]]</code> wird durch das GP Plugin 3.3 geregelt.}} | ||
{{Hinweis|Die <code>--ghost</code> Option macht Mountpunkte sichtbar im Verzeichnis <code>/media/network</code>.}} | |||
< | |||
In diesem Fall werden alle mounts in das folgende Verzeichnis gelegt: | |||
<syntaxhighlight> | |||
/media/network | |||
</syntaxhighlight> | |||
Die Zugriffe auf die einzelnen Zielgeräte sind in der folgenden Datei definiert: | |||
<syntaxhighlight> | |||
/etc/auto.gemini | |||
</syntaxhighlight> | |||
==Enigma | ==Enigma== | ||
Enigma | Enigma-Boxen besitzen ''keine'' Master-Map Datei. Die Zuweisung auf die Map Datei ist fest im Skript <code>autofs_script.sh</code> definiert. | ||
==Siehe auch== | ==Siehe auch== | ||
*[[Auto Mounter]] | *[[Auto Mounter]] | ||
*[[auto.gemini]] | |||
*[[auto.network]] | *[[auto.network]] | ||
*[[auto.hotplug]] | *[[auto.hotplug]] | ||
*[[automount.conf]] | *[[automount.conf]] | ||
[[Kategorie:Konfigurationsdatei]] | |||
[[Kategorie:Enigma2]] | |||
{{DISPLAYTITLE:auto.master}} | |||
Aktuelle Version vom 16. November 2014, 21:02 Uhr
Die auto.master (Master Map-Datei) ist eine Konfigurationsdatei von autofs. Jede aktive Zeile definiert einen Mountpunkt und verweist auf eine weitere Datei, genannt Map-Datei. In der Map-Datei (z.B. auto.hotplug, auto.network oder auto.gemini) stehen die Angaben für das mounten von Geräten (z.B. NAS), die vom automounter ausgeführt werden.
auto.master unter OE2.0
Die Ausgabe der Master Map-Datei sieht wie folgt aus, in einem OE 2.0 Image von DMM.
root@dm8000:~# cat /etc/auto.master
#
# $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#/smb /etc/auto.smb
#/net /etc/auto.net
/autofs /etc/auto.hotplug
/media/net /etc/auto.networkIn diesem Fall werden alle mounts in das folgende Verzeichnis gelegt:
/media/netDie Zugriffe auf die einzelnen Zielgeräte sind in der folgenden Datei definiert:
/etc/auto.networkDie Map Datei auto.hotplug unter OE 2.0 wird für das Einbinden von optischen Laufwerken verwendet.
|
auto.master unter OE2.2
Die Ausgabe der Master Map-Datei sieht wie folgt aus unter OE 2.2 basierenden Images mit installiertem Gemini Plugin.
root@dm7080:~# cat /etc/auto.master
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#
#/misc /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
# "nosuid" and "nodev" options unless the "suid" and "dev"
# options are explicitly given.
#
#/net -hosts
#
# Include /etc/auto.master.d/*.autofs
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
/media/network /etc/auto.gemini --ghostDie Definition der Map-Datei auto.gemini wird durch das GP Plugin 3.3 geregelt.
|
Die --ghost Option macht Mountpunkte sichtbar im Verzeichnis /media/network.
|
In diesem Fall werden alle mounts in das folgende Verzeichnis gelegt:
/media/networkDie Zugriffe auf die einzelnen Zielgeräte sind in der folgenden Datei definiert:
/etc/auto.geminiEnigma
Enigma-Boxen besitzen keine Master-Map Datei. Die Zuweisung auf die Map Datei ist fest im Skript autofs_script.sh definiert.