Skip to content

Improve mount support for FreeBSD #1359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 7, 2025
Merged

Conversation

DtxdF
Copy link
Contributor

@DtxdF DtxdF commented May 22, 2025

No description provided.

DtxdF added 3 commits May 21, 2025 19:25
On FreeBSD, the `mount(8)` command does not display the options in
the same way as on Linux, but this can be easily achieved by using
the `--libxo` option and `-p` to get fstab-based output in JSON format.
The `mount` operation uses the `remount` option which is available
in linux distros, however in FreeBSD this option does not exist.
The equivalent is `update` which makes runtime changes to a mounted
file system. Not all file systems can change their options and not
all options can be changed, although this depends entirely on the
file system.
Copy link
Member

@Fizzadar Fizzadar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks for fixing this @DtxdF!

@Fizzadar
Copy link
Member

Fizzadar commented Jun 7, 2025

Ty for fixing the conflict as well 🙏 let's merge!

@Fizzadar Fizzadar merged commit 4d48cf6 into pyinfra-dev:3.x Jun 7, 2025
76 of 92 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants