From owner-freebsd-current Tue Jan 7 16:33:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id QAA28614 for current-outgoing; Tue, 7 Jan 1997 16:33:05 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id QAA28603; Tue, 7 Jan 1997 16:32:51 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id RAA15289; Tue, 7 Jan 1997 17:23:25 -0700 From: Terry Lambert Message-Id: <199701080023.RAA15289@phaeton.artisoft.com> Subject: Re: Any specfs specialists out there ?? To: sos@freebsd.org Date: Tue, 7 Jan 1997 17:23:24 -0700 (MST) Cc: current@freebsd.org In-Reply-To: <199701071349.OAA03066@ravenock.cybercity.dk> from "sos@freebsd.org" at Jan 7, 97 02:49:07 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I have a problem with specfs. In specfs_getpages() all transfers are > rounded to DEV_BSIZE bytes, that wont do on devices with !=3D 512 > byte sector size.=20 > > I need to have the specfs know about the sectorsize, or at least > the block size of the fs (which then could be set to n*sectorsize) > > The problem is that the struct vop_getpages_args that specfs_getpages() > gets handed apparently doesn't have any info I can use, well > I found the blocksize deep down in a structure, but it seems to > be unset on entry :( > > I faked this by using 2*DEV_BSIZE which works just dandy on my > 1K sec disks. > > Any good ideas ?? What is this for? Specfs will be dying soon if devfs becomes standard (specfs and struct fsops is a crock). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.