Subject: Re: kern/3460: block io unit for sd should be sector size
To: Koji Imada - je4wob/2 <koji@math.human.nagoya-u.ac.jp>
From: Zdenek Salvet <salvet@horn.ics.muni.cz>
List: netbsd-bugs
Date: 04/18/1997 09:37:42
> >>>>> "Zdenek" == Zdenek Salvet <salvet@horn.ics.muni.cz> writes:
> 
>  Zdenek> I think 1)+ ffs modification to support fs sector != disklabel sector
>  Zdenek> would be best (I would like to create ffs for CD images in vnd) despite
>  Zdenek> the more difficult implementation.
> 
> hum... It maybe best(In the other side, fixed size block io unit is
> easy to handle in some situation).

Yes, fixed block io unit solution is good enough for me. The only
drawback is suboptimal space allocation on <512B sector media
but these are rare today (aren't they ?).

> If core team don't mind file system 
> modification,

I think ffs needs your or similar modification if we want to support
moving ffs images between different media.

> I will try(not so difficult, just merge two method)
> though it will require modification for DEV_BSIZE dependent part.

> BTW, i have modified sys/dev/vnd.c and vnconfig.c to support disklabel
> feature. I will send-pr if this problem settled.

Send me the diffs, please.

> Also, sbin/disklabel.c needs modification to support non-512
> bytes/sector media too.
> --
> Koji Imada
> koji@math.human.nagoya-u.ac.jp

-- 
Zdenek Salvet                                              salvet@ics.muni.cz 
----------------------------------------------------------------------------
           If God had meant for us to be in the Army,
         we would have been born with green, baggy skin.