Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: "Stefan G. Weichinger" <lists@xunil.at>
To: linux-btrfs@vger.kernel.org
Subject: Re: btrfs and mount in gentoo linux
Date: Tue, 08 Jul 2014 22:50:05 +0200	[thread overview]
Message-ID: <53BC597D.3030107@xunil.at> (raw)
In-Reply-To: <A8D31CAA-14AC-407E-96BB-34E0ACF7F452@colorremedies.com>

Am 08.07.2014 22:20, schrieb Chris Murphy:
> 
> On Jul 8, 2014, at 1:07 PM, Stefan G. Weichinger <lists@xunil.at> wrote:
>>
>> Can you tell me where the problem/solution might be located?
>> Is it a known behavior in a way … ?
> 
> It's known. Ubuntu has a patch so that mount shows subvolume names. 
> This information is probably available on Gentoo with cat /proc/self/mountinfo.


Unfortunately no.

See example from my laptop:

# grep btrfs /proc/self/mountinfo
14 0 0:14 /rootfs / rw,noatime shared:1 - btrfs /dev/sda3
rw,compress=lzo,ssd,space_cache

51 14 0:14 / /mnt/uncow rw,noatime shared:19 - btrfs /dev/sda3
rw,compress=lzo,ssd,space_cache

156 14 0:35 / /home/sgw rw,noatime shared:117 - btrfs
/dev/mapper/_dev_sda4 rw,compress=lzo,ssd,space_cache


for reference: the subvols are:

# btrfs su list /
ID 256 gen 7982 top level 5 path rootfs
ID 275 gen 3972 top level 5 path __snapshots
ID 283 gen 3274 top level 275 path __snapshots/rootfs_2014_06_14
ID 288 gen 7465 top level 5 path uncow


What does the Ubuntu patch apply to? util-linux?

Thanks! Stefan


  reply	other threads:[~2014-07-08 20:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-08 19:07 btrfs and mount in gentoo linux Stefan G. Weichinger
2014-07-08 20:19 ` Holger Hoffstätte
2014-07-08 20:52   ` Stefan G. Weichinger
2014-07-09  1:57     ` Qu Wenruo
2014-07-09  9:15       ` Stefan G. Weichinger
2014-07-08 20:20 ` Chris Murphy
2014-07-08 20:50   ` Stefan G. Weichinger [this message]
2014-07-08 21:27     ` Chris Murphy

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=53BC597D.3030107@xunil.at \
    --to=lists@xunil.at \
    --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