Auto.gemini4 (en): Unterschied zwischen den Versionen

Aus Gemini-Wiki
Zur Navigation springen Zur Suche springen
Zeile 3: Zeile 3:
 
  |[[Bild:english.png]] - [[Auto.gemini4 (en)|in English]]
 
  |[[Bild:english.png]] - [[Auto.gemini4 (en)|in English]]
 
  |}
 
  |}
The '''<code>auto.gemini4</code>''' is a mapping file of the [[Auto Mounter|Automounters]] unter Gemini Project 4. In der Datei werden die einzelnen cifs / nfs mounts an die Zielgeräte definiert.  
+
The '''<code>auto.gemini4</code>''' is a mapping file of the [[Automount (en)|Automounter]] in the Gemini Project 4. In this file the different cifs / nfs mounts for the network shares are defined.  
  
== Beispiel einer auto.gemini4 Datei, mit konfigurierten Mounts ==
+
== Example of an auto.gemini4 file, with configured mounts ==
 
<syntaxhighlight>
 
<syntaxhighlight>
 
root@dm920:~# cat /etc/auto.gemini4
 
root@dm920:~# cat /etc/auto.gemini4
Zeile 15: Zeile 15:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
{{Hinweis|Die Namen der Mountpunkte (im Beispiel video und sound) müssen '''immer''' unterschiedlich sein. <br/>
+
{{Hinweis|The names of the mount points (in the example video and sound) must '''always''' be different. <br/>
'''Doppelte''' Mountpunktnamen führen zu Konflikten.}}
+
'''Double''' names for mount points will lead to conflicts.}}
{{Hinweis|Die Dateirechte der Konfigurationsdatei muss '''644''' entsprechen. Die Datei darf nicht ausführbar sein! Anpassen könnt ihr die Rechte mit dem Befehl <br/><syntaxhighlight>chmod 644 /etc/auto.gemini4</syntaxhighlight>}}
+
{{Hinweis|The file permissions of this configuration file must be '''644'''. The file should never be "executable"! It's possible to change the permissions with the command <br/><syntaxhighlight>chmod 644 /etc/auto.gemini4</syntaxhighlight>}}
  
 
==See also==
 
==See also==

Version vom 22. September 2018, 19:33 Uhr

Deutsch.png - in Deutsch English.png - in English

The auto.gemini4 is a mapping file of the Automounter in the Gemini Project 4. In this file the different cifs / nfs mounts for the network shares are defined.

Example of an auto.gemini4 file, with configured mounts

root@dm920:~# cat /etc/auto.gemini4
# automatically generated by gemini
# do NOT change manually!
video -fstype=cifs,rw,file_mode=0777,dir_mode=0777,user=everybody,password=secret ://192.168.1.36/video
sound -fstype=nfs,rw,nolock,soft,tcp,rsize=131072,wsize=131072,retry=0 192.168.123.222:/mnt/nas/mp3
root@dm920:~#
Ambox notice.png The names of the mount points (in the example video and sound) must always be different.

Double names for mount points will lead to conflicts.

Ambox notice.png The file permissions of this configuration file must be 644. The file should never be "executable"! It's possible to change the permissions with the command
chmod 644 /etc/auto.gemini4

See also