Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #276450
| From | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Mass storage sizes |
| Date | 2025-01-10 15:40 +0100 |
| Message-ID | <K3ol3-7C64-1@gated-at.bofh.it> (permalink) |
| References | (6 earlier) <K2nhn-6tz5-5@gated-at.bofh.it> <K2pVU-6vir-11@gated-at.bofh.it> <K2pVU-6vir-9@gated-at.bofh.it> <K3ctz-7e56-1@gated-at.bofh.it> <K3eOJ-7jgq-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
I used to hold on dearly to the "1024-based" view, and it's only now
that I realize that I don't actually care about it any more. I think
what happened is that internally many things care about power-of-2 sizes
for technical reasons (there are very good reason why mass storage block
sizes are always powers of 2, for example), but that has no bearing on
manipulating multiples of those things (e.g. most likely nobody/nothing
will notice/care if your HDD has a number of blocks that's prime, not
even the HDD's internal controller), and once you're far away from the
low-level details and start interacting with a human, base 10 makes
a lot more sense.
When the humans looking at it were in majority tech-versed, using
a 1024-based view to interact with humans made some sense (once you've
integrated the technical advantages of using powers of 2 at the
low-level, it feels natural to do so elsewhere as well), but it was not
really necessary since in most cases the numbers become approximate
anyway (as in the original HDD size that motivated this thread, where
various elements are glossed over, like the size of metadata).
Now, I feel compelled to go back to my code and find all those places
where I displayed k/M/G units by dividing by 1024 and change it to 1000.
Thank you, people, for this discussion.
Stefan
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
new computer arriving soon "Roy J. Tellason, Sr." <roy@rtellason.com> - 2024-12-21 18:50 +0100
Re: new computer arriving soon "Andrew M.A. Cater" <amacater@einval.com> - 2024-12-21 20:30 +0100
Re: new computer arriving soon Joe <joe@jretrading.com> - 2024-12-21 21:20 +0100
Re: new computer arriving soon "Roy J. Tellason, Sr." <roy@rtellason.com> - 2024-12-22 02:20 +0100
Re: new computer arriving soon "Roy J. Tellason, Sr." <roy@rtellason.com> - 2024-12-22 02:20 +0100
UEFI, Export from Virtualbox [WAS Re: new computer arriving soon] "Andrew M.A. Cater" <amacater@einval.com> - 2024-12-22 09:50 +0100
Re: new computer arriving soon "Roy J. Tellason, Sr." <roy@rtellason.com> - 2024-12-26 20:40 +0100
Re: new computer arriving soon David Christensen <dpchrist@holgerdanske.com> - 2024-12-26 23:40 +0100
Re: new computer arriving soon David Wright <deblis@lionunicorn.co.uk> - 2024-12-27 17:30 +0100
Re: new computer arriving soon Marc Shapiro <marcnshap@gmail.com> - 2024-12-31 05:10 +0100
Re: new computer arriving soon gene heskett <gheskett@shentel.net> - 2024-12-31 05:40 +0100
Re: new computer arriving soon "Andrew M.A. Cater" <amacater@einval.com> - 2024-12-31 19:00 +0100
Re: new computer arriving soon gene heskett <gheskett@shentel.net> - 2024-12-31 23:00 +0100
Re: new computer arriving soon "Andrew M.A. Cater" <amacater@einval.com> - 2025-01-01 00:00 +0100
Re: new computer arriving soon gene heskett <gheskett@shentel.net> - 2025-01-01 01:00 +0100
Re: new computer arriving soon pocket@homemail.com - 2025-01-01 15:00 +0100
Re: new computer arriving soon Frank Guthausen <fg.debian@shimps.de> - 2025-01-01 15:30 +0100
Re: new computer arriving soon pocket@homemail.com - 2025-01-01 15:40 +0100
Re: new computer arriving soon Michael Stone <mstone@debian.org> - 2025-01-01 16:40 +0100
Re: new computer arriving soon pocket@homemail.com - 2025-01-01 17:20 +0100
Re: new computer arriving soon Michael Stone <mstone@debian.org> - 2025-01-01 18:00 +0100
Re: new computer arriving soon pocket@homemail.com - 2025-01-01 18:00 +0100
Re: new computer arriving soon Max Nikulin <manikulin@gmail.com> - 2025-01-02 03:10 +0100
Re: new computer arriving soon pocket@homemail.com - 2025-01-02 03:40 +0100
Re: new computer arriving soon Charles Curley <charlescurley@charlescurley.com> - 2025-01-01 17:30 +0100
Re: new computer arriving soon Michael Stone <mstone@debian.org> - 2025-01-01 18:20 +0100
Re: new computer arriving soon gene heskett <gheskett@shentel.net> - 2025-01-01 22:00 +0100
Re: new computer arriving soon Joe <joe@jretrading.com> - 2025-01-01 19:50 +0100
Re: new computer arriving soon gene heskett <gheskett@shentel.net> - 2025-01-01 22:50 +0100
Re: new computer arriving soon Andy Smith <andy@strugglers.net> - 2025-01-02 14:50 +0100
Re: new computer arriving soon gene heskett <gheskett@shentel.net> - 2025-01-03 04:00 +0100
Re: new computer arriving soon gene heskett <gheskett@shentel.net> - 2025-01-03 17:30 +0100
Re: new computer arriving soon Andy Smith <andy@strugglers.net> - 2025-01-03 13:10 +0100
Re: new computer arriving soon Max Nikulin <manikulin@gmail.com> - 2025-01-02 03:30 +0100
Re: new computer arriving soon pocket@homemail.com - 2025-01-02 03:40 +0100
Re: new computer arriving soon Max Nikulin <manikulin@gmail.com> - 2025-01-02 04:30 +0100
Re: new computer arriving soon pocket@homemail.com - 2025-01-02 04:50 +0100
Re: new computer arriving soon Max Nikulin <manikulin@gmail.com> - 2025-01-02 16:40 +0100
Re: new computer arriving soon pocket@homemail.com - 2025-01-02 17:10 +0100
Re: new computer arriving soon Max Nikulin <manikulin@gmail.com> - 2025-01-04 05:00 +0100
Re: new computer arriving soon gene heskett <gheskett@shentel.net> - 2025-01-04 11:20 +0100
Gene and networkmanager (was: Re: new computer arriving soon) Max Nikulin <manikulin@gmail.com> - 2025-01-05 04:50 +0100
Re: Gene and networkmanager (was: Re: new computer arriving soon) gene heskett <gheskett@shentel.net> - 2025-01-05 17:20 +0100
/dev/serial/by-id (was: Re: new computer arriving soon) Max Nikulin <manikulin@gmail.com> - 2025-01-05 05:00 +0100
Re: /dev/serial/by-id (was: Re: new computer arriving soon) gene heskett <gheskett@shentel.net> - 2025-01-05 17:30 +0100
Re: /dev/serial/by-id Max Nikulin <manikulin@gmail.com> - 2025-01-06 03:30 +0100
Re: /dev/serial/by-id gene heskett <gheskett@shentel.net> - 2025-01-06 08:20 +0100
Re: /dev/serial/by-id Max Nikulin <manikulin@gmail.com> - 2025-01-07 04:20 +0100
Re: /dev/serial/by-id gene heskett <gheskett@shentel.net> - 2025-01-07 10:00 +0100
Re: /dev/serial/by-id gene heskett <gheskett@shentel.net> - 2025-01-07 14:50 +0100
Mass storage sizes (was: /dev/serial/by-id) Stefan Monnier <monnier@iro.umontreal.ca> - 2025-01-07 16:10 +0100
Re: Mass storage sizes (was: /dev/serial/by-id) Dan Purgert <dan@djph.net> - 2025-01-07 16:50 +0100
Re: Mass storage sizes eben@gmx.us - 2025-01-07 17:10 +0100
Re: Mass storage sizes <tomas@tuxteam.de> - 2025-01-07 17:40 +0100
Re: Mass storage sizes eben@gmx.us - 2025-01-07 18:00 +0100
Re: Mass storage sizes Stefan Monnier <monnier@iro.umontreal.ca> - 2025-01-07 20:40 +0100
Re: Mass storage sizes <tomas@tuxteam.de> - 2025-01-08 06:30 +0100
Re: Mass storage sizes (was: /dev/serial/by-id) Michael Stone <mstone@debian.org> - 2025-01-07 17:10 +0100
Re: Mass storage sizes (was: /dev/serial/by-id) Michael Stone <mstone@debian.org> - 2025-01-07 17:30 +0100
Re: Mass storage sizes (was: /dev/serial/by-id) Dan Purgert <dan@djph.net> - 2025-01-07 18:10 +0100
Re: Mass storage sizes (was: /dev/serial/by-id) Nicholas Geovanis <nickgeovanis@gmail.com> - 2025-01-09 04:10 +0100
Re: Mass storage sizes (was: /dev/serial/by-id) Michael Stone <mstone@debian.org> - 2025-01-09 05:50 +0100
Re: Mass storage sizes Stefan Monnier <monnier@iro.umontreal.ca> - 2025-01-09 16:30 +0100
Re: Mass storage sizes Dan Purgert <dan@djph.net> - 2025-01-09 18:10 +0100
Re: Mass storage sizes (was: /dev/serial/by-id) Nicolas George <george@nsup.org> - 2025-01-09 21:50 +0100
Re: Mass storage sizes (was: /dev/serial/by-id) Michael Stone <mstone@debian.org> - 2025-01-10 00:50 +0100
Re: Mass storage sizes (was: /dev/serial/by-id) Jeffrey Walton <noloader@gmail.com> - 2025-01-10 01:10 +0100
Re: Mass storage sizes (was: /dev/serial/by-id) Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2025-01-10 02:10 +0100
Re: Mass storage sizes (was: /dev/serial/by-id) Dan Purgert <dan@djph.net> - 2025-01-10 11:00 +0100
Re: Mass storage sizes (was: /dev/serial/by-id) gene heskett <gheskett@shentel.net> - 2025-01-10 15:10 +0100
Re: Mass storage sizes (was: /dev/serial/by-id) <tomas@tuxteam.de> - 2025-01-10 07:30 +0100
Re: Mass storage sizes John Hasler <john@sugarbit.com> - 2025-01-10 15:50 +0100
Re: Mass storage sizes eben@gmx.us - 2025-01-10 21:40 +0100
Re: Mass storage sizes gene heskett <gheskett@shentel.net> - 2025-01-11 01:50 +0100
Re: Mass storage sizes Jeffrey Walton <noloader@gmail.com> - 2025-01-11 01:40 +0100
Re: Mass storage sizes (was: /dev/serial/by-id) Heriberto Avelino <heriberto.avelino@gmail.com> - 2025-01-10 01:30 +0100
Re: Mass storage sizes Kushal Kumaran <kushal@locationd.net> - 2025-01-07 20:20 +0100
Re: Mass storage sizes Nicolas George <george@nsup.org> - 2025-01-07 21:10 +0100
Re: Mass storage sizes Michael Stone <mstone@debian.org> - 2025-01-07 23:10 +0100
Re: Mass storage sizes Urs Thuermann <urs@isnogud.escape.de> - 2025-01-10 03:00 +0100
Re: Mass storage sizes Michael Stone <mstone@debian.org> - 2025-01-10 05:30 +0100
Re: Mass storage sizes Stefan Monnier <monnier@iro.umontreal.ca> - 2025-01-10 15:40 +0100
Re: Mass storage sizes Charles Curley <charlescurley@charlescurley.com> - 2025-01-07 23:10 +0100
Re: Mass storage sizes gene heskett <gheskett@shentel.net> - 2025-01-08 00:30 +0100
Re: Mass storage sizes "Thomas Schmitt" <scdbackup@gmx.net> - 2025-01-07 17:40 +0100
Re: Mass storage sizes Stefan Monnier <monnier@iro.umontreal.ca> - 2025-01-07 20:30 +0100
Re: Mass storage sizes (was: /dev/serial/by-id) Jeffrey Walton <noloader@gmail.com> - 2025-01-09 08:40 +0100
Re: /dev/serial/by-id Max Nikulin <manikulin@gmail.com> - 2025-01-08 04:00 +0100
Re: /dev/serial/by-id Max Nikulin <manikulin@gmail.com> - 2025-01-08 04:10 +0100
Re: /dev/serial/by-id Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2025-01-07 11:20 +0100
Specific mdadm instructions for Gene [WAS Re: new computer arriving soon] "Andrew M.A. Cater" <amacater@einval.com> - 2025-01-02 17:00 +0100
Re: Specific mdadm instructions for Gene [WAS Re: new computer arrivingsoon] gene heskett <gheskett@shentel.net> - 2025-01-02 23:10 +0100
Re: Specific mdadm instructions for Gene [WAS Re: new computer arrivingsoon] Andy Smith <andy@strugglers.net> - 2025-01-02 23:20 +0100
Re: Specific mdadm instructions for Gene [WAS Re: new computer arrivingsoon] Nicolas George <george@nsup.org> - 2025-01-02 23:30 +0100
Re: Specific mdadm instructions for Gene [WAS Re: new computer arrivingsoon] Michael Stone <mstone@debian.org> - 2025-01-03 00:10 +0100
Re: Specific mdadm instructions for Gene [WAS Re: new computer arrivingsoon] Jeffrey Walton <noloader@gmail.com> - 2025-01-03 04:00 +0100
Re: Specific mdadm instructions for Gene [WAS Re: new computerarrivingsoon] gene heskett <gheskett@shentel.net> - 2025-01-03 05:00 +0100
Re: Specific mdadm instructions for Gene [WAS Re: new computerarrivingsoon] Andy Smith <andy@strugglers.net> - 2025-01-03 14:00 +0100
Re: Specific mdadm instructions for Gene [WAS Re: new computer arrivingsoon] Max Nikulin <manikulin@gmail.com> - 2025-01-03 03:40 +0100
Re: Specific mdadm instructions for Gene [WAS Re: new computerarrivingsoon] gene heskett <gheskett@shentel.net> - 2025-01-03 05:10 +0100
Re: Specific mdadm instructions for Gene [WAS Re: new computerarrivingsoon] Max Nikulin <manikulin@gmail.com> - 2025-01-04 04:30 +0100
Re: Specific mdadm instructions for Gene [WAS Re: newcomputerarrivingsoon] gene heskett <gheskett@shentel.net> - 2025-01-04 04:50 +0100
sgdisk missing under Armbian for Gene [WAS Specific mdadm instructions for Gene] "Andrew M.A. Cater" <amacater@einval.com> - 2025-01-03 12:40 +0100
Re: sgdisk missing under Armbian for Gene [WAS Specific mdadm instructions for Gene] Nicolas George <george@nsup.org> - 2025-01-03 12:50 +0100
Re: sgdisk missing under Armbian for Gene [WAS Specific mdadminstructions for Gene] gene heskett <gheskett@shentel.net> - 2025-01-03 17:40 +0100
Re: new computer arriving soon Max Nikulin <manikulin@gmail.com> - 2025-01-02 04:00 +0100
Re: new computer arriving soon gene heskett <gheskett@shentel.net> - 2025-01-02 05:30 +0100
Re: new computer arriving soon George at Clug <Clug@goproject.info> - 2025-01-02 08:30 +0100
Re: new computer arriving soon Michael Stone <mstone@debian.org> - 2025-01-02 23:40 +0100
Re: new computer arriving soon fxkl47BF@protonmail.com - 2025-01-02 23:50 +0100
Re: new computer arriving soon George at Clug <Clug@goproject.info> - 2025-01-03 00:00 +0100
Re: new computer arriving soon Michael Stone <mstone@debian.org> - 2025-01-03 00:20 +0100
Re: new computer arriving soon George at Clug <Clug@goproject.info> - 2025-01-03 00:50 +0100
Re: new computer arriving soon "Roy J. Tellason, Sr." <roy@rtellason.com> - 2025-01-03 17:00 +0100
Re: new computer arriving soon Michael Stone <mstone@debian.org> - 2025-01-03 17:20 +0100
Re: new computer arriving soon David Wright <deblis@lionunicorn.co.uk> - 2025-01-10 05:50 +0100
Re: new computer arriving soon Greg Wooledge <greg@wooledge.org> - 2025-01-03 00:10 +0100
Re: new computer arriving soon George at Clug <Clug@goproject.info> - 2025-01-03 00:00 +0100
Re: new computer arriving soon Michael Stone <mstone@debian.org> - 2025-01-03 00:00 +0100
Re: new computer arriving soon George at Clug <Clug@goproject.info> - 2025-01-03 00:40 +0100
Re: new computer arriving soon Andy Smith <andy@strugglers.net> - 2025-01-03 00:50 +0100
Re: new computer arriving soon "Roy J. Tellason, Sr." <roy@rtellason.com> - 2025-01-03 17:00 +0100
Re: new computer arriving soon Max Nikulin <manikulin@gmail.com> - 2025-01-02 16:30 +0100
Re: new computer arriving soon Frank Guthausen <fg.debian@shimps.de> - 2024-12-31 20:20 +0100
Re: new computer arriving soon Max Nikulin <manikulin@gmail.com> - 2025-01-02 04:10 +0100
Re: new computer arriving soon Michael Stone <mstone@debian.org> - 2025-01-02 23:50 +0100
Re: new computer arriving soon Marc Shapiro <marcnshap@gmail.com> - 2025-01-06 06:10 +0100
Re: new computer arriving soon "Roy J. Tellason, Sr." <roy@rtellason.com> - 2024-12-27 20:20 +0100
Re: new computer arriving soon George at Clug <Clug@goproject.info> - 2024-12-22 00:40 +0100
Re: new computer arriving soon "Roy J. Tellason, Sr." <roy@rtellason.com> - 2024-12-22 02:30 +0100
Re: new computer arriving soon George at Clug <Clug@goproject.info> - 2024-12-22 05:50 +0100
Re: new computer arriving soon songbird <songbird@anthive.com> - 2024-12-22 17:20 +0100
csiph-web