Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Feb 2003 23:06:08 +0100
From:      phk@freebsd.org
To:        Darryl Okahata <darrylo@soco.agilent.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: gbde & vnode md devices? 
Message-ID:  <82676.1044223568@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 02 Feb 2003 14:00:23 PST." <200302022200.OAA05982@mina.soco.agilent.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200302022200.OAA05982@mina.soco.agilent.com>, Darryl Okahata writes
:
>phk@freebsd.org wrote:
>
>> Say, do you actually have the GEOM_BDE option in your kernel ?
>
>     Sigh, no.  I missed it in gbde(4).
>
>     You might want to further idiot-proof gbde(8) with code like:
>
>err(1, "ioctl(GEOMCONFIGGEOM) (is \"options GEOM_BDE\" in the kernel?)");

Yeah, this will happen.  GBDE is the first user of what can only be
described as a very green config-API for GEOM classes.

One idea I have almost convinced myself to implement, despite its
unUNIX like nature is to include a char erortext[256] in the request
package because the idea that all errors have integer numbers gets
old really really fast with the rather complex conditions some of
the GEOM modules test for:

	return (EYOUARESHRINKINGAPARTITIONWHICHISOPEN)

I think not :-)

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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




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