Subject: Re: kern/32321: DEV_BSIZE/d_secsize confusion
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 12/17/2005 12:15:04
The following reply was made to PR kern/32321; it has been noted by GNATS.

From: David Laight <david@l8s.co.uk>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/32321: DEV_BSIZE/d_secsize confusion
Date: Sat, 17 Dec 2005 12:09:42 +0000

 On Sat, Dec 17, 2005 at 05:35:00AM +0000, yamt@mwd.biglobe.ne.jp wrote:
 > >Synopsis:       DEV_BSIZE/d_secsize confusion
 
 Support for disks with sectors sizes other than 512 bytes is broken in
 many, many places.
 
 Not the least of the problems is deciding which structures need to be
 on 512 byte boundaries, and which on physical sector boundaries.
 
 For example it you be extremely useful if a filesytem could be byte copied
 from a disk with 2k sectors to one with 512 byte sectors.
 (The reverse would not work (for UFS) unless the fragments size were >=2k.)
 
 I also do not know the layout used for MBR (and extended partitions) on
 disks with large sector sizes.
 
 	David
 
 -- 
 David Laight: david@l8s.co.uk