geom_sched usage
Miroslav Lachman
000.fbsd at quip.cz
Tue Oct 19 13:40:38 UTC 2010
David Naylor wrote:
> On Monday 18 October 2010 21:51:25 Luigi Rizzo wrote:
[...]
>>> - is there anyway to automatically attach gsched to a device on startup
>>> (i.e.
>>>
>>> in rc.conf)?
>>
>> no, you have to build some script yourself.
>
> Would there be any interest in having a rc.d/ script? I would find it
> conveniant to specify a single rc.conf line and get scheduling for all my
> devices. PC-BSD might find such functionality useful.
>
> See attached for my first draft at such a script, I'm willing to hash it into
> shape.
[...]
You can use `sysctl kern.disks` to find available disk devices in your
rc script.
Miroslav Lachman
More information about the freebsd-current
mailing list