Re: SGI disk labels show wrong device

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

 



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@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux