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: slow filesystem access mc start take sometimes 1 sec sometimes upto 7 sec or sometimes more


Bernd Roesch wrote:
Hello Larry

On 21.09.08, you wrote:

thanks to your help, i find now out whats problem.it seem not allowed to
change
in the cygwin.bat file the HOME dir.

here it is suggestet to do.also on other pages.so i first get not in mind,
that this is problem.

http://www.jabadaw.co.uk/maverik/cygwin.html

"""""
Using wordpad, create a .bat file for starting cygwin:

.....
SET HOME=C:\CYGWIN\HOME\KEATESM
SET CYGWIN=tty binmode
CD %HOME%
bash
"""""

Because i dont like HOME in my home dir on drive c, i add the line in
cygwin.bat

set HOME=E:\amiga\amidevcpp

I use the dir i install cygwin, and it is no windows homedir.

and when i remove this line in cygwin.bat , cygwin work always fast.but
because my etc dir is not there, i add in etc/profile a line export
HOME=e:/amiga/amidevcpp

then all work ok.i dont want now my hand modified passwd file and do

mkpasswd -l > etc/passwd

the passwd is create on correct place.
After bash restart, bash, mc etc all work fast now.

So i think its illegal to change the homedir on the bat file ?

No, it's not. I don't have an explanation for the behavior you're seeing.

Your solution will work, though it has the disadvantage of setting
HOME for all Cygwin users and it won't work for 'ssh', if you ever
decide to use that.  An alternative that should do the same thing
and avoid the problems I mentioned above is to use the '-p' flag
to 'mkpasswd'.  If you're concerned that you'll forget to add the
flag and its option text if you run 'mkpasswd' again, you can always
create a mkpasswd alias that includes what you want/need.

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

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


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