Subject: Re: power management and related concerns
To: None <firstname.lastname@example.org>
From: Christos Zoulas <email@example.com>
Date: 07/08/2006 17:08:27
In article <firstname.lastname@example.org>,
SODA Noriyuki <email@example.com> wrote:
>>>>>> On Fri, 7 Jul 2006 18:05:34 -0700,
> Jason Thorpe <firstname.lastname@example.org> 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.