Util-Linux package development
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Tom Yan <tom.ty89@gmail.com>
Cc: james harvey <jamespharvey20@gmail.com>, util-linux@vger.kernel.org
Subject: Re: Mount doesn't show subvol option for btrfs
Date: Tue, 16 Jun 2015 10:59:19 +0200	[thread overview]
Message-ID: <20150616085919.GW1992@ws.net.home> (raw)
In-Reply-To: <CAGnHSEntiMk3f1PPLj8RUJU+T0EeVP0-KqsVLwVWpPVPkzgDhQ@mail.gmail.com>

On Tue, Jun 16, 2015 at 01:42:54PM +0800, Tom Yan wrote:
> [tom@localhost ~]$ mount | grep sda2
> /dev/sda2 on / type btrfs (rw,relatime,ssd,space_cache)
> 
> [tom@localhost ~]$ cat /proc/self/mountinfo | grep sda2
> 19 0 0:17 /arch / rw,relatime shared:1 - btrfs /dev/sda2 rw,ssd,space_cache
> 
> [tom@localhost ~]$ findmnt /dev/sda2
> TARGET SOURCE           FSTYPE OPTIONS
> /      /dev/sda2[/arch] btrfs  rw,relatime,ssd,space_cache
> 
> It won't be shown as a mount option.

Ah, good point. Yes, the subvolume directory is interpreted as FS
mount root, I forgot this btrfs feature.

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

      reply	other threads:[~2015-06-16  8:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-14 20:50 Mount doesn't show subvol option for btrfs james harvey
2015-06-15 11:28 ` Karel Zak
2015-06-16  5:42   ` Tom Yan
2015-06-16  8:59     ` Karel Zak [this message]

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=20150616085919.GW1992@ws.net.home \
    --to=kzak@redhat.com \
    --cc=jamespharvey20@gmail.com \
    --cc=tom.ty89@gmail.com \
    --cc=util-linux@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