www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/23/09:56:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 23 Apr 2003 09:57:15 -0400
From: Christopher Faylor <cgf-rcm AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin on a disk?
Message-ID: <20030423135715.GB2230@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3EA6865B DOT 9080205 AT verizon DOT net> <gd5dav83g2loqmgisqonn0uf5f0ns2d01n AT 4ax DOT com>
Mime-Version: 1.0
In-Reply-To: <gd5dav83g2loqmgisqonn0uf5f0ns2d01n@4ax.com>
User-Agent: Mutt/1.4.1i

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019