tech-kern archive

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

Re: In-kernel units for block numbers, etc ...



On Fri 27 Nov 2015 at 08:48:07 +0700, Robert Elz wrote:
> To fix this the CGD would need to fully emulate a 512 byte drive, regardless
> of sector size, actually doing RMW cycles to allow updating 512 bytes in the
> middle of a 4K sector (or whatever size it happens to be.)

Would it make sense to create a separate layered device that converts
the block size of its underlying device? At least that would separate
the problem and make it simpler. And it might be useful in its own
right, for instance when you dd a file system image to a drive with
different blocksize.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/xs4all.nl    -- 'this bath is too hot.'

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index