Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: Sam Edge <sam.edgeZZZ@lineone.net>
To: cygwin@cygwin.com
Subject: Re: cygwin on a disk?
Date: Wed, 23 Apr 2003 18:17:24 +0100
Organization: .
Reply-To: cygwin@cygwin.com
Message-ID: <dagdavol1cnt40vbdt4aek5jdre9le9a5s@4ax.com>
References: <3EA6865B.9080205@verizon.net> <gd5dav83g2loqmgisqonn0uf5f0ns2d01n@4ax.com> <20030423135715.GB2230@redhat.com>
In-Reply-To: <20030423135715.GB2230@redhat.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="--=_4lidavsn5dhen38rtjn0ikbtctjk3146it.MFSBCHJLHS"
X-Posting-Agent: Hamster/2.0.0.0

----=_4lidavsn5dhen38rtjn0ikbtctjk3146it.MFSBCHJLHS
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

cgf wrote in <20030423135715.GB2230@redhat.com>
in gmane.os.cygwin on Wed, 23 Apr 2003 09:57:15 -0400:

> DO NOT MANIPULATE THE REGISTRY DIRECTLY.
> mount.exe is 19.5K.  It's well worth including this in the minimal =
cygwin
> installation and not manipulating the registry directly.

I wasn't sure whether mount.exe would work without a minimum registry
configuration already there, especially for the root and so on. If you
say it doesn't mind then fair enough.

So the trick is to write a little install command such as the attached
one and call it with the USB drive letter as a parameter before you
start a bash shell with cygwin.bat.

You could make usb-cyg.bat create a cygwin.bat file on the hard disc
on the machine instead of re-writing the one on the USB drive every
time so that you don't need to re-run it when you go back to a
machine. There are plenty of other ways you might like to improve it.
(I've probably forgotten something in the batch file anyway!) ;-)

Regards,

--=20
Sam Edge

----=_4lidavsn5dhen38rtjn0ikbtctjk3146it.MFSBCHJLHS
Content-Type: application/octet-stream; name=usb-cyg.bat
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=usb-cyg.bat

U0VUIFVTQl9EUklWRT0lMQ0KU0VUIENZR1dJTj1ub2dsb2INClNFVCBQQVRIPSVVU0JfRFJJVkUl
OlxjeWd3aW5cYmluOyVQQVRIJQ0KbW91bnQgJVVTQl9EUklWRSU6L2N5Z3dpbiAgICAgLw0KbW91
bnQgJVVTQl9EUklWRSU6L2N5Z3dpbi9iaW4gL3Vzci9iaW4NCm1vdW50ICVVU0JfRFJJVkUlOi9j
eWd3aW4vbGliIC91c3IvbGliDQplY2hvIEBFQ0hPIE9GRiAgICAgICAgICA+ICVVU0JfRFJJVkUl
OlxjeWd3aW5cY3lnd2luLmJhdA0KZWNobyAlVVNCX0RSSVZFJTogICAgICA+PiAlVVNCX0RSSVZF
JTpcY3lnd2luXGN5Z3dpbi5iYXQNCmVjaG8gQ0hESVIgXGN5Z3dpblxiaW4gPj4gJVVTQl9EUklW
RSU6XGN5Z3dpblxjeWd3aW4uYmF0DQplY2hvIGJhc2ggLS1sb2dpbiAtaSAgID4+ICVVU0JfRFJJ
VkUlOlxjeWd3aW5cY3lnd2luLmJhdA0K


----=_4lidavsn5dhen38rtjn0ikbtctjk3146it.MFSBCHJLHS
Content-Type: text/plain; charset=us-ascii

--
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/
----=_4lidavsn5dhen38rtjn0ikbtctjk3146it.MFSBCHJLHS--
