All of lore.kernel.org
 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:52:42 +0200	[thread overview]
Message-ID: <53BC5A1A.7020403@xunil.at> (raw)
In-Reply-To: <pan.2014.07.08.20.19.04@googlemail.com>

Am 08.07.2014 22:19, schrieb Holger Hoffstätte:
> 
> On Tue, 08 Jul 2014 21:07:30 +0200, Stefan G. Weichinger wrote:
> 
>> I am a happy btrfs-user with gentoo linux for some time now and noticed
>> that the command "mount" does not show me which subvolid is mounted where.
> 
> Interestingly I just found that this came up in Fedora some time ago:
> https://bugzilla.redhat.com/show_bug.cgi?id=743118
> 
> findmnt seems to do the trick, so the underlying functionality in
> libmnt seems to work. Maybe Debian's mount does something differently?

findmnt does not fully show the subvolids or names:


# findmnt  | grep btrfs
/                                /dev/sda3[/rootfs]    btrfs
rw,noatime,compress=lzo,ssd,space_cache
├─/mnt/uncow                     /dev/sda3             btrfs
rw,noatime,compress=lzo,ssd,space_cache
└─/home/sgw                      /dev/mapper/_dev_sda4 btrfs
rw,noatime,compress=lzo,ssd,space_cache

The "[/rootfs]" is something in the right direction ...

S

  reply	other threads:[~2014-07-08 20:52 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 [this message]
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
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=53BC5A1A.7020403@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.