linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: sniper <s3c24xx@gmail.com>
To: C Anthony Risinger <anthony@extof.me>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: list subvolumes with new btrfs command
Date: Mon, 26 Apr 2010 11:22:46 +0800	[thread overview]
Message-ID: <l2n9bd6b5361004252022wceaf4c6bj3d62a48f389331d2@mail.gmail.com> (raw)
In-Reply-To: <z2tbe6460751004251947ve533479ax174cc4f8bff50c01@mail.gmail.com>

2010/4/26 C Anthony Risinger <anthony@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. =C2=A0i am also u=
sing
> kernel 2.6.33 (ubuntu is .32 i think) that's why i thought maybe ther=
e
> 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(errn=
o));

to see what happened on earth.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-04-26  3:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-25 18:27 list subvolumes with new btrfs command C Anthony Risinger
2010-04-26  2:09 ` sniper
2010-04-26  2:47   ` C Anthony Risinger
2010-04-26  3:22     ` sniper [this message]
2010-04-26 17:23       ` C Anthony Risinger
2010-04-26 17:58         ` Hubert Kario
2010-04-26 19:10           ` C Anthony Risinger
2010-04-26 20:51             ` C Anthony Risinger
2010-04-26 22:14               ` C Anthony Risinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=l2n9bd6b5361004252022wceaf4c6bj3d62a48f389331d2@mail.gmail.com \
    --to=s3c24xx@gmail.com \
    --cc=anthony@extof.me \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).