delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/29/10:33:22

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: Fri, 29 Apr 2005 10:33:09 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: Running cygwin from thumbdrive
In-Reply-To: <20050429000749.GC9892@trixie.casa.cgf.cx>
Message-ID: <Pine.GSO.4.61.0504291030410.5266@slinky.cs.nyu.edu>
References: <d4rj1f$k1n$1 AT sea DOT gmane DOT org> <20050429000749 DOT GC9892 AT trixie DOT casa DOT cgf DOT cx>
MIME-Version: 1.0

On Thu, 28 Apr 2005, Christopher Faylor wrote:

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

Also Google for something like a "minimal Cygwin installation" -- this has
been discussed before.

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

This script would, of course, need to save whatever mount table is already
present on the machine, and restore it afterwards, to avoid screwing up
the existing Cygwin installations.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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