[haiku-development] Re: r1a3 anyboot image too big for CD

  • From: "Ingo Weinhold" <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 30 May 2011 18:09:21 +0200

Rene Gollent wrote:
> On Mon, May 30, 2011 at 10:58 AM, Matt Madia <mattmadia@xxxxxxxxx> wrote:
> > Even though stripping common/bin and common/lib is enough to make
> > @alpha-anyboot fit in less than 700MB, I tested the 1024 block size
> > change too.  Sadly, the 1024 block size @alpha-anyboot fails to boot
> > from CD for me.
> I might be misremembering, but I believe the hardware sector size on
> CD devices is 2KB, so I don't think we can actually use anything
> smaller than that for CDs. Correct me if I'm wrong.

The device driver is responsible for aligning I/O requests correctly. Usually 
it will just use an IOSchedulerSimple or IOCache, which deals with this. At 
least if the block size of their DMAResource has been set correctly.

CU, Ingo

Other related posts: