Pair of Vintage Old School Fru
HomeBlogAbout Me

Automounter 1 5 7



  1. AutoMounter 1.5.7. AppStore QR-Code ‎AutoMounter. Developer: Pixeleyes Ltd. Price: $9.99 + Description. Tired of mounting your network shares? AutoMounter ensures.
  2. Introduction 1.1 Revision History. Versions below 1.5 - Authored by Don. Version 1.5 - Added the copyright and other minor details.Rahul Sundaram took over maintainance. Version 1.5.1 - Added details to the question about VFAT. Version 1.5.2 - Revision history and other minor corrections. Version 1.6 - Added a few questions and answers.
- in Deutsch - in English

The Automounter is a service (consisting of automount/autofs), to mount file systems automatically. Mounting is performed when accessing the configured directories. Unmounting is performed by default after 5 sec. of inactivity (depending on the used image). On Dreamboxes the service is used to access network shares. The shares can be accessed over cifs and/or nfs.

Automounter

After mounting the share it's possible to play supported movies, music and images. The network shares can be on Dreamboxes, Linux computers, Macs, NAS and Windows computers.

Advantage of the automounter: no scripts, editing of the fstab or boot settings are required.

Introduction 1.1 Revision History. Versions below 1.5 - Authored by Don. Version 1.5 - Added the copyright and other minor details.Rahul Sundaram took over maintainance. Version 1.5.1 - Added details to the question about VFAT. Version 1.5.2 - Revision history and other minor corrections. Version 1.6 - Added a few questions and answers.

  • 4Configuring the Automounter
    • 4.1Configuration via Automount Editor
      • 4.1.1Example CIFS Mount
      • 4.1.2Example NFS Mount
    • 4.2Configuration via configuration file
      • 4.2.1Example CIFS mount
      • 4.2.2Example NFS mount
  • 5Interesting shell commands for the automounter
    • 5.1Examples for an Enigma2 based Dreambox up to OE 2.0
    • 5.2Examples for an Enigma2 based Dreambox since OE 2.2

Functionality Automounter

Automounter

For the preamble Automount Mounter, two files are important, autofs and automount. Autofs defines the mount points using the auto.master file. Afterwards the mounting is performed by automount.

Goal of the article

  • Learn the configuration of the Auto Mounter

Prerequisites

  • Knowing the Blue Panel (Automount - Editor) and the remote control
  • Editing the configuration file with an unix compatible editor

Configuring the Automounter

There are 3 ways to configure the automounter.

  • The Automount Editor of the BluePanel
  • Or editing the configuration file
  • With the GP3 Plugin and the installed Netscan Plugin, Samba and NFS shares can be found and passed to the Automount Editor.

Configuration via Automount Editor

The Automount Editor is available in Enigma since Gemini Project 1.9 and in Enigma2 since Gemini Project 3.2 in the Blue Panel.

  • With Enigma (since version 4.5) the Automount-Editor can be found in the Blue Panel under Extras / Settings => Automount
  • With Enigma2 (since version 4.1) under Settings => Automount Editor
  • With the installed GP3 Plugin under Blue Panel => Settings => Automount Editor
After configuring the mount point, the box or the autofs Daemon needs to be restarted. When using the Automount Editor of the GP3 Plugin, this is no longer required. After closing the editor, autofs is restarted automatically.

Example CIFS Mount

Example of a cifs mount.
The settings need to be changed according to your situation.

Automount Editor GP3 Plugin
Automount Editor GP2
Automount Editor GP
description of the settings

Name
Enter the name of the device (e.g. sound). The autofs daemon creates a directory with the selected name.
The path of the directory is saved in the file auto.master.
Read: Accessing the mount point.

Attention: if using multiple mounts, the name (mount point) should always be different.

Typ
selection of the protocol CIFS.

Parameter
Options for the mount.

Server
IP address of the source device.

Share
Enter the name of the shared directory.
Attention, with Enigma2 there shouldn't be a / (Slash) entered at the beginning!

read / write buffer
The options rsize and wsize define the size of the data packages, which are exchanged by the client and server.

User
Appgenome create desktop app from any website 1 4 2. Enter the user name of for the access on the source device.

Password
Enter the password for the access on the source device.

Charset (utf8)
Sets the character encoding onto utf8, useful for special characters.

Example NFS Mount

Example of a nfs mount.
The settings need to be changed according to your situation. Decor graphics 3 3 1 – templates lab.

Automount Editor GP3 Plugin
Automount Editor GP2
Automount Editor GP
description of the settings

Name
Enter the name of the device (e.g. sound). The autofs daemon creates a directory with the selected name.
The path of the directory is saved in the file auto.master.
Pro disk cleaner 1 4 sds. Read: Accessing the mount point.

Attention: if using multiple mounts, the name (mount point) should always be different.

Typ
selection of the protocol NFS.

Parameter
Options for the mount.

Server
IP address of the source device.

Share
Enter the name of the shared directory.
Attention, with Enigma2 there shouldn't be a / (Slash) entered at the beginning!

read / write buffer
The options rsize and wsize define the size of the data packages, which are exchanged by the client and server.

Accessing the mount point

The access of the created mount point depends on the Gemini version. The easiest way is to use the File Mode (Enigma), or the File Manager (Enigma2).

  • For Enigma boxes the mount point can be found in the directory /automount.
  • For Enigma2 up to GP version 3.8 the mount point is in /automount. From version 3.9 till 4.1 it can be found in /autofs. And from GP2 4.2 until GP3.2 in /media/net.
  • Since Gemini Project 3.3 for OE 2.2 the mount points are in /media/network.

Configuration via configuration file

The configuration file of the automounter for CVS Boxes can be found in /var/etc and for OE Boxes in /etc (CVS/OE Boxes see here). Here you can find also the different files depending on the image version. The syntax remained the same.

  • With Enigma the file name is automount.conf. The configuration is possible since Gemini Project 3.1.
  • With Enigma2 the file name is automount.conf for Gemini Project 1.8 - 3.8. Since version 3.9 - 4.1 the file name is auto.hotplug. And from version 4.2 until GP 3.2the name is auto.network.
  • Since Gemini Project 3.3 for OE 2.2 the file name is auto.gemini.
The permissions with OE 2.0 / OE 2.2 images should be 644. The file shouldn't be executable! You can change the permission with the command chmod 644 /etc/auto.network.
After the creation of a mount point, the Box or the autofs daemon should be restarted.

Example CIFS mount

Example of a cifs mount.
The settings need to be changed according to your situation.

description of the settings

Name
Enter the name of the device (e.g. sound). The autofs daemon creates a directory with the selected name.
The path of the directory is saved in the file auto.master.
Read: Accessing the mount point.

Attention: if using multiple mounts, the name (mount point) should always be different.

-fstype=
selection of the protocol CIFS.

rw,soft
Options for the mount.

user=user_name
Enter the user name of for the access on the source device.

pass=password
Enter the password for the access on the source device. Edgeview 2 1 94 – cutting edge image viewer free.

rsize=8192,wsize=8192
The options rsize and wsize define the size of the data packages, which are exchanged by the client and server.

iocharset=utf8
Sets the character encoding onto utf8, useful for special characters.

://192.168.1.10
IP address of the source device.

/sound
Enter the name of the shared directory.
Attention, with Enigma2 there shouldn't be a / (Slash) entered at the beginning!

Example NFS mount

Example of a nfs mount.
The settings need to be changed according to your situation.

description of the settings

Name
Enter the name of the device (e.g. sound). The autofs daemon creates a directory with the selected name.
The path of the directory is saved in the file auto.master.
Read: Accessing the mount point.

Attention: if using multiple mounts, the name (mount point) should always be different.

-fstype=
selection of the protocol NFS.

Bartender 3 tnt. rw,soft,tcp,nolock
Options for the mount.

rsize=8192,wsize=8192
The options rsize and wsize define the size of the data packages, which are exchanged by the client and server.

192.168.1.15:
IP address of the source device.

/video
Enter the name of the shared directory.
Attention, with Enigma2 there shouldn't be a / (Slash) entered at the beginning!

Accessing the mount point

The access of the created mount point depends on the Gemini version. The easiest way is to use the File Mode (Enigma), or the File Manager (Enigma2).

  • For Enigma boxes the mount point can be found in the directory /automount.
  • For Enigma2 up to GP version 3.8 the mount point is in /automount. From version 3.9 till 4.1 it can be found in /autofs. And from 4.2 until GP 3.2 in /media/net.
  • Since GP3 3.3 for OE 2.2 in /media/network.

Interesting shell commands for the automounter

With Enigma the automounter offers the options {start|stop|restart}. The script has the name autofs_script.sh

Examples for an Enigma2 based Dreambox up to OE 2.0

Stop autofs

Start autofs

Restart autofs

Load the changed config file

Status query

Examples for an Enigma2 based Dreambox since OE 2.2

Stop autofs

Start autofs

Show status of autofs

Abgerufen von „http://wiki.blue-panel.com/index.php?title=Automount_(en)&oldid=18163“

Name

automount - manage autofs mount points Qlab pro 3 1 22 download free.

Synopsis

automount [options] [master_map]

Description

The automount program is used to manage mount points for autofs, the inlined Linux automounter. automount works by reading theauto.master(5) map and sets up mount points for each entry in the master map allowing them to be automatically mounted when accessed. The file systemsare then automatically umounted after a period of inactivity.

Options

-h, --help

-r, --random-multimount-selection
Enables the use of ramdom selection when choosing a host from a list of replicated servers.
-m, --dumpmaps
Dump configured automounter maps, then exit.
-O, --global-options
Allows the specification of global mount options used for all master map entries. These options will either replace or be appened to options given in amaster map entry depending on the APPEND_OPTIONS configuration setting.
-V, --version
Display the version number, then exit.
-l, --set-log-priority priority path [path,.]
Set the daemon log priority to the specified value. Valid values include the numbers 0-7, or the strings emerg, alert, crit, err, warning, notice, info, ordebug. Log level debug will log everything, log levels info, warn (or warning), or notice with enable the daemon verbose logging. Any other level will setbasic logging. Note that enabling debug or verbose logging in the autofs global configuration will override dynamic log level changes. For example, if verboselogging is set in the configuration then attempting to set logging to basic logging, by using alert, crit, err or emerg won't stop the verbose logging.However, setting logging to debug will lead to everything (debug logging) being logged witch can then also be disabled, returning the daemon to verboselogging. This option can be specified to change the logging priority of an already running automount process.
The path argument corresponds to the automounted path name as specified in the master map.
-C, --dont-check-daemon
Don't check if the daemon is currently running (see NOTES).
-F, --force
Force an unlink umount of existing mounts under autofs managed mount points during startup. This can cause problems for processes with working directorieswithin these mounts (see NOTES).

Arguments

automount takes one optional argument, the name of the master map to use.

Automounter 1 5 75

The documentation could be better.

Please report other bugs along with a detailed description to <autofs@linux.kernel.org>. For instructions on how to join the list and for archivesvisit http://linux.kernel.org/mailman/listinfo/autofs

Author

H. Peter Anvin <hpa@transmeta.com> and Ian Kent <raven@themaw.net>.

Referenced By

amd(8),

Automounter 1 5 77

auto.master.v5(5),automount_selinux(8),hlfsd(8),nfs(5),sge_aliases(5)



Automounter 1 5 7
Back to posts
This post has no comments - be the first one!

UNDER MAINTENANCE