From: Hugo Mills <hugo@carfax.org.uk>
To: Qu Wenruo <quwenruo.btrfs@gmx.com>
Cc: linux-btrfs@vger.kernel.org, framstag@rus.uni-stuttgart.de
Subject: Re: generic name for volume and subvolume root?
Date: Sat, 9 Sep 2017 11:06:32 +0000 [thread overview]
Message-ID: <20170909110632.GG23980@carfax.org.uk> (raw)
In-Reply-To: <9911ae20-6181-5ce2-0374-e601a1034c4a@gmx.com>
[-- Attachment #1: Type: text/plain, Size: 1854 bytes --]
On Sat, Sep 09, 2017 at 06:58:38PM +0800, Qu Wenruo wrote:
>
>
> On 2017年09月09日 18:48, Ulli Horlacher wrote:
> >On Sat 2017-09-09 (18:40), Qu Wenruo wrote:
> >
> >>>Is there a generic name for both volume and subvolume root?
> >>
> >>Nope, subvolume (including snapshot) is not distinguished by its
> >>filename/path/directory name.
> >>
> >>And you can only do snapshot on subvolume (snapshot is one kind of
> >>subvolume) boundary.
> >
> >So, I can name a btrfs root volume also btrfs subvolume?
>
> Yes, root volume is also a subvolume, so just call "btrfs root volume"
> a "subvolume".
I find it's best to avoid the word "root" entirely, as it's got
several meanings, and it tends to get confusing in conversation.
Instead, we have:
- "the top level" (subvolid=5)
- "/" (what you see at / in your running system)
- "<top-level>/@" or similar names
(the subvolume that's mounted at /)
> >I am talking about documentation, not coding!
> >
> >I just want yo use the correct terms.
>
> If you're referring to the term, I think subvolume is good enough.
> Which represents your original term, "directories one can snapshot".
>
>
> For the whole btrfs "volume", I would just call it "filesystem" to
> avoid the name "volume" or "subvolume" at all.
Yes, it's a filesystem. (Although that does occasionally cause
confusion between "the conceptual filesystem implemented by btrfs.ko"
and "the concrete filesystem stored on /dev/sda1", but it's generally
far less confusing than the overloading of "root").
Hugo.
--
Hugo Mills | Well, you don't get to be a kernel hacker simply by
hugo@... carfax.org.uk | looking good in Speedos.
http://carfax.org.uk/ |
PGP: E2AB1DE4 | Rusty Russell
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2017-09-09 11:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-09 8:35 generic name for volume and subvolume root? Ulli Horlacher
2017-09-09 10:40 ` Qu Wenruo
2017-09-09 10:48 ` Ulli Horlacher
2017-09-09 10:58 ` Qu Wenruo
2017-09-09 11:06 ` Hugo Mills [this message]
2017-09-09 11:13 ` Hans van Kranenburg
2017-09-09 11:00 ` Hugo Mills
2017-09-10 14:21 ` Peter Grandi
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=20170909110632.GG23980@carfax.org.uk \
--to=hugo@carfax.org.uk \
--cc=framstag@rus.uni-stuttgart.de \
--cc=linux-btrfs@vger.kernel.org \
--cc=quwenruo.btrfs@gmx.com \
/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