Changeset 3475 in MondoRescue


Ignore:
Timestamp:
Oct 12, 2015, 12:18:17 PM (9 years ago)
Author:
Bruno Cornec
Message:

Export more mr_lvm functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/MondoRescue/lib/MondoRescue/LVM.pm

    r3432 r3475  
    2626
    2727our @ISA = qw(Exporter);
    28 our @EXPORT = qw(mr_lvm_check mr_lvm_get_conf mr_lvm_read_conf mr_lvm_write_conf mr_lvm_edit_conf mr_lvm_apply_from_conf);
     28our @EXPORT = qw(mr_lvm_check mr_lvm_get_conf mr_lvm_read_conf mr_lvm_write_conf mr_lvm_edit_conf mr_lvm_apply_from_conf mr_lvm_analyze mr_lvm_prepare);
    2929
    3030=pod
     
    469469        my ($tag,$lvname,$vgname,$lvaccess,$lvstat,$lvnum,$oclv,$lvsize,$leinlv,$lealloc,$allocpol,$readahead,$major,$minor) = split(/:/);
    470470        print $OUTPUT "# Create Logical Volume $lvname\n";
     471        # TODO: We should use % here as well
    471472        print $OUTPUT $lvmcmd."echo y | lvcreate -n $lvname -L ".$lvsize*$mrmult;
    472473        print $OUTPUT " -r $readahead" if (defined $readahead);
Note: See TracChangeset for help on using the changeset viewer.