public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Goffredo Baroncelli <kreijack@gmail.com>
To: Andy Lutomirski <luto@mit.edu>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Snapshot mysteries (and an oops)
Date: Sat, 12 Dec 2009 20:17:10 +0100	[thread overview]
Message-ID: <200912122017.10255.kreijack@alice.it> (raw)
In-Reply-To: <4B23E2E1.4020103@mit.edu>

On Saturday 12 December 2009, Andy Lutomirski wrote:
> Goffredo Baroncelli wrote:
[...]
> > 
> > Yes the docs may be improved. The syntax is:
> > 
> > btrfsctl -D <snapshotname> <directory>
> > 	<snapshotname>		snapshot name
> > 	<directory>		where the snapshot is
> > 
> 
> What's the point of the last parameter?  Can't either btrfsctl or the 
> filesystem figure that out on its own?

Pay attention that you can have different sub-volumes with the same name in 
different directories. 
It would be better if the directory is extracted from the name..

> (Can a subvolume be "mounted" in two places at once?  If so, maybe the 
> second parameter makes a tiny bit of sense.)

Yes, a subvolume may be mounted in two places (mount -t btrfs -o 
subvol=<subvolumename> ...); but that doesn't matter: if you remove a 
subvolume.. you remove iteverywhere.

> 
> --Andy
 

Goffredo
-- 
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijackATinwind.it>
Key fingerprint = 4769 7E51 5293 D36C 814E  C054 BF04 F161 3DC5 0512

      reply	other threads:[~2009-12-12 19:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-11 19:16 Snapshot mysteries (and an oops) Andrew Lutomirski
2009-12-11 19:40 ` Goffredo Baroncelli
2009-12-12 18:37   ` Andy Lutomirski
2009-12-12 19:17     ` Goffredo Baroncelli [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=200912122017.10255.kreijack@alice.it \
    --to=kreijack@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=luto@mit.edu \
    /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