lkml.org 
[lkml]   [1996]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 520 byte sectors - any ideas?
On Sun, 26 May 1996, Matthias Urlichs wrote:

> In linux.dev.kernel, article <01I4OVL7PA02EQOMZW@CRF.IT>,
> a.vignani@crf.it writes:
> >
> > Seems that these disks are low-level formatted with a 520-byte sector
> > size, which is correctly recognized by Linux on startup. [...]
>
> It should be possible to modify the SCSI driver to r/w the excess data
> from/to some Random Area, given either an adapter which can do
> scatter/gather or somebody who is willing to copy the block around once
> again, but there's a better solution: Reformat.

or simply ignore the last 8 bytes. (you probably still need to modify the
driver, putting in bogus (real_size-512) byte reads and writes here and
there, and tweaking size values occasionally, but it should be quite
straightforward).

btw, is reformatting possible for such drives?

-- mingo



\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.084 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site