Re: geom_sched usage

From: Miroslav Lachman <000.fbsd_at_quip.cz>
Date: Tue, 19 Oct 2010 15:20:57 +0200
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
Received on Tue Oct 19 2010 - 11:40:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:08 UTC