autofs: use autofs instead of autofs4 in documentation
Finally remove autofs4 references in the filesystems documentation. Link: http://lkml.kernel.org/r/152626709055.28589.416082809460051475.stgit@pluto.themaw.net Signed-off-by: Ian Kent <raven@themaw.net> Cc: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
9005d83338
commit
b6bb226a72
|
@ -10,8 +10,8 @@ afs.txt
|
|||
- info and examples for the distributed AFS (Andrew File System) fs.
|
||||
affs.txt
|
||||
- info and mount options for the Amiga Fast File System.
|
||||
autofs4-mount-control.txt
|
||||
- info on device control operations for autofs4 module.
|
||||
autofs-mount-control.txt
|
||||
- info on device control operations for autofs module.
|
||||
automount-support.txt
|
||||
- information about filesystem automount support.
|
||||
befs.txt
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
Miscellaneous Device control operations for the autofs4 kernel module
|
||||
Miscellaneous Device control operations for the autofs kernel module
|
||||
====================================================================
|
||||
|
||||
The problem
|
||||
|
@ -164,7 +164,7 @@ possibility for future development due to the requirements of the
|
|||
message bus architecture.
|
||||
|
||||
|
||||
autofs4 Miscellaneous Device mount control interface
|
||||
autofs Miscellaneous Device mount control interface
|
||||
====================================================
|
||||
|
||||
The control interface is opening a device node, typically /dev/autofs.
|
||||
|
@ -244,7 +244,7 @@ The device node ioctl operations implemented by this interface are:
|
|||
AUTOFS_DEV_IOCTL_VERSION
|
||||
------------------------
|
||||
|
||||
Get the major and minor version of the autofs4 device ioctl kernel module
|
||||
Get the major and minor version of the autofs device ioctl kernel module
|
||||
implementation. It requires an initialized struct autofs_dev_ioctl as an
|
||||
input parameter and sets the version information in the passed in structure.
|
||||
It returns 0 on success or the error -EINVAL if a version mismatch is
|
||||
|
@ -254,7 +254,7 @@ detected.
|
|||
AUTOFS_DEV_IOCTL_PROTOVER_CMD and AUTOFS_DEV_IOCTL_PROTOSUBVER_CMD
|
||||
------------------------------------------------------------------
|
||||
|
||||
Get the major and minor version of the autofs4 protocol version understood
|
||||
Get the major and minor version of the autofs protocol version understood
|
||||
by loaded module. This call requires an initialized struct autofs_dev_ioctl
|
||||
with the ioctlfd field set to a valid autofs mount point descriptor
|
||||
and sets the requested version number in version field of struct args_protover
|
||||
|
|
|
@ -30,15 +30,15 @@ key advantages:
|
|||
Context
|
||||
-------
|
||||
|
||||
The "autofs4" filesystem module is only one part of an autofs system.
|
||||
The "autofs" filesystem module is only one part of an autofs system.
|
||||
There also needs to be a user-space program which looks up names
|
||||
and mounts filesystems. This will often be the "automount" program,
|
||||
though other tools including "systemd" can make use of "autofs4".
|
||||
though other tools including "systemd" can make use of "autofs".
|
||||
This document describes only the kernel module and the interactions
|
||||
required with any user-space program. Subsequent text refers to this
|
||||
as the "automount daemon" or simply "the daemon".
|
||||
|
||||
"autofs4" is a Linux kernel module with provides the "autofs"
|
||||
"autofs" is a Linux kernel module with provides the "autofs"
|
||||
filesystem type. Several "autofs" filesystems can be mounted and they
|
||||
can each be managed separately, or all managed by the same daemon.
|
||||
|
||||
|
@ -215,7 +215,7 @@ of expiry.
|
|||
The VFS also supports "expiry" of mounts using the MNT_EXPIRE flag to
|
||||
the `umount` system call. Unmounting with MNT_EXPIRE will fail unless
|
||||
a previous attempt had been made, and the filesystem has been inactive
|
||||
and untouched since that previous attempt. autofs4 does not depend on
|
||||
and untouched since that previous attempt. autofs does not depend on
|
||||
this but has its own internal tracking of whether filesystems were
|
||||
recently used. This allows individual names in the autofs directory
|
||||
to expire separately.
|
||||
|
@ -415,7 +415,7 @@ which can be used to communicate directly with the autofs filesystem.
|
|||
It requires CAP_SYS_ADMIN for access.
|
||||
|
||||
The `ioctl`s that can be used on this device are described in a separate
|
||||
document `autofs4-mount-control.txt`, and are summarized briefly here.
|
||||
document `autofs-mount-control.txt`, and are summarized briefly here.
|
||||
Each ioctl is passed a pointer to an `autofs_dev_ioctl` structure:
|
||||
|
||||
struct autofs_dev_ioctl {
|
||||
|
|
|
@ -9,7 +9,7 @@ also be requested by userspace.
|
|||
IN-KERNEL AUTOMOUNTING
|
||||
======================
|
||||
|
||||
See section "Mount Traps" of Documentation/filesystems/autofs4.txt
|
||||
See section "Mount Traps" of Documentation/filesystems/autofs.txt
|
||||
|
||||
Then from userspace, you can just do something like:
|
||||
|
||||
|
|
|
@ -460,7 +460,7 @@ this retry process in the next article.
|
|||
Automount points are locations in the filesystem where an attempt to
|
||||
lookup a name can trigger changes to how that lookup should be
|
||||
handled, in particular by mounting a filesystem there. These are
|
||||
covered in greater detail in autofs4.txt in the Linux documentation
|
||||
covered in greater detail in autofs.txt in the Linux documentation
|
||||
tree, but a few notes specifically related to path lookup are in order
|
||||
here.
|
||||
|
||||
|
|
Loading…
Reference in New Issue