clr-boot-manager icon indicating copy to clipboard operation
clr-boot-manager copied to clipboard

fail when probing root fs with btrfs

Open dorileo opened this issue 6 years ago • 1 comments

When the root fs is a btrfs volume c-b-m will fail to probe it.

cbm_probe_path() will call cbm_devnode_to_devpath(), there we assert the major number and assume it should be greater than 0, but in the case of btrfs the major will be always 0 (due its pseudo-fs nature). We must implement an alternate case when we realize we're dealing with btrfs.

dorileo avatar Nov 15 '19 22:11 dorileo

Potentially duplicated with #61

dorileo avatar Jan 31 '20 18:01 dorileo