delorie.com/archives/browse.cgi | search |
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: | <001001c3189d$9ec5c880$6fc82486@medschool.dundee.ac.uk> |
Reply-To: | <fergus AT bonhard DOT uklinux DOT net> |
From: | <fergus AT bonhard DOT uklinux DOT net> |
To: | <cygwin AT cygwin DOT com> |
Cc: | <fergus AT bonhard DOT uklinux DOT net> |
Subject: | Re: Portable Cygwin on a CD |
Date: | Mon, 12 May 2003 16:46:14 +0100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
Note-from-DJ: | This may be spam |
------=_NextPart_000_000D_01C318A6.007967A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit >> If you don't plan to go any further on this at all, would you >> consider sending me or the list the .bat file you currently use, >> and the changes you had to make to the bash profile? Thanx! Enclosed: /cygmin.bat (as .bta to get through some gateways) /etc/profile /etc/passwd /etc/group ~/.bash_profile I just stick the CD in the drive of the host machine (I have to know its driveletter: say F:) and then Start -> Run f:\cygmin f: a:\mount.log or f:\cygmin f: c:\tmp\mount.log if I know the name of a good temp location on the host hard drive. The slashes have to be backslashes throughout. The reason for creating the mount.log file is to make sure I can recover the host machine's pre-existing Cygwin mounts, if any, after exiting "my" mounted Cygwin. (If there are none, mount.log is of size zero, so nothing is lost or gained.) Fergus PS. Didn't try making an autorun.inf file. ------=_NextPart_000_000D_01C318A6.007967A0 Content-Type: application/octet-stream; name="profile.dat" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="profile.dat" export HOME=3D/home/fergus=0A= export MAKE_MODE=3Dunix=0A= cd $HOME=0A= ------=_NextPart_000_000D_01C318A6.007967A0 Content-Type: application/octet-stream; name="cygmin.bta" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="cygmin.bta" %1\bin\mount -m | %1\bin\sed s/mount/"%1\\/bin\\/mount"/ > %2 %1\bin\umount -c %1\bin\umount -A %1\bin\mount -bfu %1/ / %1\bin\rxvt.exe -title "" -bg "#fafad2" -fg "#000040" -color10 green4 = -color14 brown -fn "Lucida Console-14" -geometry 80x58+0+0 -sl 4000 -sr = -tn rxvt -backspacekey ^H -e /bin/bash --login -i %1\bin\umount -c %1\bin\umount -A %1\bin\bash %2 %1\bin\rm %2 ------=_NextPart_000_000D_01C318A6.007967A0 Content-Type: application/octet-stream; name="group.dat" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="group.dat" remote::544:=0A= ------=_NextPart_000_000D_01C318A6.007967A0 Content-Type: application/octet-stream; name="passwd.dat" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="passwd.dat" fergus:fergus:500:544:fergus:/home/fergus:/bin/bash=0A= ------=_NextPart_000_000D_01C318A6.007967A0 Content-Type: application/octet-stream; name=".bash_profile" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=".bash_profile" PATH=3D"~/bin:/usr/local/bin:/bin:"=0A= unset HISTFILE=0A= PS1=3D'\w> '=0A= =0A= alias cp=3D"cp -i"=0A= alias ls=3D"ls -F --color=3Dauto"=0A= alias mv=3D"mv -i"=0A= alias rm=3D"rm -i"=0A= alias more1=3D"less -X -F"=0A= alias nano=3D"nano -xS"=0A= ------=_NextPart_000_000D_01C318A6.007967A0 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/ ------=_NextPart_000_000D_01C318A6.007967A0--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |