From: Hullen@t-online.de (Helmut Hullen)
To: linux-btrfs@vger.kernel.org
Subject: Re: Subvolumes and /proc/self/mountinfo
Date: 20 Jun 2012 02:39:00 +0200 [thread overview]
Message-ID: <CBFTB8kPCXB@helmut.hullen.de> (raw)
In-Reply-To: <20120619234919.GA4102@shiny>
Hallo, Chris,
Du meintest am 19.06.12:
>> I'm trying to figure out an algorithm from taking an arbitrary
>> mounted btrfs directory and break it down into:
>>
>> <device(s), subvolume, subpath>
>>
>> where, keep in mind, <subpath> may not actually be part of the
>> mount.
> Do you want an API for this, or is it enough to wander through
> /dev/disk style symlinks?
> The big reason it isn't here yet is because Kay had this neat patch
> to blkid and udev to just put all the info you need into /dev/btrfs
> (or some other suitable location). It would allow you to see which
> devices belong to which filesystems etc.
"btrfs" should work even without any "udev" installation.
Viele Gruesse!
Helmut
next prev parent reply other threads:[~2012-06-20 1:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-19 0:39 Subvolumes and /proc/self/mountinfo H. Peter Anvin
2012-06-19 14:22 ` Calvin Walton
2012-06-19 23:35 ` H. Peter Anvin
2012-06-20 1:27 ` Fajar A. Nugraha
2012-06-20 8:21 ` Hugo Mills
2012-06-19 23:49 ` Chris Mason
2012-06-20 0:03 ` H. Peter Anvin
2012-06-20 13:34 ` Chris Mason
2012-06-20 15:59 ` H. Peter Anvin
2012-06-20 0:39 ` Helmut Hullen [this message]
2012-06-20 1:16 ` cwillu
2012-06-20 3:22 ` H. Peter Anvin
2012-06-20 6:31 ` Fajar A. Nugraha
2012-06-20 23:43 ` H. Peter Anvin
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=CBFTB8kPCXB@helmut.hullen.de \
--to=hullen@t-online.de \
--cc=helmut@hullen.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).