Date: Wed, 22 Apr 1998 02:21:27 +1000 From: Bruce Evans <bde@zeta.org.au> To: graham@cyberc.demon.co.uk, hardware@FreeBSD.ORG Subject: Re: Smarty (again) Message-ID: <199804211621.CAA04308@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>I think I have identified the problem - the information is stored on >sectors 1, 100 and 200, but there are no sectors in between (actually, >there is no rotating surface either, so "in between" is a bit stupid). > >Using fdcontrol I can set the number of sectors to 200, and dd will >attempt to read 512 bytes from wherever, but the driver always tries to >read 4 sectors at a time. 4 is probably for the usual buffered device braindamage (BLKDEV_IOSIZE / DEV_BSIZE = 4). >Can anyone point me to the source file where I can change this value >(actually bp->b_bcount for fdstrategy() ). Just use the raw device so that it reads the amount requested. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804211621.CAA04308>