This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1.7] Question: running from a portable drive


On Apr 29 12:35, Thorsten Kampe wrote:
> My solution was to determine the drive letter at run time (when plugging 
> in the stick). I use the following to set up the mount table (from a 
> batch file):
> mount -fu %~d0\cygwin     /
> mount -fu %~d0\cygwin/bin /usr/bin
> mount -fu %~d0\cygwin/lib /usr/lib
> mount -fu %temp           /tmp
> 
> In principle this should also work for 1.7 presuming that mount simply 
> writes to fstab instead of the registry.

mount only creates mount points in memory.  It does not write out
permanent information, unless you redirect `mount -m' output to
/etc/fstab.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]