delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/15/10:38:39

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 15 Oct 2002 10:38:15 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
cc: "=?ISO-8859-1?Q?'David=20=A9irok=FD'?=" <dsiroky AT email DOT cz>
Subject: Re: cygwin copy
In-Reply-To: <Mahogany-0.64.2-8612-20021015-070042.00@ix.netcom.com>
Message-ID: <Pine.GSO.4.44.0210151032460.18519-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Tue, 15 Oct 2002, Michael A Chase wrote:

> On Tue, 15 Oct 2002 09:51:01 -0400 (EDT) Igor Pechtchanski <pechtcha AT cs DOT nyu DOT 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.

Yep, thanks, I forgot about the existence of bat files since starting on
cygwin... :-D
As for the bit about mount not depending on cygwin1.dll, it would be
interesting if this were the case...  And which DLL does it get
getmntent() from?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019