From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roman Zippel Date: Fri, 11 Apr 2003 18:02:41 +0000 Subject: Re: [ANNOUNCE] udev 0.1 release Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi, On Thu, 10 Apr 2003, Greg KH wrote: > I'd like to finally announce the previously vapor-ware udev program that > I've talked a lot about with a lot of people over the past months. The > first, very rough cut is at: > kernel.org/pub/linux/utils/kernel/hotplug/udev-0.1.tar.gz Is there a special reason why you call mknod? Otherwise you could simply do: syscall(SYS_mknod, name, S_IFBLK | mode, dev); This way you don't have to care about major/minor/glibc issues. > Yes, I know there's still a lot of work to do (serialization, symlinks, > hooking hotplug so that others can also use it, etc.) but it's a first > step :) To help serialization and perfomance issues, it might help to add a daemon mode to hotplug. The kernel calls hotplug with a pipe from which it reads the event data, after a certain timeout it can close the pipe and exit. bye, Roman ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel