Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sbin/newfs



At Fri, 10 Oct 2003 09:39:49 +0000 (UTC), "matthew green" wrote:
> i see there is a DIOCGPART ioctl that isn't used anywhere in our
> tree but does appear to be supported by all the drivers...perhaps
> that could be tried on the as-is name?  (i had a quick look at
> the code in newfs, but it wasn't clear how all the partitioning
> stuff works.)

"isn't used anywhere in our tree" meaning userland, right?  it seems
to be used in bunch of places in the kernel still.

it's meant for in-kernel use only.

look at its argument struct, and note that really what's being filled
in are the in-kernel pointers to structures...  It's really quite
gross.


I was gonna say, if the kernel isn't using it any more please nuke it
with prejudice (since it's so gross), but it looks like it's still in
use.



cgd





Home | Main Index | Thread Index | Old Index