Thank you for your ideas.
It will be nice we can get snapshot/subvolume information with
usual file/directory interface as you suggested, or like sysfs.
But, now I'm writing using ioctl interface, which may be good
enough for now.
Andrey Kuzmin wrote:
> /mountroot/.{snapshots,subvolumes} seems logical, works fine with
> usual command-line/programmatic interfaces.
>
> Regards,
> Andrey
>
>
>
> On Thu, Nov 5, 2009 at 12:57 AM, David Nicol <davidnicol@xxxxxxxxx> wrote:
>> On Fri, Oct 30, 2009 at 12:52 AM, TARUISI Hiroaki
>> <taruishi.hiroak@xxxxxxxxxxxxxx> wrote:
>>> I'm trying to make this snapshots/subvolumes listing feature,
>>> I wonder how the interface should be.
>>>
>>> Is there any other idea?
>> It's layers above where you're working, but how about providing a
>> virtual directory off the mounting root, like the lost+found
>> directories in other FSes, that would appear to contain them?
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
taruisi
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html