Inetutils and mount points

Corinna Vinschen
Wed Jun 28 01:44:00 GMT 2000

Dave Arnold wrote:
> autoexec.bat file but I still feel funny having so much nice stuff in a
> directory called e:\temp(this is my cygwin root directory /
> If I want to change the name to something better like e:/cygwin  how would I
> do this?
> I suspect I could do what you guys have been talking about, which is unmount
> everything including /  /usr/bin  /usr/lib and others then change the dir
> name from temp to cygwin then
> > mount -f -s -b e:/cygwin /
> > mount -f -s -b e:/cygwin/bin /usr/bin
> > mount -f -s -b e:/cygwin/lib /usr/lib
> and update my $PATH right?

First create the system mounts as above, then remove your user
mounts by

	umount /usr/lib
	umount /usr/bin
	umount /

then leave bash and rename your temp to cygwin and you are thru.
You don't need to change your $PATH.

For people who want to have user mount points instead:

cd to /bin and do all changes by prefixing the commands with "./":

	cd /bin
	./umount /usr/lib
	./umount /usr/bin
	./umount /
	./mount -f -b e:/cygwin /
	./mount -f -b e:/cygwin/bin /usr/bin
	./mount -f -b e:/cygwin/lib /usr/lib

then leave bash and rename your temp to cygwin.


Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list