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 wrote: > On Mon, Apr 26, 2010 at 2:10 PM, C Anthony Risinger wrote: >> On Mon, Apr 26, 2010 at 12:58 PM, Hubert Kario wrote: >>> On Monday 26 April 2010 19:23:21 C Anthony Risinger wrote: > I am using ubuntu-10.04-rc with kernel compiled f

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 wrote: > On Mon, Apr 26, 2010 at 12:58 PM, Hubert Kario 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 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 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, "ERR

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, "

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 h

Re: list subvolumes with new btrfs command

2010-04-25 Thread sniper
2010/4/26 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

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

Re: list subvolumes with new btrfs command

2010-04-25 Thread sniper
2010/4/26 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

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 f