public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Phillip Susi <psusi@ubuntu.com>
Cc: util-linux@vger.kernel.org
Subject: Re: SGI disk labels show wrong device
Date: Tue, 19 Nov 2013 13:15:04 +0100	[thread overview]
Message-ID: <20131119121504.GE5572@x2.net.home> (raw)
In-Reply-To: <5285137E.60900@ubuntu.com>

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

      reply	other threads:[~2013-11-19 12:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-14 18:16 SGI disk labels show wrong device Phillip Susi
2013-11-19 12:15 ` Karel Zak [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131119121504.GE5572@x2.net.home \
    --to=kzak@redhat.com \
    --cc=psusi@ubuntu.com \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox