New g_part class

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Feb 6 10:35:32 UTC 2007


In message <eq9lfb$5o4$1 at sea.gmane.org>, Ivan Voras writes:
>Poul-Henning Kamp wrote:
>
>> Considering the fact that editing can be done equally well in
>> userland, what is the rationale or benefit of putting the code into
>> the kernel, to deal with very infrequent operations to change the
>> disk-layout ?
>
>Hmm, editing partition in userland... isn't there some well known
>problem with editing partitions in userland requiring setting
>kern.geom.debugflags to 16 before continuing? I might be wrong, but I
>think this was one of the problems with geom_gpt?

If the geom classes are implemented correctly, you should never
need to set kern.geom.debugflags.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at 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.


More information about the freebsd-geom mailing list