variant behaviour of parted command.

"MASTHAN DUDEKULA" <[email protected]> Thu, 10 Aug 2006 11:43:19 +0530
Newsgroups gmane.linux.suse.ia64,gmane.linux.suse.programming-e
Message-ID <[email protected]>
------=_Part_38141_5158253.1155190399983
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi All,

On SLES 10 , I am using parted command to partition a device but  the
behaviour of parted command is varying from one Archetecture to another
archtecture.

I am using the following command to partition a device from 0 to 100 MB

*$ parted -d /dev/sda mkpart p 0 100*

and with the help print option i am printing the partition table. The o/p of
$*parted -s /dev/sda print* is varying from one arch to another arch.

The o/p of *$parted -s /dev/sda print*  on i386 machine
Disk geometry for /dev/sda: 0kB - 73GB
Disk label type: msdos
Number  Start   End     Size    Type      File system  Flags
1       1kB     100MB   100MB   primary   reiserfs     type=83

 The o/p of *$parted -s /dev/sda print*  on i386 machine

Disk geometry for /dev/sda: 0kB - 7516MB
Disk label type: gpt
Number  Start   End     Size    File system  Name                  Flags
1       17kB    100MB   100MB

*My question is, on ia 64 arch why  parted command is leaving first 17 kB of
the device?*

Your help is appreciated

Regards,
Masthan

------=_Part_38141_5158253.1155190399983
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div>&nbsp;</div>
<div>Hi All,</div>
<div>&nbsp;</div>
<div>On SLES 10 , I am using parted command to partition a device but &nbsp;the behaviour of parted command is varying from one Archetecture to another archtecture.</div>
<div>&nbsp;</div>
<div>I am using the following command to partition a device from 0 to 100 MB</div>
<div>&nbsp;</div>
<div><strong><em>$ parted -d /dev/sda mkpart p 0 100</em></strong></div>
<div>&nbsp;</div>
<div>and with the help print option i am printing the partition table. The o/p of $<em><strong>parted -s /dev/sda print</strong></em> is varying from one arch to another arch.</div>
<div>&nbsp;</div>
<div>The o/p of <em><strong>$parted -s /dev/sda&nbsp;print</strong></em>&nbsp; on i386 machine</div>
<div>Disk geometry for /dev/sda: 0kB - 73GB<br>Disk label type: msdos<br>Number&nbsp; Start&nbsp;&nbsp; End&nbsp;&nbsp;&nbsp;&nbsp; Size&nbsp;&nbsp;&nbsp; Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; File system&nbsp; Flags<br>1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1kB&nbsp;&nbsp;&nbsp;&nbsp; 100MB&nbsp;&nbsp; 100MB&nbsp;&nbsp; primary&nbsp;&nbsp; reiserfs&nbsp;&nbsp;&nbsp;&nbsp; type=83<br>&nbsp;</div>
<div>
<div>The o/p of <em><strong>$parted -s /dev/sda&nbsp;print</strong></em>&nbsp; on i386 machine</div>
<div>&nbsp;</div>
<div>Disk geometry for /dev/sda: 0kB - 7516MB<br>Disk label type: gpt<br>Number&nbsp; Start&nbsp;&nbsp; End&nbsp;&nbsp;&nbsp;&nbsp; Size&nbsp;&nbsp;&nbsp; File system&nbsp; Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Flags<br>1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 17kB&nbsp;&nbsp;&nbsp; 100MB&nbsp;&nbsp; 100MB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp;</div>
<div><strong>My question is, on ia 64 arch why &nbsp;parted command is leaving first 17 kB of the device?</strong></div>
<div>&nbsp;</div>
<div>Your help is appreciated</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>Masthan</div></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>

------=_Part_38141_5158253.1155190399983--