Changeset 3377 in MondoRescue for branches/3.2/mindi/mr-parted2fdisk
- Timestamp:
- May 6, 2015, 1:10:17 PM (10 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi/mr-parted2fdisk
r3376 r3377 3 3 # $Id$ 4 4 # 5 # mr _parted2fdisk: fdisk like interface for parted5 # mr-parted2fdisk: fdisk like interface for parted 6 6 # [developed for mindi/mondo http://www.mondorescue.org] 7 7 # … … 27 27 =head1 NAME 28 28 29 mr _parted2fdisk is a fdisk like command using parted internally for analysing GPT labelled disks29 mr-parted2fdisk is a fdisk like command using parted internally for analysing GPT labelled disks 30 30 31 31 =head1 DESCRIPTION 32 32 33 mr _parted2fdisk behaves like the fdisk command, but dialog internally with parted in order to manipulate partition tables, which allow it to support GPT partition format as well as MBR, contrary to fdisk. It aims at providing compatible external interface with fdisk. Developed initialy for ia64 Linux, it is also useful now on x86 systems using GPT partition format (for large HDDs).33 mr-parted2fdisk behaves like the fdisk command, but dialog internally with parted in order to manipulate partition tables, which allow it to support GPT partition format as well as MBR, contrary to fdisk. It aims at providing compatible external interface with fdisk. Developed initialy for ia64 Linux, it is also useful now on x86 systems using GPT partition format (for large HDDs). 34 34 35 35 =head1 SYNOPSIS 36 36 37 mr _parted2fdisk -s partition38 39 mr _parted2fdisk -l [device]40 41 mr _parted2fdisk [-n] device37 mr-parted2fdisk -s partition 38 39 mr-parted2fdisk -l [device] 40 41 mr-parted2fdisk [-n] device 42 42 43 43 =head1 OPTIONS … … 56 56 57 57 Fake mode. Doesn't pass the commands just simulate. 58 59 =item B<-v> 60 61 Verbose mode. Used to help debugging issues. 58 62 59 63 =item B<no option> … … 102 106 103 107 # Log 104 my $flog = "/var/log/mr _parted2fdisk.log";108 my $flog = "/var/log/mr-parted2fdisk.log"; 105 109 open(FLOG, "> $flog") || die "Unable to open $flog"; 106 110 … … 133 137 my $device; 134 138 my $endmax = ""; 135 my $appname = "mr _parted2fdisk";139 my $appname = "mr-parted2fdisk"; 136 140 my ($mrver,$mrrev) = mr_version_init(); 137 141
Note:
See TracChangeset
for help on using the changeset viewer.