Re: 2x file listings, comments

Alexander Skwar <[email protected]> Tue, 24 Jul 2007 09:49:47 +0200
Newsgroups gmane.comp.sysutils.backup.dar.general
Organization n/a
Message-ID <[email protected]>
David Fries <[email protected]> wrote:

> I started coding up the user and group as a cache system, but if I did
> complete it that way I didn't keep that version.  I figured it would
> be better to parse /etc/passwd once rather than a bunch of times, and

I might be out of context, but why are *you* _parsing_ /etc/passwd?
What do you do, if users aren't in /etc/passwd, but in some other
database (NIS, LDAP, ...)? Are you using getpwent() functions?

Alexander Skwar


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/