variant behaviour of parted command.
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
"MASTHAN DUDEKULA" <d.mastan@gmail.com> writes:
*My question is, on ia 64 arch why parted command is leaving first 17 kB of the device?*
That's the space for the partition table. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
Waht about i386 machine ? on i386 machine why s not showing any space for partition table ? On 8/10/06, Andreas Schwab <schwab@suse.de> wrote:
"MASTHAN DUDEKULA" <d.mastan@gmail.com> writes:
*My question is, on ia 64 arch why parted command is leaving first 17 kB of the device?*
That's the space for the partition table.
Andreas.
-- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
"MASTHAN DUDEKULA" <d.mastan@gmail.com> writes:
Waht about i386 machine ? on i386 machine why s not showing any space for partition table ?
Of course it does. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
participants (2)
-
Andreas Schwab
-
MASTHAN DUDEKULA