This is the mail archive of the cygwin@sourceware.cygnus.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]

Re: Inetutils and mount points


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

-- 
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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