Bug 17368

Summary: Bad error messaging from mountd(8)
Product: Base System Reporter: Crist J. Clark <cjc>
Component: binAssignee: bill fumerola <billf>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.4-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
file.diff none

Description Crist J. Clark 2000-03-14 03:30:01 UTC
	mountd(8) can produce error messages like,

  mountd[389]: -mask requires -net

However, '-net' is not a legal mountd(8) option either. Only
'-network' and '-n' are. If you use '-net' you get,

  mountd[390]: bad opt net

Fix: Either let mountd(8) take a '-net' option,

Or produce the correct error messages,
How-To-Repeat: 
	Try an export line,

 /usr/obj -net 192.168.128.0 -mask 255.255.255.0

And you get the error above.
Comment 1 bill fumerola freebsd_committer freebsd_triage 2000-03-14 03:35:40 UTC
Responsible Changed
From-To: freebsd-bugs->billf

I got really mad at mountd the other day and have some patches 
that make error message more verbose. I'll add these to my patch set. 
Comment 2 bill fumerola freebsd_committer freebsd_triage 2001-06-20 01:16:28 UTC
State Changed
From-To: open->closed

fixed by iedowse in src/sbin/mountd/mountd.c:1.48