Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 303529

Summary: PATCH: genkernel should detect BTRFS volumes
Product: Gentoo Linux Reporter: devsk <funtoos>
Component: New packagesAssignee: Gentoo Genkernel Maintainers <genkernel>
Severity: normal CC: lxnay, sping, ziga.boehm
Priority: High Keywords: InVCS
Version: 2008.0   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 351772    
Attachments: Add BTRFS volume detection support.

Description devsk 2010-02-05 03:55:36 UTC
Currently, the only sane way to detect BTRFS RAID0 volumes is to put it in the initrd. The patch just does that.
Comment 1 devsk 2010-02-05 03:57:04 UTC
Created attachment 218477 [details, diff]
Add BTRFS volume detection support.
Comment 2 devsk 2010-08-01 16:57:34 UTC
Is there any future plan for genkernel at all? Things have been stagnant for a while.
Comment 3 Fabio Erculiani (RETIRED) gentoo-dev 2010-08-10 06:29:02 UTC
And where is it supposed to find /sbin/btrfsctl inside the initrd? How do you add it there?
Comment 4 devsk 2010-08-10 08:34:59 UTC
(In reply to comment #3)
> And where is it supposed to find /sbin/btrfsctl inside the initrd? How do you
> add it there?

All the support for adding binaries in /sbin in already present in genkernel. Its left as an exercise for the user to figure out how
to build btrfsctl and how to provide it to genkernel to get it inside of initramfs.

The patch only does what genkernel needs to do minimally to detect BTRFS volumes.
Comment 5 Sebastian Pipping gentoo-dev 2011-01-05 23:03:12 UTC
PS: Adding keyword "Inclusion" to better show this bug's nature in searches...
Comment 6 Sebastian Pipping gentoo-dev 2011-01-15 17:10:45 UTC
Fixed, please give genkernel-99999 (five nines) a spin.;a=commitdiff;h=b6b3dab7cda3a3ba5715124e37ecf06df84cc059