Skip to content
Snippets Groups Projects

main/postmarketos-initramfs: add support for multi-device btrfs

Merged Imported Administrator requested to merge btrfs-multi-device into master
All threads resolved!

This change fixes booting with a multi-device btrfs volume as root filesystem. A multi-device btrfs volume will find all partitions or devices automatically when mounted, but this only works if btrfs device scan was run beforehand.

This adds a call to btrfs device scan before mounting if the root filesystem is btrfs.

The command will only run for btrfs root filesystems, so I consider this change fairly safe.

Fixes: #3617 (closed)

Edited by Caleb Connolly

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading