Linux-BTRFS Archive on
 help / color / Atom feed
From: Ulli Horlacher <>
Subject: Re: find subvolume directories
Date: Sat, 13 Jul 2019 13:28:32 +0200
Message-ID: <> (raw)
In-Reply-To: <>

On Sat 2019-07-13 (14:10), Andrei Borzenkov wrote:

> >> It is entirely up to the user who creates it how subvolumes are named and
> >> structured. You can well have /foo, /bar, /baz mounted as /, /var and
> >> /home.
> > 
> > And how can I find them in my mounted filesystem?
> > THIS is my problem.
> I am not sure what problem you are trying to solve

I want a list of all subvolumes directories (which I can access with UNIX
tools like cd and ls or btrfs subvolume ...).

> but you can use list of current mounts to build path to each subvolume
> (as long as it is either below one of mounted subvolumes or explicitly
> mounted).

Is there an easy/standard way to do this?

Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK         
Universitaet Stuttgart         E-Mail:
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:

  reply index

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-12 23:17 Ulli Horlacher
2019-07-13  3:59 ` Andrei Borzenkov
2019-07-13  8:27   ` Ulli Horlacher
2019-07-13 11:10     ` Andrei Borzenkov
2019-07-13 11:28       ` Ulli Horlacher [this message]
2019-07-13 15:08         ` Andrei Borzenkov
2019-07-15 13:22         ` Piotr Szymaniak
2019-07-15 11:39       ` Ulli Horlacher
2019-07-15 11:33 ` Ulli Horlacher

Reply instructions:

You may reply publically 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-BTRFS Archive on

Archives are clonable:
	git clone --mirror linux-btrfs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-btrfs linux-btrfs/ \
	public-inbox-index linux-btrfs

Newsgroup available over NNTP:

AGPL code for this site: git clone public-inbox