• Apfeltalk ändert einen Teil seiner Allgemeinen Geschäftsbedingungen (AGB), das Löschen von Useraccounts betreffend.
    Näheres könnt Ihr hier nachlesen: AGB-Änderung
  • Was gibt es Schöneres als den Mai draußen in der Natur mit allen Sinnen zu genießen? Lasst uns teilhaben an Euren Erlebnissen und macht mit beim Thema des Monats Da blüht uns was! ---> Klick

automount-Ordner?

Tekl

Fairs Vortrefflicher
Registriert
01.06.05
Beiträge
4.630
Hi,

ich habe auf meiner Macintosh HD einen versteckten Ordner "automount" mit den Unterordnern "Servers" und "static". Stammen die von Fremdsoftware oder sind die bei Leo immer dabei. Wozu sind die gut? Kann man damit evtl. Volumen ohne Tricks automatisch mounten?
 

rumsi

Mecklenburger Orangenapfel
Registriert
24.03.08
Beiträge
2.979
soweit ich weiss gibt es ein programm "automount" evtl haengt es damit zusammen?

automount [options] mount-point map-type[,format] map [map-options]
DESCRIPTION

The automount program is used to configure a mount point for autofs, the inlined Linux automounter. automount works by taking a base mount-point and map file, and using these (combined with other options) to automatically mount filesystems within the base mount-point when they are accessed in any way. The filesystems are then autounmounted after a period of inactivity.
OPTIONS

-p, --pid-file
Write the pid of the daemon to the specified file.
-t, --timeout
Set the minimum timeout, in seconds, until directories are unmounted. The default is 5 minutes. Setting the timeout to zero disables unmounts completely.
-v, --version
Display the version number, then exit.
ARGUMENTS

automount takes at least three arguments. Mandatory arguments include mount-point, map-type and map. Both mandatory and optional arguments are described below.
mount-point
Base location for autofs-mounted filesystems to be attached. This is a directory name which must already exist.
map-type
Type of map used for this invocation of automount. The following are valid map types:
file
The map is a regular text file.
program
The map is an executable program, which is passed a key on the command line and returns an entry on stdout if successful.
yp
The map is a NIS (YP) database.
nisplus
The map is a NIS+ database.
hesiod
The map is a hesiod database whose filsys entries are used for maps.
ldap
map names are of the form [servername:]basedn, where the optional servername is the name of the LDAP server to query, and basedn is the DN to do a subtree search under. Entries are automount objects in the specified subtree, where the cn attribute is the key (the wildcard key is "/"), and the automounterInformation attribute contains the information used by the automounter. Documentation on the schema used by this module is available online at http://docs.iplanet.com/docs/manuals/directory/411ext/nis/mapping.htm.
format Format of the map data; currently the only formats
recognized are sun, which is a subset of the Sun automounter map format, and hesiod, for hesiod filesys entries. If the format is left unspecified, it defaults to sun for all map types except hesiod.
map
Location of mapfile to use. This is an absolute UNIX pathname in the case for maps of types file or program, and the name of a database in the case for maps of type yp, nisplus, or hesiod.
options
Any remaining command line arguments without leading dashes (-) are taken as options (-o) to mount. Arguments with leading dashes are considered options for the maps.
 

Marcel Bresink

Breuhahn
Registriert
28.05.04
Beiträge
8.588
Diese Ordner gehören (schon seit Version 10.0) immer zu Mac OS X, auch wenn sich die Namen im Laufe der Jahre leicht verändert haben.

Sie sind dafür gedacht, vollautomatisches Netzwerk-Mounting über die File Server-Protokolle NFS oder AFP zu realisieren. Wenn Mac OS X startet, können so ohne jeglichen Benutzereingriff beliebig viele Netzwerk-Volumes automatisch ins System eingebunden werden. Um das zu nutzen, ist es nötig, einen Verzeichnisdienst, z.B. Apple Open Directory, Microsoft Active Directory oder Network Information System (NIS) einzurichten.

Kann man damit evtl. Volumen ohne Tricks automatisch mounten?

Netzwerk-Volumes ja. Bei anderen Volumes ist das nicht nötig, die werden ja sowieso immer automatisch gemountet. Letzteres bezeichnet Mac OS X als "Autodiskmounting", nicht als "Automounting".
 

quarx

Brauner Matapfel
Registriert
17.04.05
Beiträge
8.444
... ein Erbe von BSD übrigens, das ist nicht unbedingt etwas OS X-spezifisches. ;)
 

Tekl

Fairs Vortrefflicher
Registriert
01.06.05
Beiträge
4.630
Also geht das nur, wenn Netwerk-Volumen auf OS X Server eingerichtet sind? Kann man das ohne Netzwerk-Diplom einrichten? Muss ich dazu den Dienst Open Directory starten? Leider ist aber der Knopf "Dienst starten" ausgegraut. Unter den Einstellungen habe ich "Eigenständiger Server" aktiviert. (OS X Server 10.4.11)