This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: Slowdown
- From: "Pierre A. Humblet" <Pierre dot Humblet at ieee dot org>
- To: cygwin-developers at cygwin dot com
- Date: Sat, 29 Jun 2002 18:31:41 -0400
- Subject: Re: Slowdown
- References: <20020629031639.GA14536@redhat.com><3D1B4043.EF2CA37A@ieee.org><3D1B4043.EF2CA37A@ieee.org><3.0.5.32.20020627224059.0080d5b0@mail.attbi.com><20020629031639.GA14536@redhat.com>
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