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 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Cygwin ML CC: Fergus Subject: [1.7] Question: running from a portable drive Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 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/