From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Wed, 22 Oct 2003 23:52:10 +0000 Subject: Re: [ANNOUNCE] udev 004 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 On Wed, Oct 22, 2003 at 05:24:24AM +0200, Kay Sievers wrote: > On Tue, Oct 21, 2003 at 01:50:46PM -0700, Greg KH wrote: > > On Tue, Oct 21, 2003 at 10:34:04PM +0200, Kay Sievers wrote: > > > > > I was looking how to set permissions on the created node. > > > What is the future of struct device_attr? > > > Same values are in struct udevice now? > > > > device_attr will go away. I was leaving the namedev.c file alone when I > > did the udevice cleanups so that merging with Dan's changes would be > > easier. Now I'm about to go clean that up. > > Hi, > > attached is a patch for udev-add.c to set file permissions. Nice. > The problem is that the resolving of owner/group name to its numeric id > needs shared libc libs. What does this mean for klibc? Hm, not good. udev has to be able to be linked statically. I just got the klibc build working properly, and it makes a world of difference in size compared to glibc. Could we convert the permissions file to numbers at build time? That way the /etc/* file parsing would not be needed. Yeah, it's not the nicest solution. Anyone know of any other way we can do this properly? Remember we have to be able to create nodes before the real /etc is even mounted. thanks, greg k-h ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ 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