Re: About volume/disk blocks/size properties

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

 



2011/1/10 Josà FÃlix OntaÃÃn <felixonta@xxxxxxxxx>:
> El dÃa 8 de enero de 2011 18:26, Kay Sievers <kay.sievers@xxxxxxxx> escribiÃ:

> It seems the size file give us the number of sectors, isn't?

Yeah.

> In order to get the bytes of the disk/partition ... is it right to
> multiply /sys/block/<disk>/queue/logical_block_size times
> /sys/block/<disk>/size ??

Internal kernel size value is always 512 bytes.

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


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux