Hello,
* attriel wrote on 10/22/03:
> > * Goetz Bock [2003-10-22 08:03]:
> >>
> >> That looks fataly like a devfs image on a non devfs kernel.
> >>
> >> Change the fstab to /dev/ubda (or /dev/ubd0, depending on how the
> > ...and if these devices doesn't exist:
> >
> > for i in 0 1 2 3 4 5 6 7; do mknod /dev/ubd$i b 98 $i; done
>
> Uh, that's going to create ubd1 as 98/1 and it should be 98/16 ...
>
> my (horribly lacking) bash skills suggest that it should be:
>
> for i in 0..7; do mknod /dev/ubd$1 b 98 $(($i * 16)); done
>
> but I don't think that will actually work without someone what knows bash
> scripting going through and fixing it ...
That's it:
for i in 0 1 2 3 4 5 6 7; do mknod /dev/ubd$i b 98 $(($i*16)); done
(Your 2 "mistakes" were perl-related...)
Greets,
Tom
-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
|