2010/4/26 C Anthony Risinger <anth...@extof.me>: >> 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 > either, same result: > > $ sudo btrfs subvolume list / > ERROR: can't perform the search > > the btrfs-progs in ubuntu is probably slightly behind git HEAD (what > i'm using in Arch package), maybe it broke recently, i might try to > bisect and see it i can pinpoint to problem commit. i am also using > kernel 2.6.33 (ubuntu is .32 i think) that's why i thought maybe there > was an issue there; it seems like the ioctl() call is failing no > matter what in my case. > 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 earth. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html