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

-- 
                                WebSig: http://www.jukie.net/~bart/sig/
_______________________________________________
Lguest mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/lguest

Reply via email to