From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 02 Mar 2004 20:15:35 +0000 Subject: Re: [linux-hotplug-devel] Re: udev - TODO update Message-Id: <20040302201534.GA3191@kroah.com> List-Id: References: <20040212234538.GC21117@vrfy.org> In-Reply-To: <20040212234538.GC21117@vrfy.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, Mar 02, 2004 at 08:32:38AM +0100, Wout Mertens wrote: > Sunday at 05:01, Kay Sievers ponderously produced: > > > On Sat, Feb 28, 2004 at 05:37:10PM -0500, Robert Love wrote: > > > On Sat, 2004-02-28 at 17:19, Kay Sievers wrote: > > > > > > > I did it :) > > > > Please have a look. If this is what you want, I will solve the klibc > > > > beast. > > > > > > You are incredible, Kay. This is exactly what I was planning. > > > > And this is exactly what I want to hear :) > > > > > Adding utmp parsing to klibc cannot be fun, though.. ;) > > > > Oh, it's only list of a static record in a file. So here is the first try. > > Uhm, actually, you should use getpwuid() on a real system. /etc/group is > just some old file. /etc/nsswitch.conf tells you where to find the real > information, which could be on LDAP or whatnot. getent() does this for > you. > > Of course, klibc probably doesn't have getpwuid(). So for early > userspace your implementation may be correct. > > But consider my previous post: Why not just copy the permissions from > /dev/console? Because udev creates /dev/console :) thanks, greg k-h ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&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