Changeset 3147 in MondoRescue for branches/3.1/mindi/parted2fdisk.pl
- Timestamp:
- Jun 19, 2013, 8:34:46 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/mindi/parted2fdisk.pl
r2192 r3147 9 9 # Tested on ia64 with RHAS 2.1 - Mandrake 9.0 - RHEL 3.0 - SLES 10 10 10 # 11 # (c) Bruno Cornec <Bruno.Cornec@hp.com>12 # Licensed under the GPL11 # Copyright B. Cornec 2000-2013 12 # Provided under the GPL v2 13 13 14 14 use strict; 15 16 17 =pod 18 19 =head1 NAME 20 21 parted2fdisk is a fdisk lie command using parted internally. 22 23 =head1 DESCRIPTION 24 25 parted2fdisk behaves like a fdisk command, but dialog internally with parted in order to manipulate partiion tables, which allow it to support GPT partition format as well as MBR, contrary to fdisk. It aimed at providing compatible external interface wti fdisk. Developed initialy for ia64 Linux, but is also useful now on x86 systems using GPT partition format (for large HDDs). 26 27 =head1 SYNOPSIS 28 29 parted2fdisk -s partition 30 parted2fdisk -l device 31 parted2fdisk [-n] device 32 33 =head1 OPTIONS 34 35 =over 4 36 37 =item B<-s> 38 39 Print the size (in blocks) of the given partition. 40 41 =item B<-n> 42 43 Fake mode. Doesn't pass the commands just simulate. 44 45 =item B<-l> 46 47 List the partition tables for the specified device and then exit. 48 49 =item B<no option> 50 51 Allow the creation and manipulation of partition tables. 52 53 =back 54 55 =head1 ARGUMENTS 56 57 =over 4 58 59 =item B<partition> 60 61 partition device file (only used with -s option). 62 63 =item B<device> 64 65 device file to work on. 66 67 =back 68 69 =head1 WEB SITES 70 71 The main Web site of the project is available at L<http://www.mondorescue.org>. Bug reports should be filled using the trac instance of the project at L<http://trac.mondorescue.org/>. 72 73 =head1 USER MAILING LIST 74 75 For community exchanges around MondoRescue please use the list L<http://sourceforge.net/mailarchive/forum.php?forum_name=mondo-devel> 76 77 =head1 AUTHORS 78 79 The MondoRescue team lead by Bruno Cornec L<mailto:bruno@mondorescue.org>. 80 81 =head1 COPYRIGHT 82 83 MondoRescue is distributed under the GPL v2.0 license or later, 84 described in the file C<COPYING> included with the distribution. 85 86 =cut 87 15 88 16 89 $ENV{LANG} = "C";
Note:
See TracChangeset
for help on using the changeset viewer.