sbin/mount_autofs: Add description
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Mon, 22 Jan 2018 15:29:46 +0000 (17:29 +0200)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Mon, 22 Jan 2018 15:58:10 +0000 (17:58 +0200)
commit192d378b81e754e3e605c81fa7336c668b1f7023
tree14616455607d2f96b119103c6c74a6eed3943199
parentbde0ea861281d675f1fff670753d17ef99efe904
sbin/mount_autofs: Add description

TL;DR users won't be running this command to mount autofs.

Having autofs_enable=YES won't run this command either.
There is a high level command automount(8) and that does everything
based on /etc/auto_master contents.

mount_autofs(8) is a low level version where users can manually
specify things automount(8) internally passes to mount(2).
Thus it's not easy or needed to understand what -fOp options exactly
do without having clear understanding of autofs internal.
But I'll write it here in case interested.

 -f is a string which eventually gets copied to statfs::f_mntfromname.
  Unlike most of the filesystems with backing store, this is just
  a label to identify the autofs mount.
 -O is mount options of autofs(5).
 -p is a prefix string to distinct direct and indirect mapping.
sbin/mount_autofs/mount_autofs.8