Date: Fri, 2 May 1997 22:10:44 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freeBSD-scsi@FreeBSD.ORG Subject: Re: cvs commit: src/sys/scsi sd.c Message-ID: <19970502221044.EH53977@uriah.heep.sax.de> In-Reply-To: <199705012119.PAA20788@pluto.plutotech.com>; from Justin T. Gibbs on May 1, 1997 16:17:24 -0600 References: <199705012023.GAA24197@godzilla.zeta.org.au> <199705012119.PAA20788@pluto.plutotech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
As Justin T. Gibbs wrote: > 3) What features do we want to support? Do we want to support the ability > to 'dd' an image from a 512byte sectored device to a 1k sectored device > and have it work? No. Raw device access is restricted to the physical block size. This is already enforced in the floppy driver, which is capable of handling 1 KB physical sectors. This is, for example, enforced in the worm(4) driver when writing audio frames: the blocksize must be a multiple of 2352 bytes. This will be enforced in a CD-DA reading mode of the cd(4) driver, if i ever get around to implement it. :) > 4) If we want to have partitions with the only constraint being that they > begin and end on a sector boundary, what else in the system needs to change > to allow this? How does this affect 2 and 3? IIRC, the biggest problem was the UFS filesystem code assuming everything can be aligned to DEV_BSIZE. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970502221044.EH53977>