Documentation
¶
Overview ¶
Package libmount contains validation logic for user-level mount options typically handled by libmount. This is in contrast with the parent mount package which deals with the low-level kernel interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateMountOptions ¶
ValidateMountOptions looks for unknown or conflicting options for libmount-style APIs.
The returned error describes all the problems in the given slice of mount options, including:
- unknown options - options that conflict with other options given earlier.
Note that only well-known options are recognized. This function should not be called with file-system specific options. Only one error is returned at a time. This limitation may be lifted later.
Types ¶
This section is empty.