On Thursday 10 October 2013, Jeff Mahoney wrote:
On 10/10/13 10:32 AM, Jeff Mahoney wrote:
On 10/10/13 9:45 AM, Ruediger Meier wrote:
On Thursday 10 October 2013, Cristian Rodríguez wrote:
El 10/10/13 06:14, Ruediger Meier escribió:
Hi,
I'm using recent factory snapshot and wonder why btrf is always loaded by initrd allthough I don't use it and it's not set in /etc/sysconfig?
cu, Rudi
because mkinitrd is dumb and does not know, if that is a concern, use dracut -H ...
Until the update to 13.1 mkinitrd never installed btrfs so my questions is why this is done now by default.
Contrary to some other opinions, it's just a bug in the mkinitrd hooks for btrfsprogs. It'll happen on any system where btrfsprogs is installed, whether btrfs is used or not.
setup-btrfs.sh doesn't test whether it's actually required for anything and boot-btrfs.sh doesn't have anything to key off to determine whether it's needed.
I'll poke at it. It should be pretty easy to fix.
Ok, all that should be needed is adding the following to the end of the comments section in /lib/mkinitrd/scripts/boot-btrfs.sh. All of my 13.1 installs use a btrfs root and I've confirmed it works as expected there. Can someone with a different rootfs test and confirm it doesn't include the btrfs module?
---->8---- #%if: "$rootfstype" = "btrfs" ----8<----
All that's needed is to run mkinitrd afterwards and confirm that the btrfs module isn't included. Once I get confirmation, I'll submit a new btrfsprogs package with that fix.
This works. btrfs is not included anymore. Later this evening I will test rebooting. Could also be that "btrfs dev scan" was responsible for hanging the long time at boot. cu, Rudi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org