Auto.gemini (en): Unterschied zwischen den Versionen

Aus Gemini-Wiki
Zur Navigation springen Zur Suche springen
K
K
 
Zeile 13: Zeile 13:
 
<syntaxhighlight>
 
<syntaxhighlight>
 
root@dm7080:~# cat /etc/auto.gemini  
 
root@dm7080:~# cat /etc/auto.gemini  
video -fstype=nfs,rw,soft,nolock 192.168.1.15:/video
+
video -fstype=nfs,rw,soft,nolock,retry=0 192.168.1.15:/video
 
sound -fstype=cifs,rw,soft,user=yourUsername,pass=yourPassword ://192.168.1.10/sound
 
sound -fstype=cifs,rw,soft,user=yourUsername,pass=yourPassword ://192.168.1.10/sound
 
root@dm7080:~#
 
root@dm7080:~#

Aktuelle Version vom 12. November 2016, 19:55 Uhr

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

The auto.gemini is a mapping file of the automounter under Gemini Project 3.3, which is defined in the auto.master.
In the file the several mounts of the target devices are specified.

Ambox notice.png The content of the file is identical as in the old auto.network and can be copied into the auto.gemini without changes.
Ambox attention.png The file is used by the Gemini Project since OE 2.2.
Ambox warning.png Now the the mounts can be found in /media/network.

Example of an auto.gemini file, with configured mounts

root@dm7080:~# cat /etc/auto.gemini 
video -fstype=nfs,rw,soft,nolock,retry=0 192.168.1.15:/video
sound -fstype=cifs,rw,soft,user=yourUsername,pass=yourPassword ://192.168.1.10/sound
root@dm7080:~#
Ambox notice.png The names of the mount points (in the example video and sound) must always be different.

double names will cause conflicts.

Ambox notice.png The permissions of the configuration files under OE 2.2 images are 644. The file is not allowed to be executable! The permissions can be changes with the command
chmod 644 /etc/auto.gemini

See also