This is the mail archive of the cygwin-developers@cygwin.com 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: Slowdown


At 09:57 AM 6/29/2002 +0200, Corinna Vinschen wrote:
>I think it's most sane to
>
>- Look for $HOME
>- Try /etc/passwd
>- Look for HOMEDRIVE/HOMEPATH
>- Lookup on the server
>- Give up, aka use HOME=/home/$username

It's your baby, and you are a very good mother! What does
linux do if you don't have HOME or home in /etc/passwd ?

Seriously, the reason I wouldn't look up server on startup 
is to avoid what happened recently. Somebody was running happilly 
at the office but complained about slow start when running at home
as a domain user detached from the network.
I would still lookup the server after setuid (to set HOMEDRIVE/HOMEPATH),
because the server must be available anyway to setuid to a domain user.

Pierre


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