This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

Re: cygwin on a disk?


On Wed, Apr 23, 2003 at 02:44:42PM +0100, Sam Edge wrote:
>Kevin Soandso <k dot junk at verizon dot net> wrote in
><3EA6865B dot 9080205 at verizon dot net>
>in gmane.os.cygwin on Wed, 23 Apr 2003 08:26:03 -0400:
>
>> I use cygwin at home and work all the time and I love it. Many thanks to 
>> all the developers and contributors.
>> 
>> I have a 64MB removable USB drive, about the size of a pen. I would like 
>> to minimally install cygwin on this drive and and take it from computer 
>> to computer. The idea is to simply plug the drive into the USB port of 
>> any Windows machine and have my personal cygwin environment there to 
>> use. I won't have the same Windows account on these machines (if at 
>> all), but I'd like to use the same cygwin login and home dir.
>> 
>> Is there something about the way cygwin works that will prevent this?
>> Has anyone made "cgywin on a disk" ?
>> How could I do this, what do I need?
>
>There is an issue here, other than reducing the x:\cygwin tree to fit
>onto the disc. Mine's rather larger than 64M. ;-)
>
>The mount table for Cygwin lives in the registry. You'd need to
>install a ".reg" file on each new machine before you could start with
>at least the following in it.

DO NOT MANIPULATE THE REGISTRY DIRECTLY.
DO NOT MANIPULATE THE REGISTRY DIRECTLY.
DO NOT MANIPULATE THE REGISTRY DIRECTLY.
DO NOT MANIPULATE THE REGISTRY DIRECTLY.
DO NOT MANIPULATE THE REGISTRY DIRECTLY.
DO NOT MANIPULATE THE REGISTRY DIRECTLY.
DO NOT MANIPULATE THE REGISTRY DIRECTLY.
DO NOT MANIPULATE THE REGISTRY DIRECTLY.
DO NOT MANIPULATE THE REGISTRY DIRECTLY.
DO NOT MANIPULATE THE REGISTRY DIRECTLY.
DO NOT MANIPULATE THE REGISTRY DIRECTLY.
DO NOT MANIPULATE THE REGISTRY DIRECTLY.
DO NOT MANIPULATE THE REGISTRY DIRECTLY.
DO NOT MANIPULATE THE REGISTRY DIRECTLY.
DO NOT MANIPULATE THE REGISTRY DIRECTLY.

>REGEDIT4
>
>[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2]
>"cygdrive prefix"="/cygdrive"
>"cygdrive flags"=dword:00000022
>
>[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/]
>"native"="C:\\cygwin"
>"flags"=dword:0000000a
>
>[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts
>v2\/usr/bin]
>"native"="C:\\cygwin/bin"
>"flags"=dword:0000000a
>
>[HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts
>v2\/usr/lib]
>"native"="C:\\cygwin/lib"
>"flags"=dword:0000000a
>
>(You could use HKEY_CURRENT_USER instead, I think, if you don't want
>to affect every user on the machine.)

mount.exe is 19.5K.  It's well worth including this in the minimal cygwin
installation and not manipulating the registry directly.

cgf

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