FS#23109 - mkinitcpio error "Root file system type detection failed" with root fs on btrfs subvolume

Attached to Project: Arch Linux
Opened by hqet4 (hqet4) - Wednesday, 02 March 2011, 23:05 GMT
Last edited by Andrea Scarpino (BaSh) - Thursday, 03 March 2011, 08:24 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Mkinitcpio fails to detect the type of my root file systems using the autodetect hook:
:: Parsing hook [autodetect]
ERROR: Root file system type detection failed.
My root filesystem is on a btrfs subvolume.
The problematic code is located here:
http://projects.archlinux.org/mkinitcpio.git/tree/install/autodetect#n17

It doesn't work because findmnt returns the name of the btrfs subvolume in brackets:
# findmnt -n -u -o source /
/dev/dm-0[/root]


Additional info:
* package version: 0.6.8-2-any
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Thursday, 03 March 2011, 08:24 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#23100 

Loading...