From: Andries.Brouwer@cwi.nl
To: Andries.Brouwer@cwi.nl, cat@zip.com.au
Cc: linux-kernel@vger.kernel.org
Subject: Re: suspecious ide hdparm results with 2.4.1 (and a minor capacity question)
Date: Thu, 8 Feb 2001 01:22:14 +0100 (MET) [thread overview]
Message-ID: <UTC200102080022.BAA04424.aeb@vlet.cwi.nl> (raw)
>> There are two entirely different things both called LBA.
>> Neither of them wastes any space.
> You sure?
Yes. One is the hardware disk access - all disk access is LBA
these days, certainly by Linux, but if the disk is small
one can also use CHS access, when it is old one has to use CHS.
The other thing called LBA is a translation scheme.
Translation means that the BIOS will use one set of parameters
when talking to the disk, and another when talking to DOS or so.
This just means that the same sector on the disk has different
names.
But when you partition your disk using DOS fdisk, it will want
to use an integral number of "cylinders" for each partition,
and for example with 8MB cylinders you may have the bad luck
that the rounding costs you almost 8MB. But here each of the
possible translations can be lucky or unlucky.
Under Linux there is no restriction that a partition has to
start on a cylinder boundary, but an integral number of blocks
is used, so for example with 1KB blocks and an odd number of
sectors this may cost you 512 bytes.
These days one sees various (rather ugly) patches floating around
just to get at this last sector. (But they are unnecessary, I think.)
Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2001-02-08 0:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-08 0:22 Andries.Brouwer [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-02-07 17:44 suspecious ide hdparm results with 2.4.1 (and a minor capacity question) Andries.Brouwer
2001-02-07 22:37 ` CaT
2001-02-07 15:14 CaT
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=UTC200102080022.BAA04424.aeb@vlet.cwi.nl \
--to=andries.brouwer@cwi.nl \
--cc=cat@zip.com.au \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox