Indirect maps, such as those in the auto.master file shown above, create-mount points as subdirectories inside the main mount-point. mount-point :] map Īutomount maps can be direct or indirect.# For details of the format look at autofs(5).īy default, all lines are commented out by using the # character.Įach of the lines in auto.master describes a mount and the location of its map. # This is an automounter map and it has the following format Here is the sample file provided by Ubuntu: Unless you have a good reason for changing this, leave it as the default. The master configuration file for autofs is /etc/auto.master by default. There are other ways to configure autofs on a network (see AutofsLDAP), but config files provide the simplest setup. Install the autofs package either by clicking here or entering the following in a terminal window:Īutofs can be configured by editing configuration files. Auto-mount or auto-mounting refers to the process of automatically mounting filesystems.Īutofs is the program that controls the operation of the automount daemons.When autofs is started, an automount daemon is spawned for each map. To avoid confusion, the following terminologies will be used:Īutomount is the program used to configure a mount point for autofs. Because of this, automounting NFS/Samba shares conserves bandwidth and offers better overall performance compared to static mounts via fstab. Auto-mounts are mounted only as they are accessed, and are unmounted after a period of inactivity. Unmount static mounts and edit /etc/fstabĪutofs is a program for automatically mounting directories on an as-needed basis.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |