* create subvolume defining id
@ 2015-02-19 11:11 Johan Kröckel
2015-02-23 1:51 ` Qu Wenruo
0 siblings, 1 reply; 2+ messages in thread
From: Johan Kröckel @ 2015-02-19 11:11 UTC (permalink / raw)
To: linux-btrfs
Is it possible to create a subvolume and define the id?
Like "btrfs subvolume create TEST id=9999"?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: create subvolume defining id
2015-02-19 11:11 create subvolume defining id Johan Kröckel
@ 2015-02-23 1:51 ` Qu Wenruo
0 siblings, 0 replies; 2+ messages in thread
From: Qu Wenruo @ 2015-02-23 1:51 UTC (permalink / raw)
To: Johan Kröckel, linux-btrfs
-------- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-23 1:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-19 11:11 create subvolume defining id Johan Kröckel
2015-02-23 1:51 ` Qu Wenruo
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).