While attempting to test parted return value (contents of $?) I got the
following output:
# parted /dev/hdb mkpart logical 55537 74020
You found a bug in GNU Parted. Please email a bug report to [email protected]
containing the version (1.6.19), and the following message:
Assertion (metadata_length > 0) at disk_dos.c:1907 in function
add_logical_part_metadata() failed.
Ignore/Cancel? c
Warning: You requested to create a partition at 55537.000-74020.000Mb. The
closest Parted can manage is
55537.207-55537.237Mb.
The partition table at the time was:
# parted /dev/hdb print
Disk geometry for /dev/hdb: 0.000-114473.460 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 109.819 primary ext3
2 109.819 18583.000 primary linux-swap
3 18583.000 37056.181 primary
4 37056.182 114470.969 extended
5 37056.212 55537.207 logical
6 55537.238 74018.232 logical
The OS is RHEL AS4.
Linux test.ion.le.ac.uk 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686
i686 i386 GNU/Linux
The parted package from RH is: parted-1.6.19-1.EL
The drive in question is a Seagate ST3120213A.
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : [EMAIL PROTECTED]
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
_______________________________________________
bug-parted mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-parted