bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Bug in parted command.


From: Masthan, Dudekula (STSD)
Subject: RE: Bug in parted command.
Date: Fri, 25 Aug 2006 12:33:21 +0530


For your information, I am using SUSE LINUX Enterprise Server 10 machine and the version of parted tool is 1.6.25.1
 lx88245:~ # parted -v
GNU Parted 1.6.25.1

Regards,
MASTHAN
_____________________________________________
From:   Masthan, Dudekula (STSD) 
Sent:   Friday, August 25, 2006 12:28 PM
To:     'address@hidden'
Subject:        Bug in parted command.

Hi All,
Here an intresting issue on parted command.
I have a device of size 1074 MB and i tried to create partitions with parted command. The intresting issue is, the start position of first partition is not constant. The following snippet explain you more on this.

lx88245:~ # parted -s /dev/sdc print
Disk geometry for /dev/sdc: 0kB - 1074MB
Disk label type: msdos
Number Start End Size Type File system Flags
lx88245:~ # parted -s /dev/sdc mklabel msdos
lx88245:~ # parted -s /dev/sdc mkpart p 0 1065
lx88245:~ # parted -s /dev/sdc print
Disk geometry for /dev/sdc: 0kB - 1074MB
Disk label type: msdos
Number Start End Size Type File system Flags
1 1kB 1065MB 1065MB primary type=83
lx88245:~ # parted -s /dev/sdc rm 1
lx88245:~ # parted -s /dev/sdc print
Disk geometry for /dev/sdc: 0kB - 1074MB
Disk label type: msdos
Number Start End Size Type File system Flags
lx88245:~ # parted -s /dev/sdc mklabel msdos
lx88245:~ # parted -s /dev/sdc mkpart p 0 1069
lx88245:~ # parted -s /dev/sdc print
Disk geometry for /dev/sdc: 0kB - 1074MB
Disk label type: msdos
Number Start End Size Type File system Flags
1 32kB 1069MB 1069MB primary ext3 type=83
lx88245:~ # parted -s /dev/sdc rm 1
lx88245:~ # parted -s /dev/sdc mklabel msdos
lx88245:~ # parted -s /dev/sdc mkpart p 0 1071
lx88245:~ # parted -s /dev/sdc print
Disk geometry for /dev/sdc: 0kB - 1074MB
Disk label type: msdos
Number Start End Size Type File system Flags
1 1kB 1071MB 1071MB primary type=83
lx88245:~ #
In the first ( parted -s /dev/sdc mkpart p 0 1065) and third ( parted -s /dev/sdc mkpart p 0 1071) case the start position of first partition is 1 KB ( first block ) but in second case ( parted -s /dev/sdc mkpart p 0 1069) it is ( 32 kB). Can anyone explain it why it is happening like this ?

is it bug in parted command ?
Your help is appreciated ?
Regards
Masthan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]