Re: setting up crypto softraid

2010-07-29 Thread Daniele Pilenga
Hi, On Fri, Jul 30, 2010 at 7:28 AM, Jan Stary wrote: > On Jul 29 23:03:18, Tomas Vavrys wrote: >> Or you can try this, also in /etc/rc. > > That's not what I meant. I don't want to tweak /etc/rc itse;f. > What I was asking is whether there are variables I could set > in rc.conf.local, as with ot

Re: setting up crypto softraid

2010-07-29 Thread Jan Stary
On Jul 29 23:03:18, Tomas Vavrys wrote: > Or you can try this, also in /etc/rc. That's not what I meant. I don't want to tweak /etc/rc itse;f. What I was asking is whether there are variables I could set in rc.conf.local, as with other features. Probably not, so I will continue using my tiny scri

Re: setting up crypto softraid

2010-07-29 Thread Jona Joachim
On 2010-07-29, Jan Stary wrote: > I have found myself replicating a tiny script that sets up crypto > on most of my recent machines, either in rc.local directly or calling > it from rc.local. Is this the right way to do it, or is there some > support for it in rc(8) already that I missed? > >

Re: setting up crypto softraid

2010-07-29 Thread Tomas Vavrys
Or you can try this, also in /etc/rc. # Configure raid devices. until bioctl -c C -l /dev/sd0d softraid0; do done for dev in 0 1 2 3; do if [ -f /etc/raid$dev.conf ]; then raidctl -c /etc/raid$dev.conf raid$dev fi done On 07/29/10 22:04, Jiri B. wrote: > On Thu,

Re: setting up crypto softraid

2010-07-29 Thread Jiri B.
On Thu, 29 Jul 2010 13:38:18 +0200 Jan Stary wrote: > I have found myself replicating a tiny script that sets up crypto > on most of my recent machines, either in rc.local directly or calling > it from rc.local. Is this the right way to do it, or is there some > support for it in rc(8) already th

setting up crypto softraid

2010-07-29 Thread Jan Stary
I have found myself replicating a tiny script that sets up crypto on most of my recent machines, either in rc.local directly or calling it from rc.local. Is this the right way to do it, or is there some support for it in rc(8) already that I missed? Jan #!/bin/sh RAIDPART=/dev/sd0o CRYP