public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: TARUISI Hiroaki <taruishi.hiroak@jp.fujitsu.com>
To: andrey.v.kuzmin@gmail.com
Cc: davidnicol@gmail.com, linux-btrfs@vger.kernel.org
Subject: Re: Way to quickly "revert back" to a snapshot?
Date: Thu, 05 Nov 2009 14:31:29 +0900	[thread overview]
Message-ID: <4AF26331.2040400@jp.fujitsu.com> (raw)
In-Reply-To: <2a31deca0911041433l1ca5f8f4vfb2e51631b53e7a6@mail.gmail.com>

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@gmail.com> wrote:
>> On Fri, Oct 30, 2009 at 12:52 AM, TARUISI Hiroaki
>> <taruishi.hiroak@jp.fujitsu.com> 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@vger.kernel.org
>> 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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


-- 
taruisi


      reply	other threads:[~2009-11-05  5:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-17 17:20 Way to quickly "revert back" to a snapshot? John Dong
2009-10-26  9:38 ` Chris Mason
2009-10-30  6:52   ` TARUISI Hiroaki
2009-10-30 15:35     ` Chris Mason
2009-11-02  1:16       ` TARUISI Hiroaki
2009-11-04 21:57     ` David Nicol
2009-11-04 22:33       ` Andrey Kuzmin
2009-11-05  5:31         ` TARUISI Hiroaki [this message]

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=4AF26331.2040400@jp.fujitsu.com \
    --to=taruishi.hiroak@jp.fujitsu.com \
    --cc=andrey.v.kuzmin@gmail.com \
    --cc=davidnicol@gmail.com \
    --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