Skip to contentSkip to conversation

what is the major, minor numbers of kqemu under linux ?

Qemu-devel Ozan Türkyılmaz 4 participants 6 messages Sep 20, 2005

lore
Share & tools
lore
#0 lore raw

what is the major, minor numbers of kqemu under linux ? i need to know so that i can create the /dev/kqemu file. (kqemu's install script did not create one under SLackWare 10.1)

Signature · 1 line
Ozan
#1 lore raw

mknod /dev/kqemu c 250 0

you should chmod it then in order to use it even if not root.

hope that helps,
Mattéo

Quoted 4 lines · Ozan Türkyılmaz

what is the major, minor numbers of kqemu under linux ? i need to know so that i can create the /dev/kqemu file. (kqemu's install script did not create one under SLackWare 10.1)

#5 lore raw
In reply to Ozan Türkyılmaz
Quoted 3 lines · On Tue, 20 Sep 2005, [ISO-8859-9] Ozan Türkyýlmaz wrote:

what is the major, minor numbers of kqemu under linux ? i need to know so that i can create the /dev/kqemu file. (kqemu's install script did not create one under SLackWare 10.1)

See install.sh or kqemu-doc.html

Regards
Henrik

#3 lore raw
In reply to Mike Swanson
Quoted 4 lines · Mike Swanson

It's a character device. Major 250, minor 0

Also, it's important that you don't have the kqemu module loaded when you create the node.

Why? The existence of device nodes is only relevant to user-space, not kernel modules (only once the device node exists can user-space contact the kernel module)

Regards
Henrik

#4 lore raw

I don't know... I've tried to create the node before, but it only seems to work when kqemu is not loaded. Perhaps it's a bug, but it's the way it works, for me at least.

Quoted 7 lines · Henrik Nordstrom

Why? The existence of device nodes is only relevant to user-space, not kernel modules (only once the device node exists can user-space contact the kernel module)

Regards
Henrik

Signature · 1 line
Mike