From: "Goffredo Baroncelli" <kreijack@libero.it>
To: "chris\.mason" <chris.mason@oracle.com>
Cc: "kreijack" <kreijack@gmail.com>,
"linux-btrfs" <linux-btrfs@vger.kernel.org>
Subject: Re: [RFC] proposal for a btrfs filesystem layout
Date: Tue, 24 Nov 2009 19:27:44 +0100 [thread overview]
Message-ID: <KTMLY8$0856FD6739603291C7EB756874D48C83@libero.it> (raw)
Chris Mason wrote:
> On Sat, Nov 21, 2009 at 12:31:06AM +0100, Goffredo Baroncelli wrote:
[...]
> > My concern is about the btrfs user interface.
> > The biggest difficult that I had to learn the btrfs capabilities is its "user-
> > interface". I have to admit to be not the smartest person, but I spent a lot
> > of time in order to understand which was the difference between a btrfs
> > subvolume creation and a "mkfs + mount".
> > Finally I concluded that there no is difference (except the COW behaviour and
> > other implementation detail). My impression was that in some area too often
> > the VFS and btrfs do the same things. [*]
> > The point is that if btrfs do the same things of VFS, this may be called as
> > "flexibility".
> > But the history has highlight that from a long term point of view is the
> > orthogonality of the subsystems that leads to the flexibility of the system..
>
> Well, btrfs is using the VFS to expose the subvolumes. Basically a
> subvolume is a special directory.
Let me explain better: what I would say was to expose the sub-volume content *only* with a command like "mount -o subvol=<name>".
To day when I create a snapshot, automatically it is placed in the btrfs filesystem with the snapshot name. IIRC when I move (rename) the directory I change the subvolume/snapshot name also.
Yes, I can remount the sub-volume with the mount command anywhere and with an arbitrary name. In fact the thing that seems strange to me is that when I create a snapshot, immediately it is mounted: it is not a real problem, it is only a strange behaviour. The "standard" behaviour is to create the file-system and then mount it: two separate actions.
> -chris
Goffredo
next reply other threads:[~2009-11-24 18:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-24 18:27 Goffredo Baroncelli [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-11-20 18:50 [RFC] proposal for a btrfs filesystem layout Goffredo Baroncelli
2009-11-20 19:24 ` David Nicol
2009-11-20 19:50 ` Chris Mason
2009-11-20 20:05 ` David Nicol
2009-11-24 1:26 ` Chris Mason
2009-11-20 19:54 ` Chris Mason
2009-11-20 23:31 ` Goffredo Baroncelli
2009-11-24 1:27 ` Chris Mason
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='KTMLY8$0856FD6739603291C7EB756874D48C83@libero.it' \
--to=kreijack@libero.it \
--cc=chris.mason@oracle.com \
--cc=kreijack@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