This is the mail archive of the cygwin@cygwin.com 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: cygwin copy


On Tue, 15 Oct 2002 09:51:01 -0400 (EDT) Igor Pechtchanski <pechtcha@cs.nyu.edu> wrote:

> It's interesting that all three replies to this message mentioned the
> registry...  While Vince should only have mentioned that it's *currently*
> held in the registry, Pavel actually recommended exporting it.  As I've
> been mildly chided for this before, here's an equivalent registry-free
> solution:
> 
> On the source machine:
>         $ mount -m > restore_mounts.sh
> On the target:
>         $ ./restore_mounts.sh
> (after the appropriate file transfer, of course).
> 
> I should mention that Fergus's solution with setup.exe should also work.

You could also create restore_mounts.bat the same way and run it in a MSDOS
window.  The mount command does not depend on cygwin1.dll and the `mount
-m` output should work under MSDOS 'shells' as well as under Cygwin shells.

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]