X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <49F845C2.3010504@bmts.com> Date: Wed, 29 Apr 2009 08:19:14 -0400 From: Ralph Hempel User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [1.7] Question: running from a portable drive References: <49F82640 DOT 1000401 AT bonhard DOT uklinux DOT net> In-Reply-To: <49F82640.1000401@bonhard.uklinux.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-brucetelecom.com-MailScanner-Information: Please contact Bruce Telecom 519.368.2000 for more information X-brucetelecom.com-MailScanner: Found to be clean X-brucetelecom.com-MailScanner-From: rhempel AT bmts DOT com X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Fergus wrote: > I run both [1.5] and [1.7] off portable drives plugged into whatever > host machine I'm using. > Can I write /etc/fstab more generally so that [1.7], like [1.5], can be > made to run off a portable drive without needing to specify (or even > know) the driveletter allocated by the host to the portable drive? I do the exact same thing, much to the consternation of others on the list. I ended up with a batch file to start Cygwin that figures out which drive its running on and then it writes out a custom /etc/fstab based on that drive letter. It's certainly not the most elegant way of doing things, but it works. Ralph -- 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/