Genrate /dev/xvda using MAKEDEV
MAKEDEV generic
MAKEDEV std
However, this does not generate the /dev/xvda, /dev/xvdb, ….
Any idea how do this?
3 Replies
XEN_MAJOR=202
XEN_MINOR=0
for XEN_DRIVE in a b c d e f g h
do
if [ ! -e xvd$XEN_DRIVE ]
then mknod xvd$XEN_DRIVE b $XEN_MAJOR $XEN_MINOR
fi
let "XEN_MINOR = $XEN_MINOR + 16"
done
chown root:disk xvd*
chmod g+w xvd*
That creates them in pwd
so you need to cd /dev first.
-James
Apparently if "Xenify distro" is enabled in the Linode Manager, this will be done when you boot