Re: total sector number in each disk

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

 



Check how md, hd, sd driver handle the BLKGETSIZE or BLKGETSIZE64 ioctl
call. You will get that number. :)


ming

On Wed, 2004-01-21 at 12:59, Bin Ren wrote:
> Hi,
> 
> I'm reading the source codes of md and raid1. Could anyone tell me
> where to find out the total number of sectors of a particular disk in a
> raid set?
> 
> Thanks,
> -- Bin
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux