From owner-freebsd-hackers Sun Oct 19 18:09:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA14564 for hackers-outgoing; Sun, 19 Oct 1997 18:09:55 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from iq.org (proff@profane.iq.org [203.4.184.222]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id SAA14528 for ; Sun, 19 Oct 1997 18:09:26 -0700 (PDT) (envelope-from proff@iq.org) From: proff@iq.org Received: (qmail 4636 invoked by uid 110); 20 Oct 1997 01:09:10 -0000 Message-ID: <19971020010910.4635.qmail@iq.org> Subject: Re: nasty problem with vnode and other disk drivers? In-Reply-To: <199710191939.OAA04475@dyson.iquest.net> from "John S. Dyson" at "Oct 19, 97 02:39:00 pm" To: toor@dyson.iquest.net (John S. Dyson) Date: Mon, 20 Oct 1997 11:09:09 +1000 (EST) Cc: proff@iq.org, freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > From toor@dyson.iquest.net Sun Oct 19 19:40:17 1997 > Delivered-To: proff@iq.org > From: "John S. Dyson" > Message-Id: <199710191939.OAA04475@dyson.iquest.net> > Subject: Re: nasty problem with vnode and other disk drivers? > In-Reply-To: <19971019170838.1109.qmail@iq.org> from Julian Assange at "Oct 19, 97 05:08:38 pm" > To: proff@iq.org (Julian Assange) > Date: Sun, 19 Oct 1997 14:39:00 -0500 (EST) > Cc: freebsd-hackers@FreeBSD.ORG > X-Mailer: ELM [version 2.4ME+ PL31 (25)] > Julian Assange said: > > > > > > Surely this can't be correct behavior: > > > > # cp /usr/share/dict/words words > > # head words > > A > > a > > aa > > aal > > aalii > > aam > > Aani > > aardvark > > aardwolf > > Aaron > > # vnconfig /dev/vn0 words > > # dd if=/dev/rvn0 bs=8 count=10 > > A > > a > > aa > > aA > > a > > aa > > aA > > a > > aa > > > It isn't expected behavior, but raw, block devices currently need I/O on > 512 byte boundarys for integrals of 512 byte lengths. > > John > > > /dev/rvn0 is a character device. /dev/vn0 is the block device.