Skip to content

[Request]: Document --volume's three-part form ("host:guest:opts") and clarify support of other mount options, e.g. nosuid. #1940

Description

@VoidingWarranties

Feature or enhancement request details

The parser for the --volume flag accepts an undocumented form: hostpath:guestpath:options. Is this form part of the stable and supported CLI?

As far as I can tell these options are passed all the way through to the Containerization package's Sources/ContainerizationOS/Mount/Mount.swift, where they're mapped onto the kernel's MS_* flags. However, for virtiofs bind mounts the options are only applied if ro / MS_RDONLY is specified. If this form is part of the stable/supported CLI, is it a bug or intended behavior that other mount options, such as nosuid, are silently dropped without the ro option for virtiofs bind mounts?

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions