Mail Archives: cygwin/2002/10/15/10:38:39
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 -