Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 1999 21:21:34 +0100
From:      Roelof Osinga <roelof@eboa.com>
To:        Greg Lehey <grog@lemis.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Have crashed, won't travel
Message-ID:  <36F6A64E.3DED5FB6@eboa.com>
References:  <19990304130126.B441@lemis.com> <36DE0352.E99BCB70@eboa.com> <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>

next in thread | previous in thread | raw e-mail | index | archive | help
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!

> Good point.  It should refuse to do anything.  When using fsdb, you
> want the changes to get back to disk immediately.  You're not worried
> about performance.

Well, at least I did *something* right :).

> This is arguably a bug.  /etc/termcap used to be a file, but they
> moved it to /usr/share/misc for some reason.  I personally didn't
> agree, but it was a majority decision.  To be fair, I can't see what
> fsdb even needs termcap for, but I suppose I could go look.

Lost call, force of habit. Something like that I'd venture.

Roelof

-- 
Home is where the (@) http://eboa.com/ is.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36F6A64E.3DED5FB6>