delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/28/20:08:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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: Thu, 28 Apr 2005 20:07:49 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Running cygwin from thumbdrive
Message-ID: <20050429000749.GC9892@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <d4rj1f$k1n$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <d4rj1f$k1n$1@sea.gmane.org>
User-Agent: Mutt/1.5.8i

On Thu, Apr 28, 2005 at 02:08:16PM -0700, Matrix Mole wrote:
>Is it possible to install cygwin in such a way that it can be run 
>reliably from a thumbdrive? If so, how much of a minimal installation 
>should be performed? I have a 64MB on my thumbdrive that I can safely 
>allocate to using with cygwin if such a task were possible.
>
>As to how to perform the installation. Would I simply run the setup 
>program and direct the installer to install the files to a directory on 
>the thumbdrive itself?

I think you might be better off installing things on a hard drive and
just copying what you need.  You probably don't want documentation on
the thumb drive and most packages come with some kind of documentation.

If you create bin and lib directories on the drive you could copy
bash.exe, cygwin1.dll, and whatever other utilities you think are
appropriate.

>Would any problems arise from running cygwin from the thumbdrive since 
>the drive letter changes depending on which machine it is plugged into? 
>If so, any ideas on how to get around such a problem?

Is it possible to run a program whenever the thumb drive is attached to
the system?  If it was possible to do that you could probably write a
shell script which runs mount to sets up the mount table appropriately
whenever the thumb drive is plugged in.

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