FS#23100 - [mkinitcpio] autodetection of root filesystem type (btrfs) fails if root is on subvolume
Attached to Project:
Arch Linux
Opened by Thilo Berndt (schlehmil) - Wednesday, 02 March 2011, 12:58 GMT
Last edited by Thomas Bächler (brain0) - Thursday, 07 April 2011, 08:20 GMT
Opened by Thilo Berndt (schlehmil) - Wednesday, 02 March 2011, 12:58 GMT
Last edited by Thomas Bächler (brain0) - Thursday, 07 April 2011, 08:20 GMT
|
Details
Description:
Recently util-linux has been updated to version 2.19 and the output for btrfs filesystem with subvolumes in findmnt has been changed to also include the subvolume name in the output. Example: schlehmil@shiva:~$ findmnt -n -u -o source / /dev/sda5[/root] # root is the name of my subvolume This breaks the autodetect install hook in /lib/initcpio/install/autodetect because "/dev/sda5[/root]" cannot be processed by /sbin/blkid at line 18. My current solution is to remove this line entirely and to findmnt directly to acquire the filesystem type. Actually I even do not know why this ha not been done in first place? I see no reason to use blkid? I attached a patch for mkinitcpio recent version 0.6.8-2. Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: |
This task depends upon
Closed by Thomas Bächler (brain0)
Thursday, 07 April 2011, 08:20 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.6.9.
Re-closed after re-opening, as the new issue was unrelated.
Thursday, 07 April 2011, 08:20 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.6.9.
Re-closed after re-opening, as the new issue was unrelated.
My question thus is: is it the same bug or should I open a separate bug report?
:: Parsing hook [autodetect]
ERROR: Root file system type detection failed.
Prior to around March, 2011, this was not happening. I use the Ext4 filesystem.