Subject: Re: readdisklabel parameter change
To: Frank van der Linden <email@example.com>
From: Chris G. Demetriou <firstname.lastname@example.org>
Date: 09/05/1999 22:48:48
Frank van der Linden <email@example.com> 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 - firstname.lastname@example.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.