Subject: Re: power management and related concerns
To: None <>
From: Christos Zoulas <>
List: tech-kern
Date: 07/08/2006 17:08:27
In article <>,
SODA Noriyuki  <> wrote:
>>>>>> On Fri, 7 Jul 2006 18:05:34 -0700,
>      Jason Thorpe <> said:
>>> this is false.  we have added more info to several sysctl's that
>>> could have been ioctl's and it did not require versioning the
>>> interface.  see KERN_PROC2.
>> I was pretty much speaking about ioctls.
>How ioctls differ from sysctl?
>It's just same with sysctl from this point of view.
>i.e. You can just assign different ioctl number.

The ioctl number has the size encoded in the ioctl. In sysctl it is separate.
So if you change the struct size in an ioctl, the ioctl number will change.
In the sysctl case, the size is passed in separately.