zfspool: new format 'subvol' to handle filesystems inside datasets

We use this for containers.
This commit is contained in:
Dietmar Maurer
2015-05-01 14:42:49 +02:00
parent 4cb6e060c3
commit 1ccae4490e
2 changed files with 77 additions and 45 deletions

View File

@ -2,6 +2,7 @@ package PVE::API2::Storage::Content;
use strict;
use warnings;
use Data::Dumper;
use PVE::SafeSyslog;
use PVE::Cluster qw(cfs_read_file);
@ -123,7 +124,7 @@ __PACKAGE__->register_method ({
},
'format' => {
type => 'string',
enum => ['raw', 'qcow2'],
enum => ['raw', 'qcow2', 'subvol'],
requires => 'size',
optional => 1,
},