linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to get the default subvolume?
@ 2011-07-08  9:58 Yi Yang
  2011-07-08  9:58 ` Hugo Mills
  0 siblings, 1 reply; 7+ messages in thread
From: Yi Yang @ 2011-07-08  9:58 UTC (permalink / raw)
  To: linux-btrfs; +Cc: yi.y.yang

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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-07-08 11:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-08  9:58 How to get the default subvolume? Yi Yang
2011-07-08  9:58 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).