From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DKnm8-00043l-MA for qemu-devel@nongnu.org; Sun, 10 Apr 2005 21:31:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DKnm2-000411-JF for qemu-devel@nongnu.org; Sun, 10 Apr 2005 21:31:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DKnm1-0003xu-OS for qemu-devel@nongnu.org; Sun, 10 Apr 2005 21:31:33 -0400 Received: from [202.172.235.150] (helo=datalex.com.sg) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DKo9n-0005yK-7v for qemu-devel@nongnu.org; Sun, 10 Apr 2005 21:56:07 -0400 Message-ID: <4259D8D7.5090302@tusker.org> Date: Mon, 11 Apr 2005 09:54:31 +0800 From: Damien Mascord MIME-Version: 1.0 Subject: Re: [Qemu-devel] suggestion for /dev/kqemu? References: <41e41e7a05041018357bc7b930@mail.gmail.com> In-Reply-To: <41e41e7a05041018357bc7b930@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hetz Ben Hamo , qemu-devel@nongnu.org Hetz Ben Hamo wrote: > Hi, > > I'm trying to look for a solution for the following problem which > happend either on the latest Redhat Enterprise and in Fedora Core 3 > and above: > > Since every time that the machine is being rebooted, it creates > devices in /dev/ according to what it being asked by /etc/udev.. > > Does anyone know what should I put (and where) in /etc/udev so that > I'll have /dev/kqemu every time I boot? I know I can do it with a > simple line which can be added to /etc/rc.d/rc.local or something, but > I want some "standard" way to do that.. > > Thanks for the help, > Hetz Hi Hetz, Sorry to point you to a tutorial, but this one is quite detailed: http://www.reactivated.net/udevrules.php >>From what I can gather (since I don't use udev), the following should work for kqemu... # udevinfo -q path -n /dev/kqemu # which should return something like: /class/kernel/module/xxx # udevinfo -a -p /class/kernel/module/xxx >>From that output, you should be able to create a line similar to: BUS="kernel", SYSFS{serial}="L72010011070626380", NAME="%k" This may be totally off base, so let me know how it goes :) Cheers, Damien