Skip to main content

validate_mount_options

Function validate_mount_options 

Source
pub fn validate_mount_options(mounts: &[Mount]) -> Result<(), LibcontainerError>
Expand description

Validates mount destinations and warns about deprecated relative paths. Follows the OCI Runtime Spec requirement that mount destinations SHOULD be absolute. Relative paths are deprecated but still accepted for backward compatibility.