From: Yi Yang <yi.y.yang@intel.com>
To: linux-btrfs@vger.kernel.org
Cc: yi.y.yang@intel.com
Subject: How to get the default subvolume?
Date: Fri, 8 Jul 2011 17:58:02 +0800 [thread overview]
Message-ID: <20110708095802.GA11513@yangyi-dev.bj.intel.com> (raw)
Hi,
I know I can set the default subvolume for a btrfs fs using
sudo btrfs subvolume set-default 256 /btrfs/mnt
But after that, how can get the default subvolume name? In my opinion,
btrfs-progs should provide "btrfs subvolume get-default /btrfs/mnm" to get
the default subvolume id and name, I think it is very easy to do this in
btrfs-progs and btrfs kernel space.
next reply other threads:[~2011-07-08 9:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-08 9:58 Yi Yang [this message]
2011-07-08 9:58 ` How to get the default subvolume? Hugo Mills
2011-07-08 10:01 ` Andreas Philipp
2011-07-08 10:06 ` Yang, Yi Y
2011-07-08 10:13 ` Hugo Mills
2011-07-08 10:28 ` Yang, Yi Y
2011-07-08 11:01 ` Hugo Mills
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=20110708095802.GA11513@yangyi-dev.bj.intel.com \
--to=yi.y.yang@intel.com \
--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.