From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Wed, 17 Dec 2003 22:30:45 +0000 Subject: Re: udev.rules.devfs + symlinks & a question 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 On Wed, Dec 17, 2003 at 09:16:33PM +0100, Svetoslav Slavtchev wrote: > > On Sat, Dec 13, 2003 at 01:58:20AM +0100, Svetoslav Slavtchev wrote: > > > it would be really great if one could enable devfs like name in > > udev.conf > > > and then udev checks udev.rules for user defined rules, > > > > What user? How does the kernel know what user a device is for? :) > > > > > and additionally chains them to the devfs one's in udev.rules.devfs > > > > Nah, if you want a devfs like udev config, you will have to specify it. > > Remember you are not the "normal" user of udev by any means. > > > > let's put it this way: > i'm tring to figure out a way to replace devfs by udev > in mandrake linux > it's next version will ship with both 2.4 & 2.6 kernel, > and mandrake has used devfs since it switched to the 2.4 kernel > so devfs compatibility is quite needed > > if we use a single configuration file for creating devfs compatible devices > and for user defined rules IMHO it's getting a bit messy > so i think it would be good to use two separate files > one just for user defined rules - e.g. BUS="usb" type="cdrom" > NAME="usb-cdrw" > and one for devfs compatibilty We could add "include" support for the config files, but why not just generate your "master" config file whenever the config is changed. cpp or any other text processing program could easily generate a master config from multiple config files. thanks, greg k-h ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ 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