libmount

package
v0.0.0-...-be6b373 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

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

func ValidateMountOptions(opts ...string) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL