docs/177457: diskinfo(8): diskinfo -v shows inacurate drive size
Jason Unovitch
jason.unovitch at gmail.com
Mon Jun 24 16:50:01 UTC 2013
The following reply was made to PR docs/177457; it has been noted by GNATS.
From: Jason Unovitch <jason.unovitch at gmail.com>
To: bug-followup at FreeBSD.org, rfg at tristatelogic.com
Cc:
Subject: Re: docs/177457: diskinfo(8): diskinfo -v shows inacurate drive size
Date: Mon, 24 Jun 2013 12:42:39 -0400
This is a cryptographically signed message in MIME format.
--------------ms030304000401000701030706
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Isn't this the classic case of the OS using a base of 1024 to calculate=20
size and the hard drive manufacturer using 1000 for the same purpose? =20
My "3TB" Western Digital Drives show 3.0 TB using smartctl -a and 2.7 TB =
using diskinfo -v. I get the same 2.7 TB when I manually divide the=20
media size in bytes by 1024 four separate times.
Respectfully,
Jason Unovitch
--------------ms030304000401000701030706
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKVDCC
BRowggQCoAMCAQICEG0Z6qcZT2ozIuYiMnqqcd4wDQYJKoZIhvcNAQEFBQAwga4xCzAJBgNV
BAYTAlVTMQswCQYDVQQIEwJVVDEXMBUGA1UEBxMOU2FsdCBMYWtlIENpdHkxHjAcBgNVBAoT
FVRoZSBVU0VSVFJVU1QgTmV0d29yazEhMB8GA1UECxMYaHR0cDovL3d3dy51c2VydHJ1c3Qu
Y29tMTYwNAYDVQQDEy1VVE4tVVNFUkZpcnN0LUNsaWVudCBBdXRoZW50aWNhdGlvbiBhbmQg
RW1haWwwHhcNMTEwNDI4MDAwMDAwWhcNMjAwNTMwMTA0ODM4WjCBkzELMAkGA1UEBhMCR0Ix
GzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2h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+zQUz5BXPj7qOmf
P1OIRce2MtYG+DYdsU9uVhJRcnh4nnQl/Yfq3YYFWozlR8uTtUKQEjkDTwXXyFf2YoCjW1Mx
1594N/ezP5Ea4syOK3qThqSzhOE/aNR6097mCWv2aI0dv1Rc+gNaoNKy9zxITWnvDd/THRhP
Rxq1SMhO6DQu1sxlxFGHFQrdYnPiXd88zzbv/NzghDGJKk7vMU94JzJf/mt+VeMCTQKk64HD
G10C+6hGf1D6kvn2TGguDFdp2vdOLMAUlSargNUXOTCTij9Rh2uq1YQHiGfEZ4zquAxncvTl
zgN3ZIoqWskH6IJ5HTAOKypk021YGOixXQUAAAAAAAA=
--------------ms030304000401000701030706--
More information about the freebsd-doc
mailing list