Skip to content
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

Toolkit: Add missing flock calls. #10804

Open
wants to merge 1 commit into
base: 3.0-dev
Choose a base branch
from

Commits on Oct 21, 2024

  1. Toolkit: Add missing flock calls.

    When making changes to partitions or filesystems, it is recommended to
    take a file lock over the disk block device as this informs the host OS
    that you are making changes and that it should avoid scanning or
    changing the device until you are done. While most of the relevant
    operations are covered, there a few places that are missing the lock.
    For example, when calling `mkfs` or `resize2fs`.
    cwize1 committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    17c3dc9 View commit details
    Browse the repository at this point in the history