Thank you!
It works now fine!
On Sat, 23 Aug 2008 16:34:15 +0300, Bart Trojanowski <[EMAIL PROTECTED]>
wrote:
Hi Andrey,
* Andrey Peredriy <[EMAIL PROTECTED]> [080821 10:47]:
[EMAIL PROTECTED]:~# ls -l /dev/lguest
ls: /dev/lguest: No such file or directory
Please, mail me output from ls -l /dev/lguest
Here is what I have:
crw-rw---- 1 root root 10, 63 2008-08-23 09:24 /dev/lguest
But looking at the code ...
static struct miscdevice lguest_dev = {
.minor = MISC_DYNAMIC_MINOR,
.name = "lguest",
.fops = &lguest_fops,
};
... your minor number could be way off mine.
Just run this:
mknod /dev/lguest c \
$(awk '/misc$/ { print $1 }' /proc/devices) \
$(awk '/lguest$/ { print $1 }' /proc/misc)
-Bart
--
A.P.
_______________________________________________
Lguest mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/lguest