Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: search for btrfs devices from actual mount poiont
Currently when dracut search for btrfs device used for initramfs, it assumes the mount points passed in with "--mount" are all mounted with given mount path. If user want the device to be mounted to a different location in initramfs, this will not be true. eg. with "--mount '/dev/mapper/vol /sysroot btrfs rw,relatime,subvolid=256,subvol=/root'" and having '/dev/mapper/vol' currently mounted on '/', will raise an error: ERROR: cannot access '/sysroot': No such file or directory So search for actual mount point of given device. Signed-off-by: Kairui Song <kasong@redhat.com>
- Loading branch information