From owner-freebsd-current Tue Jan 7 23:36:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id XAA19229 for current-outgoing; Tue, 7 Jan 1997 23:36:59 -0800 (PST) Received: from ravenock.cybercity.dk (ravenock.cybercity.dk [194.16.57.32]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id XAA19224; Tue, 7 Jan 1997 23:36:51 -0800 (PST) Received: (from sos@localhost) by ravenock.cybercity.dk (8.8.4/8.7.3) id IAA01307; Wed, 8 Jan 1997 08:37:49 +0100 (MET) Message-Id: <199701080737.IAA01307@ravenock.cybercity.dk> Subject: Re: Any specfs specialists out there ?? In-Reply-To: <199701080023.RAA15289@phaeton.artisoft.com> from Terry Lambert at "Jan 7, 97 05:23:24 pm" To: terry@lambert.org (Terry Lambert) Date: Wed, 8 Jan 1997 08:37:48 +0100 (MET) Cc: sos@FreeBSD.org, current@FreeBSD.org From: sos@FreeBSD.org Reply-to: sos@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk In reply to Terry Lambert who wrote: > > 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? It just for me having disks with a 1K sector size, and without this it fails :(. > Specfs will be dying soon if devfs becomes standard (specfs and struct > fsops is a crock). Yeah, but I wouldn't hold my breath.... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end ..