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 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.
>>>
>>> nice:
>>>
>>> $ sudo btrfs subvolume list /
>>> ERROR: can't perform the search: Inappropriate ioctl for device
>>>
>>> i'm not really familiar with C, or anything this low level, does this
>>> help you diagnose my problem?
>>
>> Have you tried to run it on the device with the btrfs, not the mount point?
>>
>> It looks like the ioctl was made too restrictive about its arguments.
>
> ah yes i missed mentioning that to, tried that:
>
> $ sudo btrfs sub list /dev/sda2
> ERROR: '/dev/sda2' is not a subvolume
>
> no dice :(

i tried setting up loopback with a newly formatted btrfs image +
mounting, same result: Inappropriate ioctl for device.  same error
whether i point the command at the default subvolume or a snapshot.
is there anything (missing) i should check in regards to my kernel
(module/progs mismatch)?
--
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

Reply via email to