Bug 86139

Summary: autofs(5) man page incorrect for mount options
Product: [Retired] Red Hat Linux Reporter: Ansgar Esztermann <ansgar>
Component: autofsAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: low Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-03-19 23:18:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to the autofs(5) man page none

Description Ansgar Esztermann 2003-03-14 19:28:03 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.6 (X11; Linux i686; U;) Gecko/20020916

Description of problem:
The autofs(5) man page gives a list of examples for possible
entries to the automounter maps. One of these contains options 
other than -fstype which are nonetheless prefixed with a dash.

Contrary to the Solaris automounter, however, the dash must 
not be present on Linux. This is stated in the auto.master(5)
man page and also confirmed by my experiments.


Version-Release number of selected component (if applicable):
autofs-3.1.7-28

How reproducible:
Always

Steps to Reproduce:
1. Following the example from the man page:
% /usr/sbin/automount /tmp yp auto.home -rsize=8192,wsize=8192,rw,intr,soft,bg

% ls /tmp/ansgar >/dev/null

% mount |grep tmp

Actual Results:  automount(pid27534) on /tmp type autofs
(rw,fd=5,pgrp=27534,minproto=2,maxproto=3)
zenon:/ush4/ansgar on /tmp/ansgar type nfs (rw,addr=134.99.64.132)

Expected Results:  (removing the dash yields the following:)

automount(pid27568) on /tmp type autofs (rw,fd=5,pgrp=27568,minproto=2,maxproto=3)
zenon:/ush4/ansgar on /tmp/ansgar type nfs
(rw,rsize=8192,wsize=8192,intr,soft,bg,addr=134.99.64.132)


Additional info:

Comment 1 Ansgar Esztermann 2003-03-14 19:31:05 UTC
Created attachment 90602 [details]
Patch to the autofs(5) man page