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: Is it possible to change root dir / from c:\ to something else?


Hi Rai,,

>Is it possible to change the root directory from c:\
>to some other directory or drive (for e.g. j:\)?

Yes, of course.
Easiest way is to change it in the registry directly:
Goto
[HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts]

There are a few mount points from 00 to 0x; find the one with the following
values:

"native"="C:"
"unix"="/"
"fbinary"=dword:00000001
"fsilent"=dword:00000000

and change native= to whatever you want.
Leave all Cygwin programs before you do this.

>
>
>Thanks,
>
>Suraj

Bye.
Michael.
--
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mailto:mh@mike.franken.de
                         | WWW     http://aquarius.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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