delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/29/06:05:14

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <49F82640.1000401@bonhard.uklinux.net>
Date: Wed, 29 Apr 2009 11:04:48 +0100
From: Fergus <fergus AT bonhard DOT uklinux DOT net>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Cygwin ML <cygwin AT cygwin DOT com>
CC: Fergus <fergus AT bonhard DOT uklinux DOT net>
Subject: [1.7] Question: running from a portable drive
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

I run both [1.5] and [1.7] off portable drives plugged into whatever 
host machine I'm using. After what originally took a lot of messing 
about involving DOS variables like %CD% and %CWD% and DOS startup batch 
files, [1.5] is successfully mounted at each use and will run 
successfully without needing to specify (or even know) the driveletter 
that has been allocated by the host to the portable drive on which it is 
installed.

With [1.7] things are different and at the moment I have an explicit 
drive letter in my /etc/fstab which in full is:

m:/bin /usr/bin vfat binary 0 0
m:/lib /usr/lib vfat binary 0 0
none / cygdrive user,posix=0 0 0

and I take steps to ensure that the driveletter allocated by the host to 
the portable drive on which [1.7] is installed is M:. This is fine on 
"my" machines but is not always possible on others'.

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?

Thank you.

Fergus


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