Auto.gemini4 (en): Unterschied zwischen den Versionen

Aus Gemini-Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „{|width="40%" |Bild:deutsch.png - in Deutsch |Bild:english.png - in English |}“)
 
K
 
(4 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt)
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 [[Automount (en)|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 ==
 +
<syntaxhighlight>
 +
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,retry=0 192.168.123.222:/mnt/nas/mp3
 +
root@dm920:~#
 +
</syntaxhighlight>
 +
 +
{{Hinweis|The names of the mount points (in the example video and sound) must '''always''' be different. <br/>
 +
'''Double''' names for mount points will lead to conflicts.}}
 +
{{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==
 +
*[[Automount (en)|Automount]]
 +
 +
 +
[[Kategorie:GP4 (en)]]
 +
{{DISPLAYTITLE:auto.gemini4}}

Aktuelle Version vom 30. Dezember 2018, 23:32 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,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