Neal Becker posted on Mon, 01 Jun 2015 13:25:52 -0400 as excerpted:

> [nbecker@nbecker2 ~]$ sudo btrfs subvolume create /home2
> Create subvolume '//home2'
> [nbecker@nbecker2 ~]$ sudo btrfs subvolume list /
> ID 257 gen 66376 top level 5 path root
> ID 316 gen 66376 top level 257 path home2
> 
> This created home2 under root.  How do I create home2 with top level as
> top level 5, at the same level as root?
> 
> IOW:
> 
> ID 257 gen 66376 top level 5 path root
> ID 316 gen 66376 top level 5 path home2

Briefly stated, you don't.  Just like / is the top of a Unix style 
directory tree, the root subvolume is the top of a btrfs subvolume tree.  
You can't go higher than that, and that's what the top level /is/.

But what are you actually trying to do?  You _can_ change the default 
subvolume pointer so a subvolume other than root/5 is mounted by default, 
and you can nest subvolumes, so for most purposes, you can /pretend/ that 
some arbitrarily named subvolume is your top subvolume.  Alternatively, 
you can of course mount subvolumes wherever you want in the directory 
tree.

Also see the subvolumes discussion and related FAQs on the wiki if you 
haven't.

https://btrfs.wiki.kernel.org/

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to