Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: filesystems: Add mount map description in Content

The second paragraph of the content section does not properly
describe how mount points are determined by autofs.

Replace the lines detailing how the determination of these mount
points is "ad hoc" by a short description of the mount map syntax
used by autofs.

Signed-off-by: Jaskaran Singh <jaskaransingh7654321@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Jaskaran Singh and committed by
Jonathan Corbet
e8a9e30d c11565e8

+4 -3
+4 -3
Documentation/filesystems/autofs.rst
··· 49 49 Objects can only be created by the automount daemon: symlinks are 50 50 created with a regular `symlink` system call, while directories and 51 51 mount traps are created with `mkdir`. The determination of whether a 52 - directory should be a mount trap or not is quite ad hoc, largely for 53 - historical reasons, and is determined in part by the 54 - *direct*/*indirect*/*offset* mount options, and the *maxproto* mount option. 52 + directory should be a mount trap is based on a master map. This master 53 + map is consulted by autofs to determine which directories are mount 54 + points. Mount points can be *direct*/*indirect*/*offset*. 55 + On most systems, the default master map is located at */etc/auto.master*. 55 56 56 57 If neither the *direct* or *offset* mount options are given (so the 57 58 mount is considered to be *indirect*), then the root directory is