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

Use rename of directories instead of symbolic links in boot partition. #1967

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 15, 2021

  1. Use rename of directories instead of symbolic links in boot partition.

    This uses `renameat2` to do atomic swap of the loader directory in the
    boot partition. It fallsback to non-atomic rename. This stays atomic
    on filesystems supporting links but also provide a non-atomic behavior
    when filesystem does not provide any atomic alternative.
    
    This is working with SystemD boot on EFI using boot loader
    specifications.
    
    There is still the issue of losing `/loader/loader.conf` with SystemD
    boot.
    valentindavid committed Nov 15, 2021
    Configuration menu
    Copy the full SHA
    5825205 View commit details
    Browse the repository at this point in the history