Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464054 - sys-fs/btrfs-progs - subvol get-default does not work
Summary: sys-fs/btrfs-progs - subvol get-default does not work
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL: http://git.kernel.org/cgit/linux/kern...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-04-01 08:39 UTC by Ulf Dambacher
Modified: 2014-01-12 09:39 UTC (History)
2 users (show)

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


Attachments
working patch adapted from upstrem patch (removed fizz) (btrfs-progs-0.19.11_set-stubvolume.patch,3.37 KB, patch)
2013-04-01 08:42 UTC, Ulf Dambacher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulf Dambacher 2013-04-01 08:39:00 UTC
in btrfs-0.19.11 issuing the command "btrfs subvol get-default" does the same as "btrfs subvol list"
an upstream patch exists, see additional infos
in btrfs-0.20-rc1 the issue is solved but this ebuild is masked


Reproducible: Always

Steps to Reproduce:
1. execute "btrfs subvol list /"
2. execute "btrfs subvol get-default /"

Actual Results:  
# btrfs subvol list /
ID 256 top level 5 path home
ID 257 top level 5 path root-old
ID 261 top level 5 path home-20130329
ID 262 top level 5 path root-20130329
ID 263 top level 5 path root

# btrfs-subvol get-defailt /
ID 256 top level 5 path home
ID 257 top level 5 path root-old
ID 261 top level 5 path home-20130329
ID 262 top level 5 path root-20130329
ID 263 top level 5 path root



Expected Results:  
# btrfs subvol list /
ID 256 top level 5 path home
ID 257 top level 5 path root-old
ID 261 top level 5 path home-20130329
ID 262 top level 5 path root-20130329
ID 263 top level 5 path root

# btrfs subvol get-default /
ID 263 top level 5 path root


upstream patch:
http://git.kernel.org/cgit/linux/kernel/git/mason/btrfs-progs.git/commit/?id=a0bdde58f840b47c6a4a7f2c8766706a44562cae
Comment 1 Ulf Dambacher 2013-04-01 08:42:14 UTC
Created attachment 343904 [details, diff]
working patch adapted from upstrem patch (removed fizz)

this is a patch made after the upstrem patch wich has one reject i manually fixed.
it works for me.
Comment 2 Leho Kraav (:macmaN @lkraav) 2013-07-26 00:08:15 UTC
btrfs-progs-0.20_rc1_p56 is long time ago keyworded, should this be closed?
Comment 3 Ulf Dambacher 2014-01-12 09:39:43 UTC
as of 20130112 it works for new grub and btrfs-progs.
I will close this bug.