delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/28/11:34:25

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
Message-ID: <4017DFCE.8080104@cs.york.ac.uk>
Date: Wed, 28 Jan 2004 16:14:06 +0000
From: Chris Jefferson <caj AT cs DOT york DOT ac DOT uk>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
CC: zzapper <david AT tvis DOT co DOT uk>
Subject: Re: Cut-down Cygwin on a USB Memory Stick?
References: <dbif10l1pjuq8gepli7deiuomgkjr1suq1 AT 4ax DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0401280950020 DOT 5576 AT slinky DOT cs DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.56.0401280950020.5576@slinky.cs.nyu.edu>
X-IsSubscribed: yes

Igor Pechtchanski wrote:

>On Wed, 28 Jan 2004, zzapper wrote:
>
>  
>
>>Hi Y'All
>>
>>Anyone investigated putting a cutdown version of CygWin onto a memory
>>stick (128MB or bigger).
>>What would you need the dlls vim,find,grep,ls etc??
>>
>>zzapper (vim & cygwin & zsh)
>>    
>>
>
>Sure.  Google for "Cygwin on CD".  Some issues (mostly having to do with
>the read-onlyness of CDs) won't come up with the memory stick, others will
>(/etc/passwd contents, for example).  As for what's needed, here's a
>simple recipe:
>
>Step 1: Find all the programs you'd like to have, copy them to a directory
>on your hard drive.
>
>Step 2: Change to that directory and run "cygcheck *.exe".
>
>Step 3: Copy all the non-Windows DLLs listed in Step 2 into the directory.
>
>Step 4: Move the whole directory to the memory stick and rename it to "bin".
>
>  
>

Another minor point which I found useful for USB keying is to look up 
"upx"ing (available in cygwin, although the closed-source version gets 
better compression) all of the executables and dlls. you can get some 
fair reduction in space requirements and definatly if you use a USB 1.1 
device you'll probably find a speed improvement too.

Chris


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