[Lguest] /dev/lguest
Andrey Peredriy
Andrey.Peredriy at kvazar-micro.com
Tue Aug 26 16:27:21 EST 2008
Thank you!
It works now fine!
On Sat, 23 Aug 2008 16:34:15 +0300, Bart Trojanowski <bart at jukie.net>
wrote:
> Hi Andrey,
>
> * Andrey Peredriy <Andrey.Peredriy at kvazar-micro.com> [080821 10:47]:
>> root at tux:~# 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.
More information about the Lguest
mailing list