This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [1.7] Question: running from a portable drive
- From: Ralph Hempel <rhempel at bmts dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 29 Apr 2009 08:19:14 -0400
- Subject: Re: [1.7] Question: running from a portable drive
- References: <49F82640.1000401@bonhard.uklinux.net>
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/