list subvolumes with new btrfs command

2010-04-25 Thread C Anthony Risinger
hello, i maintain an unofficial initrd hook in Arch Linux that allows BTRFS to be used as the root device. i am trying to update the hook to use the more extensive btrfs command, adding support for users to change their default subvolume from within the initrd (i'm creating a sort of rollback

Re: list subvolumes with new btrfs command

2010-04-25 Thread sniper
2010/4/26 C Anthony Risinger anth...@extof.me: hello, i maintain an unofficial initrd hook in Arch Linux that allows BTRFS to be used as the root device.  i am trying to update the hook to use the more extensive btrfs command, adding support for users to change their default subvolume from

Re: list subvolumes with new btrfs command

2010-04-25 Thread C Anthony Risinger
need super root? in my ubuntu10.04 with latest btrfs-progs: $ ./btrfs subvolume list /media/sda3-100g/ ERROR: can't perform the search $ sudo ./btrfs subvolume list /media/sda3-100g/ ID 258 top level 5 path misc/snap/snap-4-26 ah sorry, i forgot to mention that it doesn't work as super user