Make the autofs(5) -hosts map more robust, primarily to make it correctly
handle NFS shares containing whitespace. This also adds the -E parameter
to showmount(8).
Details
Details
- Reviewers
jhibbits emaste wblock - Group Reviewers
manpages - Commits
- rS308292: MFC r297207:
rS297207: Make the autofs(5) -hosts map more robust, primarily to make it correctly
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 2974 Build 3002: arc lint + arc unit
Event Timeline
usr.bin/showmount/showmount.8 | ||
---|---|---|
80 | As used, a colon would be appropriate instead of the dash. But this can be simpler as two sentences: (wrapping approximate) exports list in a script-friendly format. Client addresses and the header are not shown, and special characters are escaped. |
Comment Actions
Well, other options for showmount are effectively OR-ed... Or perhaps your suggestion is to add eg a -c options that is a modifier for -e, that makes it output script-friendly output instead of the usual?
Comment Actions
I think other options for showmount don't conflict with each other in the same way; passing both -e and -E here seems like it would would produce nonsensical output. I think it should either allow only one of -e and -E or the script mode should be a separate option like the -c you suggest.