Auto.gemini4 (en): Unterschied zwischen den Versionen

Aus Gemini-Wiki
Zur Navigation springen Zur Suche springen
K
 
Zeile 11: Zeile 11:
 
# do NOT change manually!
 
# do NOT change manually!
 
video -fstype=cifs,rw,file_mode=0777,dir_mode=0777,user=everybody,password=secret ://192.168.1.36/video
 
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
+
sound -fstype=nfs,rw,nolock,soft,retry=0 192.168.123.222:/mnt/nas/mp3
 
root@dm920:~#
 
root@dm920:~#
 
</syntaxhighlight>
 
</syntaxhighlight>

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