From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Svetoslav Slavtchev" Date: Wed, 17 Dec 2003 23:06:42 +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="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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,=20 > > >=20 > > > What user? How does the kernel know what user a device is for? :) > > >=20 > > > > and additionally chains them to the devfs one's in udev.rules.devfs > > >=20 > > > 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. > > >=20 > >=20 > > 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 > >=20 > > if we use a single configuration file for creating devfs compatible > devices > > and for user defined rules IMHO it's getting a bit messy=20 > > so i think it would be good to use two separate files > > one just for user defined rules - e.g. BUS=3D"usb" type=3D"cdrom" > > NAME=3D"usb-cdrw" > > and one for devfs compatibilty=20 >=20 > 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. i was also thinking of an "include" and i think it's more elegant then some bash scripts or the like :-) svetljo --=20 +++ GMX - die erste Adresse f=FCr Mail, Message, More +++ Neu: Preissenkung f=FCr MMS und FreeMMS! http://www.gmx.net ------------------------------------------------------- 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_id=1278&alloc_id371&op=3Dclick _______________________________________________ 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