All of lore.kernel.org
 help / color / mirror / Atom feed
* SGI disk labels show wrong device
@ 2013-11-14 18:16 Phillip Susi
  2013-11-19 12:15 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Phillip Susi @ 2013-11-14 18:16 UTC (permalink / raw)
  To: util-linux

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Parted lists the device name using the wrong partition number:

Disk /dev/sde: 8 MiB, 8388608 bytes, 16384 sectors
Geometry: 8 heads, 32 sectors/track, 64 cylinders
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 32768 bytes
Disklabel type: sgi

Pt# Device    Info Start       End Sectors Id System
 9: /dev/sde1          0      4095    4096  0 SGI volhdr
11: /dev/sde2          0     16383   16384  6 SGI volume
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJShRN9AAoJEJrBOlT6nu75Q80H/0/cu1cCm4l6RDfsMgFkDyG9
SxX3f4sUWJYsmOxA6EvzQpCkltWqYopqOpFjT4GLAhzij6cxTS55RE9x6sjcJOei
B7JJTqSc7+4ah5endSFGblD0OMR3SG8iBpTIcvOKChMT9j/a59i6gcokfdUOOxXQ
NE3Vk2aC3k3eUhGKKly12DCdubKsRGMxhw2PFktyKjmQjECGtHUH12GsorFugzpq
iMIjxGGKenFXw46wLUey9BHCjwvc+7TspcDzkcnGTwCPrCWX1uICa8KZ6I5jeki4
HlbP3jm+imLSPDVIhjzNm8yCMscdcnAwHCvFQxp4KR3NJmL3wnjuJnbFHfwT93Y=
=q6v4
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: SGI disk labels show wrong device
  2013-11-14 18:16 SGI disk labels show wrong device Phillip Susi
@ 2013-11-19 12:15 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2013-11-19 12:15 UTC (permalink / raw)
  To: Phillip Susi; +Cc: util-linux

On Thu, Nov 14, 2013 at 01:16:30PM -0500, Phillip Susi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Parted lists the device name using the wrong partition number:
> 
> Disk /dev/sde: 8 MiB, 8388608 bytes, 16384 sectors
> Geometry: 8 heads, 32 sectors/track, 64 cylinders
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 32768 bytes
> Disklabel type: sgi
> 
> Pt# Device    Info Start       End Sectors Id System
>  9: /dev/sde1          0      4095    4096  0 SGI volhdr
> 11: /dev/sde2          0     16383   16384  6 SGI volume

Fixed. It seems that the original fdisk author has expected the Linux
kernel will count only valid partitions, but we always count all slots.

Thanks!

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-19 12:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-14 18:16 SGI disk labels show wrong device Phillip Susi
2013-11-19 12:15 ` Karel Zak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.