diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-09-11 09:54:48 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-09-11 09:54:48 +0000 |
commit | dbcbb35eef8c0d4c78a4b1463b0ea0c22e47447e (patch) | |
tree | db8cc99cd66a69955d844f25183ff0979db81630 | |
parent | 197206cf5ac059f20b359592a0d983b85a020a56 (diff) | |
download | draklive-dbcbb35eef8c0d4c78a4b1463b0ea0c22e47447e.tar draklive-dbcbb35eef8c0d4c78a4b1463b0ea0c22e47447e.tar.gz draklive-dbcbb35eef8c0d4c78a4b1463b0ea0c22e47447e.tar.bz2 draklive-dbcbb35eef8c0d4c78a4b1463b0ea0c22e47447e.tar.xz draklive-dbcbb35eef8c0d4c78a4b1463b0ea0c22e47447e.zip |
allow to format disk devices
-rwxr-xr-x | draklive | 5 | ||||
-rw-r--r-- | lib/MDV/Draklive/Storage.pm | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -780,6 +780,11 @@ sub format_master { } } +sub format_disk { + my ($live, $opts) = @_; + format_master($live, $live->{media}, $opts); +} + sub create_disk_master { my ($live, $opts) = @_; diff --git a/lib/MDV/Draklive/Storage.pm b/lib/MDV/Draklive/Storage.pm index 220d71c..637508c 100644 --- a/lib/MDV/Draklive/Storage.pm +++ b/lib/MDV/Draklive/Storage.pm @@ -34,6 +34,7 @@ our %storage_types = ( harddisk => { fs => 'ext3', create => \&main::create_disk_master, + format => \&main::format_disk, record => \&main::record_harddisk_master, image => \&main::create_disk_image, }, |