Automount mini-Howto: Introduction

Next Previous Contents

## 1. 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.

## 1.2 Automount - what and why?

Automounting is the process where mounting and unmounting of certain filesystems is done automatically by a daemon. If the filesystem is unmounted, and a user attempts to access it, it will be automatically (re)mounted. This is especially useful in large networked environments and for crossmounting filesystems between a few machines (especially ones which are not always online). It may also be very useful for removable devices, or a few other uses, such as easy switching between a forced-on ascii conversion mount of a dos filesystem and a forced-off ascii conversion mount of the same dos fs. If you are new to Linux and dont understand what mounting and deamons are,then refer to some documentation regarding this.

## 1.3 Types of automounting

There are two types of automounters in linux; AMD and autofs. AMD is the automount daemon, and supposedly works like the SunOS AMD. It is implemented in user space, meaning it's not part of the kernel. It's not necessary for the kernel to understand automounting if you NFS mount to the local host, through the AMD daemon, which routes all automount filesystem traffic through the NFS system. Autofs is a newer system assisted by the kernel, meaning that the kernel's filesystem code knows where the automount mount points are on an otherwise normal underlying fs, and the automount program takes it from there. Only autofs will be described in this mini-howto.

Next Previous Contents