From owner-freebsd-questions Mon Mar 22 15:58: 7 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id B888D1525F for ; Mon, 22 Mar 1999 15:57:57 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id KAA18877; Tue, 23 Mar 1999 10:27:36 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id KAA03434; Tue, 23 Mar 1999 10:27:36 +1030 (CST) Message-ID: <19990323102735.N442@lemis.com> Date: Tue, 23 Mar 1999 10:27:35 +1030 From: Greg Lehey To: Roelof Osinga Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Have crashed, won't travel References: <19990316174710.H429@lemis.com> <36EE54A4.8DC53017@eboa.com> <19990317093436.G429@lemis.com> <36EFC56A.ACBFB0A7@eboa.com> <19990318100818.L429@lemis.com> <36F1BDBB.E9E4F323@eboa.com> <19990319150941.U429@lemis.com> <36F2ABBF.9B789EDB@eboa.com> <19990320100004.J429@lemis.com> <36F6A64E.3DED5FB6@eboa.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <36F6A64E.3DED5FB6@eboa.com>; from Roelof Osinga on Mon, Mar 22, 1999 at 09:21:34PM +0100 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 22 March 1999 at 21:21:34 +0100, Roelof Osinga wrote: > Greg Lehey wrote: >> >>> Could you run that by me again. If /dev/wd0s1g is the device holding >>> the structure I need to manipulate then what is the device I should >>> give as parameter to fsdb? >> >> /dev/rwd0s1g. > > Aarrgghh!! The *R*! As in 'raw device'! Of course. Sorry. Don't know > why I couldn't see it or remember the difference. Just now it hit me. > >> Well, in fact we have a block device interface and a character device >> interface, and they both talk to the same device. The difference is >> that the block interface is buffered and the character interface >> isn't. > > What's in a 'r'? That a device, by any other name, may drive as sweet. > To r or not to r, that is the question! To cache or not to cache is the real question. Raw devices write straight to the device; block devices go through the buffer cache. Sometimes it makes a difference. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message