Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 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 Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com cc: "=?ISO-8859-1?Q?'David=20=A9irok=FD'?=" Subject: Re: cygwin copy In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 15 Oct 2002, Michael A Chase wrote: > On Tue, 15 Oct 2002 09:51:01 -0400 (EDT) Igor Pechtchanski 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/