Date: Tue, 19 Oct 2010 15:20:57 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> To: David Naylor <naylor.b.david@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: geom_sched usage Message-ID: <4CBD9B39.1040101@quip.cz> In-Reply-To: <201010190807.59491.naylor.b.david@gmail.com> References: <201010180943.37042.naylor.b.david@gmail.com> <20101018195125.GA46115@onelab2.iet.unipi.it> <201010190807.59491.naylor.b.david@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CBD9B39.1040101>