Blob Blame Raw
#!/bin/sh

drivername=mapper

devicename=/dev/$drivername
major=`cat /proc/devices | grep $drivername | awk '{print $1;}'`

rm -f $devicename
mknod $devicename c $major 0
chmod go+rw $devicename