In message <[EMAIL PROTECTED]>, "Bria
n F. Feldman" writes:
>On Tue, 20 Jul 1999, Poul-Henning Kamp wrote:
>> In message <[EMAIL PROTECTED]>, "Bria
>> n F. Feldman" writes:
>> >>   /ddname = find_dev/s/BLK/CHR/
>> >
>> >No, that's wrong. You cannot do buffered-type IO on a cdev. I committed
>> >a workaround, and now it works. There's no easy way around this, except
>> >possibly making kern.dumpdev a string (makes quite a bit of sense there...)
>> Indeed.  a dev_t should never be exported as such from the kernel
>> anymore, in particular not for bdevs.  dumps and swap are the two
>> offenders left.
>Should I commit a similar workaround for the swap code too? Quite
>simple to do...

Please so, but I would appreciate if you would do me the favour of
hiding the guts of this monstrosity in kern/kern_conf.c in a function
called dev2budev() ?

Poul-Henning Kamp             FreeBSD coreteam member
[EMAIL PROTECTED]               "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to