Re: adding aacraid support for i386 bf
(No need to CC, thank's)
Adam Di Carlo wrote:
>
...
> Well, there are two issues.
>
> (1) one or more of the the kernel-image-2.2.19-* packages we use must
> include these drivers. That's up to the maintainer of these
> packages, Herbert Xu.
Done in compat (cf. mail from herbert).
>
> (2) any devices in the root filesystem that we need must be there.
> Can you check that and see if there are any devices we're not
> supplying which need to be added?
Just checked the root.bin from compat in boot-floppy-3.0.11. The device
isn't
there.
That's what I got on a running PowerEdge :
$ ls -lisa /dev/afa*
17450 0 crw------- 1 root root 254, 0 Mar 17 17:17
/dev/afa0
17451 0 crw------- 1 root root 254, 1 Mar 17 20:47
/dev/afa1
And in attachement is the MAKEDEV.afa from RH/Dell.
Thank's,
Fab
#!/bin/sh
#devname="afa"
devname="aac"
device="afa"
mode="600"
major=`cat /proc/devices | awk "\\$2==\"$devname\" {print \\$1}"`
minor=`echo $1 | awk '{print substr($1,length($1))}'`
if [ $major ]
then
if [ "$1" != "" ]
then
if [ $minor -le 7 ]
then
rm -f $1
mknod $1 c $major $minor
chmod $mode $1
else
echo ""
echo "Usage:"
echo " $0 ${device}[0-7]"
echo ""
fi
else
echo ""
echo "Usage:"
echo " $0 ${device}[0-7]"
echo ""
fi
else
echo ""
echo "$0: Can not derive the major number for device $device."
echo ""
fi
Reply to: