From: Ulli Horlacher <framstag@rus.uni-stuttgart.de>
To: linux-btrfs@vger.kernel.org
Subject: Re: find subvolume directories
Date: Tue, 16 Jul 2019 00:40:51 +0200 [thread overview]
Message-ID: <20190715224051.GA30754@tik.uni-stuttgart.de> (raw)
In-Reply-To: <20190715132228.GF4212@pontus.sran>
On Mon 2019-07-15 (15:22), Piotr Szymaniak wrote:
> > I want a list of all subvolumes directories (which I can access with UNIX
> > tools like cd and ls or btrfs subvolume ...).
>
> what about btrfs sub list [options]? (see man btrfs-subvolume)
>
> You can make ie.:
> root@ed:~# btrfs sub list -a / | head -10
> ID 259 gen 142795 top level 5 path <FS_TREE>/@rut
> ID 267 gen 1599 top level 259 path @rut/BUP/190417-1748_Image_SYSVOL
There is no directory "<FS_TREE>/@rut" or
"@rut/BUP/190417-1748_Image_SYSVOL" which I cann access directly with
standard UNIX commands.
> But, I'm a bit like Andrei, and not sure what are you looking for. You
> already asked about "mounted" and then about "list of all subvols"...
> So you want to find mounted subvolumes or all subvolumes or all mounted
> subvolumes or ...?
I need a list of all subvolumes DIRECTORIES, to be accessible with
standard UNIX commands like cd and ls or btrfs subvolume show
--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlacher@tik.uni-stuttgart.de
Allmandring 30a Tel: ++49-711-68565868
70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/
REF:<20190715132228.GF4212@pontus.sran>
next prev parent reply other threads:[~2019-07-15 22:40 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-12 23:17 find subvolume directories 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
2019-07-13 15:08 ` Andrei Borzenkov
2019-07-15 13:22 ` Piotr Szymaniak
2019-07-15 22:40 ` Ulli Horlacher [this message]
2019-07-15 23:58 ` [RFC] a standard user-friendly way to find a snapshot in nested subvolumes [was: find subvolume directories] Nicholas D Steeves
2019-07-16 0:41 ` Ulli Horlacher
2019-07-15 11:39 ` find subvolume directories Ulli Horlacher
2019-07-15 11:33 ` Ulli Horlacher
2019-07-16 11:04 ` Ulli Horlacher
2019-07-18 12:00 ` Axel Burri
2019-07-18 17:48 ` Andrei Borzenkov
2019-07-22 12:36 ` Axel Burri
2019-07-20 9:27 ` Ulli Horlacher
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=20190715224051.GA30754@tik.uni-stuttgart.de \
--to=framstag@rus.uni-stuttgart.de \
--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;
as well as URLs for NNTP newsgroup(s).