Util-Linux package development
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: james harvey <jamespharvey20@gmail.com>
Cc: util-linux@vger.kernel.org
Subject: Re: Mount doesn't show subvol option for btrfs
Date: Mon, 15 Jun 2015 13:28:27 +0200	[thread overview]
Message-ID: <20150615112827.GS1992@ws.net.home> (raw)
In-Reply-To: <CA+X5Wn71btX_teX7AF-RJjo_2te5_VEZABAQSa6uWuYCtna1+g@mail.gmail.com>

On Sun, Jun 14, 2015 at 04:50:09PM -0400, james harvey wrote:
> Not sure if this could be a linux-unionfs (btrfs) bug instead...
> 
> On arch, /etc/fstab includes:
> 
> /dev/sda1   /.snapshots   btrfs
> rw,noatime,compress=lzo,ssd,discard,space_cache,subvol=.snapshots   0
>  0
> 
> But mount includes:
> 
> /dev/sda1 on /.snapshots type btrfs
> (rw,noatime,compress=lzo,ssd,discard,space_cache)
> 
> The subvol option isn't reported in mount.


 mount(8) uses /proc/self/mountinfo as source, do you see the subvol=
 mount option there?

 (well, I guess you have system without mtab and recent util-linux.)

    Karel

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

  reply	other threads:[~2015-06-15 11:28 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 [this message]
2015-06-16  5:42   ` Tom Yan
2015-06-16  8:59     ` Karel Zak

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=20150615112827.GS1992@ws.net.home \
    --to=kzak@redhat.com \
    --cc=jamespharvey20@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