diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/MDV/Draklive/Media.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/MDV/Draklive/Media.pm b/lib/MDV/Draklive/Media.pm index baf1d21..a6242c1 100644 --- a/lib/MDV/Draklive/Media.pm +++ b/lib/MDV/Draklive/Media.pm @@ -23,4 +23,10 @@ sub get_media_setting { $media->{$setting} || $media->get_storage_setting($setting); } +sub get_media_fs_module { + my ($media) = @_; + my $fs = $media->get_media_setting('fs'); + $fs eq 'iso9660' ? 'isofs' : $fs eq 'ext2' ? @{[]} : $fs; +} + 1; |