This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How big are your /etc/passwd and /etc/group files?


On 31 January 2014 21:37, Corinna Vinschen wrote:
> Hi guys,
>
> as you may or may not have read, I'm working on a patch which drops the
> need to maintain /etc/passwd and /etc/group files, but rather loads all
> required information from Windows (either SAM or AD).
>
> It's all working pretty nicely already, but there's one part of my
> changes which is a bit, let's say, questionable in terms of memory
> usage, *iff* a user decides to stick to the passwd and group files.
>
> To learn what I have to struggle with in this situation, I'd like to
> know this:
>
>   Is anybody here who's using /etc/passwd and/or group files
>   of more than 16K in size?
>
> If so, please reply to this thread with the size of your files.

`--> du -h /etc/passwd /etc/group
2.9M    /etc/passwd
4.0K    /etc/group

I have just generated it using the recommended way at the time, few
years ago. I could probably trim it down to just my own record.

>
>
> Thanks in advance,
> Corinna
>
>
> P.S:  As a sidenote, if you think Cygwin is slow, one factor *might* be
>       the size of your passwd and group files.  Right now, these files
>       have to be loaded anew in each exec'ed process.
>       This is supposed to go away with my patch, but big passwd and
>       group files would still have an impact when starting the first
>       Cygwin process (mintty, for instance).

-- 
VZ

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]