Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303529 - PATCH: genkernel should detect BTRFS volumes
Summary: PATCH: genkernel should detect BTRFS volumes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 351772
  Show dependency tree
 
Reported: 2010-02-05 03:55 UTC by devsk
Modified: 2011-01-16 17:24 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Add BTRFS volume detection support. (genkernel-btrfs-support.patch,303 bytes, patch)
2010-02-05 03:57 UTC, devsk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.

http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commitdiff;h=b6b3dab7cda3a3ba5715124e37ecf06df84cc059