X-Spam-Check-By: sourceware.org Message-ID: <7ff9c2a10610250951o2dfc7998i6026e12b9f9e24c@mail.gmail.com> Date: Wed, 25 Oct 2006 09:51:21 -0700 From: "Svend Sorensen" To: "Newton Robinson" Subject: Re: SanDisk U3 Cc: cygwin AT cygwin DOT com In-Reply-To: <002b01c6f7cf$acf69550$0401a8c0@newton1> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_25070_28915767.1161795081238" References: <001101c6f77d$bb1f2130$0401a8c0 AT newton1> <7ff9c2a10610241046o16922dadnac8d7e4de62f5fbb AT mail DOT gmail DOT com> <002b01c6f7cf$acf69550$0401a8c0 AT newton1> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com ------=_Part_25070_28915767.1161795081238 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 10/24/06, Newton Robinson wrote: > I see your point. Has anyone created a distribution for a Flash Drive? Has > anyone created a start script that will remount for any Windows system? I > have seen a couple older posts talking about compressed executables (upx I > think), but no follow-ups. I use the following bat files to set up the required Cygwin mounts. The bat files must exist in a directory which contains a Cygwin installation under cygwin. For example, the set up could be: Flash drive as F: F:\install.bat - Set up user Cygwin mounts, backing up any existing mounts F:\uninstall.bat - Remove Cygwin mounts and restore previous mounts F:\run.bat - Run bash F:\cygwin - Cygwin installation The bat files do not assume any specific drive letter. I have the install script set up to mount the directory containing the scripts as /home/user, then run.bat sets HOME to /home/user. The user's Windows TEMP folder is mounted as /tmp, to reduce writes the flash drive. I had to rename the .bat files to .txt to get Gmail to accept them as attachments. > > Svend Sorensen wrote: > > You can also install Cygwin to a flash > > drive. Making it portable takes a few extra steps (basically you set > > up a bat file which adds the Cygwin mounts to the new computer). ------=_Part_25070_28915767.1161795081238 Content-Type: text/plain; name=install.txt; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: base64 X-Attachment-Id: f_etpyqvez Content-Disposition: attachment; filename="install.txt" QGVjaG8gb2ZmDQpyZW0gQ3lnd2luIGluc3RhbGxhdGlvbiBzY3JpcHQNCnJl bQ0KcmVtIFRoaXMgc2NyaXB0IHNldHMgdXAgdGhlIG1vdW50IHRhYmxlIGZv ciBhIEN5Z3dpbiBpbnN0YWxsYXRpb24gdW5kZXINCnJlbSAuXGN5Z3dpbi4g IEV4aXN0aW5nIG1vdW50cyBhcmUgYmFja2VkIHVwIHRvICVURU1QJVxjeWd3 aW4tbW91bnRzLiAgSWYNCnJlbSB0aGlzIGZpbGUgZXhpc3RzLCBpdCBpcyBu b3Qgb3ZlcndyaXR0ZW4uICBUbyBmb3JjZSB0aGlzIHNjcmlwdCB0byBydW4s DQpyZW0gcmVtb3ZlIGFueSBleGlzdGluZyBjeWd3aW4tbW91bnRzIGZpbGUu DQpyZW0NCnJlbSBBbGwgbW91bnRzIGFyZSB1c2VyIG1vdW50cywgd2hpY2gg b3ZlcnJpZGUgc3lzdGVtIG1vdW50cy4NCnJlbQ0KcmVtIFRvIHVuZG8gdGhl IGluc3RhbGxhdGlvbiwgcnVuIHVuaW5zdGFsbC5iYXQuICBVbmluc3RhbGxp bmcgc2hvdWxkIHJldHVybg0KcmVtIGFsbCBDeWd3aW4gbW91bnRzIHRvIHRo ZWlyIHByZXZpb3VzIHNldHRpbmdzLiAgSG93ZXZlciwgdGhpcyBzY3JpcHQg ZG9lcw0KcmVtIG5vdCBiYWNrIHVwIHRoZSBwcmV2aW91cyBzZXR0aW5nIGZv ciB0aGUgY3lnZHJpdmUgcGF0aC4NCg0Kc2V0IFdEPSV+ZHAwDQoNCnNldCBD WUdXSU5fUk9PVD0lV0QlXGN5Z3dpbg0Kc2V0IENZR1dJTl9CSU49JUNZR1dJ Tl9ST09UJVxiaW4NCg0KcmVtIElmIGN5Z3dpbi1tb3VudHMgZXhpc3RzLCBp bnN0YWxsYXRpb24gaGFzIGFscmVhZHkgYmVlbiBydW4NCmlmIG5vdCBleGlz dCAlVEVNUCVcY3lnd2luLW1vdW50cyAoDQoJcmVtIEJhY2sgdXAgQ3lnd2lu IG1vdW50cyB0byBmaWxlDQoJJUNZR1dJTl9CSU4lXG1vdW50IC1tID4gJVRF TVAlXGN5Z3dpbi1tb3VudHMNCg0KCXJlbSBSZW1vdmUgYWxsIHVzZXIgbW91 bnRzDQoJJUNZR1dJTl9CSU4lXHVtb3VudCAtQQ0KDQoJcmVtIE1vdW50IHN0 YW5kYXJkIEN5Z3dpbiBkaXJlY3RvcmllcyAoYmluYXJ5LCBmb3JjZSwgdXNl cikNCgklQ1lHV0lOX0JJTiVcbW91bnQgLWIgLWYgLXUgJUNZR1dJTl9ST09U JSAvDQoJJUNZR1dJTl9CSU4lXG1vdW50IC1iIC1mIC11ICVDWUdXSU5fUk9P VCVcYmluIC91c3IvYmluDQoJJUNZR1dJTl9CSU4lXG1vdW50IC1iIC1mIC11 ICVDWUdXSU5fUk9PVCVcbGliIC91c3IvbGliDQoNCglyZW0gVXNlIHVzZXIg dGVtcCBkaXJlY3RvcnkgYXMgL3RtcA0KCSVDWUdXSU5fQklOJVxtb3VudCAt YiAtZiAtdSAlVEVNUCUgL3RtcA0KDQoJcmVtIFVzZSAlV0QlIGFzIGhvbWUv dXNlcg0KCSVDWUdXSU5fQklOJVxtb3VudCAtYiAtZiAtdSAlV0QlIC9ob21l L3VzZXINCg0KCXJlbSBDaGFuZ2UgdGhlIGN5Z2RyaXZlIHBhdGgNCgklQ1lH V0lOX0JJTiVcbW91bnQgLWIgLXUgLWMgIi9jeWdkcml2ZSINCikNCg== ------=_Part_25070_28915767.1161795081238 Content-Type: text/plain; name=uninstall.txt; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: base64 X-Attachment-Id: f_etpyr4zl Content-Disposition: attachment; filename="uninstall.txt" QGVjaG8gb2ZmDQpyZW0gQ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G8gdXNl IGluIGJhY2t1cCBzY3JpcHQNCglmb3IgL0YgJSVBIGluICgnJUNZR1dJTl9C SU4lXGN5Z3BhdGggIiVDWUdXSU5fQklOJVxtb3VudCInKSBkbyBzZXQgTU9V TlQ9JSVBDQoNCglyZW0gUnVuIGJhY2t1cCBzY3JpcHQsIHdpdGggIm1vdW50 IiByZXBsYWNlZCB3aXRoIGl0cyBmdWxsIHBhdGgNCgklQ1lHV0lOX0JJTiVc c2VkICJzOm1vdW50OiVNT1VOVCU6IiAlVEVNUCVcY3lnd2luLW1vdW50cyB8 ICVDWUdXSU5fQklOJVxzaA0KDQoJcmVtIFJlbW92ZSBiYWNrdXAgc2NyaXB0 IGZpbGUNCglkZWwgJVRFTVAlXGN5Z3dpbi1tb3VudHMNCikNCg== ------=_Part_25070_28915767.1161795081238 Content-Type: text/plain; name=run.txt; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: base64 X-Attachment-Id: f_etpyr97i Content-Disposition: attachment; filename="run.txt" QGVjaG8gb2ZmDQpyZW0gU3RhcnQgYSBiYXNoIGxvZ2luIHNoZWxsDQoNCnNl dCBXRD0lfmRwMA0KDQpzZXQgQ1lHV0lOX1JPT1Q9JVdEJVxjeWd3aW4NCnNl dCBDWUdXSU5fQklOPSVDWUdXSU5fUk9PVCVcYmluDQoNCnJlbSBTdGFydCBh IGJhc2ggc2hlbGwNCnJlbSBTSEVMTCBkZWZhdWx0cyB0byAvYmluL3NoDQol Q1lHV0lOX0JJTiVcZW52IEhPTUU9L2hvbWUvdXNlciBTSEVMTD1iaW4vYmFz aCAvYmluL2Jhc2ggLWwgLWkNCg== ------=_Part_25070_28915767.1161795081238 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/ ------=_Part_25070_28915767.1161795081238--