Archiving workstation hard drives
mouse at Rodents.Montreal.QC.CA
Mon Jan 22 00:03:54 CST 2007
>> Last time I looked, NetBSD, at least, couldn't do anything sensible
>> with a SCSI disk with other than 512-byte blocks. That was quite a
>> while ago, but I haven't heard anything on the lists to make me
>> think the status has changed.
> The thing that got me wondering though - surely in the PC world, SCSI
> CDROM drives all use something like 2048-byte blocks?
Yes. If you have a 2048-byte-sector disk and can convince the cd
driver to attach to it instead of the sd driver, it might work. :-)
> They're still mass storage devices - albeit removeable ones - and so
> presumably the low level code *has* to be capable of working with
> "odd" block sizes.
Sufficiently low level, yes. The common SCSI code that both cd and sd
use, that isn't what's causing the trouble. The problems are either in
the disk subsystem assuming DEV_BSIZE sectors or the sd driver assuming
that. (If the former, the cd driver must be faking it.)
The suggestion of using whatever generic SCSI facilities are available
strikes me as a good one. If I had the time and interest I'd hack
something together myself to do that.
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse at rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
More information about the cctech