Changing cygwin directory

Igor Pechtchanski pechtcha@cs.nyu.edu
Mon Apr 21 14:45:00 GMT 2003


On Mon, 21 Apr 2003, Pierre Mallard wrote:

> Hi,
> I was used to have cygwin at C:
> And I'd like to move it to d:,
> What are the op I must do in order to make it works?
> I've already change the cygwin.bat but still it can't
> run properly :
> Here is what it prompt (after moving cygwin directory
> to d: and changing cygwin.bat file):
> bash.exe: warning: could not find /tmp, please create!
> bash-2.05b$
>
> He can't find sh, ls,... and I didn't succeed in
> trying to find some c: text in cygwin directory...
> Thanx for help
> Regards
> Pierre

Pierre,

You forgot to update your mount table.  Try running the following from a
bash session:

cd /cygdrive/d/cygwin/bin
eval "`./mount -m | ./sed 's/c:/d:/i'`"

Hope this helps,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
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/



More information about the Cygwin mailing list