linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Qu Wenruo <quwenruo@cn.fujitsu.com>
To: "Johan Kröckel" <johan.kroeckel@gmail.com>, linux-btrfs@vger.kernel.org
Subject: Re: create subvolume defining id
Date: Mon, 23 Feb 2015 09:51:20 +0800	[thread overview]
Message-ID: <54EA8798.4090302@cn.fujitsu.com> (raw)
In-Reply-To: <CABgvyo8MFfV+CGeeHcwBfnVkSKQ5jbkL9RFr3S=oRR_np0GbDA@mail.gmail.com>


-------- Original Message --------
Subject: create subvolume defining id
From: Johan Kröckel <johan.kroeckel@gmail.com>
To: <linux-btrfs@vger.kernel.org>
Date: 2015年02月19日 19:11
> Is it possible to create a subvolume and define the id?
What do you mean by the word "id"?

Did you mean subvolid or something else?

If you mean subvolid, IIRC struct btrfs_ioctl_vol_args_v2 doesn't have 
the member to record the subvolid,
which means without some changes in btrfs-progs and kernel, it won't be 
possible.

BTW, why you need to use subvolid, it's not so human-friendly than the 
path name.

Thanks,
Qu
>   
>
> Like "btrfs subvolume create TEST id=9999"?
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


      reply	other threads:[~2015-02-23  1:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-19 11:11 create subvolume defining id Johan Kröckel
2015-02-23  1:51 ` Qu Wenruo [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=54EA8798.4090302@cn.fujitsu.com \
    --to=quwenruo@cn.fujitsu.com \
    --cc=johan.kroeckel@gmail.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 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).