[PATCH v2] btrfs-progs: allow use of subvolume id to create snapshots

2014-03-25 Thread Jeff Mahoney
This patch uses the new BTRFS_SUBVOL_CREATE_SUBVOLID flag to create snapshots by subvolume ID. usage: btrfs subvolume snapshot [-r] [-q qgroupid] -s subvolid dest/name Since we don't have a name for the source snapshot, the complete path to the destination must be specified. A previous version

Re: [PATCH v2] btrfs-progs: allow use of subvolume id to create snapshots

2014-03-25 Thread Hugo Mills
On Tue, Mar 25, 2014 at 09:37:13AM -0400, Jeff Mahoney wrote: This patch uses the new BTRFS_SUBVOL_CREATE_SUBVOLID flag to create snapshots by subvolume ID. usage: btrfs subvolume snapshot [-r] [-q qgroupid] -s subvolid dest/name Since we don't have a name for the source snapshot, the

Re: [PATCH v2] btrfs-progs: allow use of subvolume id to create snapshots

2014-03-25 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/25/14, 9:48 AM, Hugo Mills wrote: On Tue, Mar 25, 2014 at 09:37:13AM -0400, Jeff Mahoney wrote: This patch uses the new BTRFS_SUBVOL_CREATE_SUBVOLID flag to create snapshots by subvolume ID. usage: btrfs subvolume snapshot [-r] [-q