Subject: Re: readdisklabel parameter change
To: Frank van der Linden <firstname.lastname@example.org>
From: Chris G. Demetriou <email@example.com>
Date: 09/05/1999 22:48:48
Frank van der Linden <firstname.lastname@example.org> writes:
> So, I want to change readdisklabel() to take a struct device * as well,
> so that dv_xname can be used for error messages.
With the current code as it is, this isn't gonna work so well.
There exist plenty of disk devices (really, pseudo-devices 8-) which
don't have 'struct device's associated with them. looks like 'struct
disk' may do what you're hoping for, though.
Chris Demetriou - email@example.com - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.