Add mount option parsing facility to text-based mount.nfs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | text-based mount.nfs: parse option strings into listsutils/ utils/ utils/ | +478 | 0 replies | |
| 2/7 | text-based mount.nfs: Use new parser to handle 'addr=' and 'clientaddr='utils/ | +55 | 0 replies | |
| 3/7 | text-based mount.nfs: prepare for more complex error exit handlingutils/ | +21 | 0 replies | |
| 4/7 | text-based mount.nfs: add parser init and destroy callsutils/ | +26 | 0 replies | |
| 5/7 | text-based mount.nfs: start using new mount option parsing facilityutils/ | +3 | 0 replies | |
| 6/7 | text-based mount.nfs: Clean up helper functions that are no longer usedutils/ | +0 | 0 replies | |
| 7/7 | text-based mount.nfs: Fix mounthost= processingutils/ | +27 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] Add mount option parsing facility to text-based mount.nfs
Hi Neil-
Seven more patches for text-based mount.nfs.
I found that it is necessary to do some rather advanced lexical parsing of the mount option string in order to handle version/protocol fallback. So I've implemented a data structure that can handle the parsing requirements, and some wrapper logic to convert the mount option string to the new data structure and then convert it back to a string before calling mount(2).
This series introduces the new facility and makes use of it for existing text- based mount option processing (like adding "addr=" and so on). In subsequent patches I will make more use of the new facility.
Signature · 9 lines
corporate: <chuck dot lever at oracle dot com> ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ NFS maillist - [email protected] https://lists.sourceforge.net/lists/listinfo/nfs