delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/29/08:19:32

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 <rhempel AT bmts DOT com>
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>
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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Fergus wrote:
> I run both [1.5] and [1.7] off portable drives plugged into whatever 
> host machine I'm using.

<snip>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019