On Sat, May 23, 2009 at 01:26:43PM +0000, Uwe Dippel wrote:
> Janne Johansson <jj <at> it.su.se> writes:
> 
> > Isn't that the case with all fstab entries right now?
> > 
> > You get the computer to list some drive before other disks, raid or no 
> > raid, and fstab breaks on you.
> 
> No, you didn't read it carefully enough. fstab breaks on me when I shove in a
> drive 'before', true. But when I add a 'higher' one, everything is fine. 
> Believe
> me, I have a bunch. softraid is different, because ANY added physical drive 
> will
> increase the count, and push the softraid drive one notch nigher.

I have tried a hackish solution (my goal was to encrypt
as much as possible of an USB drive to create a standalone
encrypted OpenBSD USB disk) in which I used a separate partition
for /etc (on encrypted softraid), a new /etc/rc on the
root partition that located the softraid drive, mounted /etc
read-write, edited /etc/fstab to correct boot drive and
softraid drive, and then called the real /etc/rc.

It is ugly but working. What was hairy was to do the
job using only / (/bin, /sbin). Your problem could be solved
with a similar solution. Until OpenBSD can mount using
(for example) disklabels.

> 
> Uwe

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB

Reply via email to