Re: list subvolumes with new btrfs command

2010-04-26 Thread C Anthony Risinger
I am using ubuntu-10.04-rc with kernel compiled from the almost lastest source , the btrfs-progs is latest too. You can modify line  fprintf(stderr, ERROR: can't perform the search\n); to  fprintf(stderr, ERROR: can't perform the search: %s\n, strerror(errno)); to see what happened on

Re: list subvolumes with new btrfs command

2010-04-26 Thread Hubert Kario
On Monday 26 April 2010 19:23:21 C Anthony Risinger wrote: I am using ubuntu-10.04-rc with kernel compiled from the almost lastest source , the btrfs-progs is latest too. You can modify line fprintf(stderr, ERROR: can't perform the search\n); to fprintf(stderr, ERROR: can't

Re: list subvolumes with new btrfs command

2010-04-26 Thread C Anthony Risinger
On Mon, Apr 26, 2010 at 12:58 PM, Hubert Kario h...@qbs.com.pl wrote: On Monday 26 April 2010 19:23:21 C Anthony Risinger wrote: I am using ubuntu-10.04-rc with kernel compiled from the almost lastest source , the btrfs-progs is latest too. You can modify line  fprintf(stderr, ERROR:

Re: list subvolumes with new btrfs command

2010-04-26 Thread C Anthony Risinger
On Mon, Apr 26, 2010 at 2:10 PM, C Anthony Risinger anth...@extof.me wrote: On Mon, Apr 26, 2010 at 12:58 PM, Hubert Kario h...@qbs.com.pl wrote: On Monday 26 April 2010 19:23:21 C Anthony Risinger wrote: I am using ubuntu-10.04-rc with kernel compiled from the almost lastest source , the

Re: list subvolumes with new btrfs command

2010-04-26 Thread C Anthony Risinger
On Mon, Apr 26, 2010 at 3:51 PM, C Anthony Risinger anth...@extof.me wrote: On Mon, Apr 26, 2010 at 2:10 PM, C Anthony Risinger anth...@extof.me wrote: On Mon, Apr 26, 2010 at 12:58 PM, Hubert Kario h...@qbs.com.pl wrote: On Monday 26 April 2010 19:23:21 C Anthony Risinger wrote: I am using

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