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: Backing up cygwin


Rolf Campbell wrote:

> The reason why the mount table cannot be stored in a file is: where 
> would this file be located?  

In the same directory as cygwin1.dll, of course. Or a path relative to
it. That's easy to find, and doesn't have to be written in portable
POSIX-y code - stuff at that level in cygwin1.dll is pretty much all
native Windows code anyway.

The real problem is that the danger of inadvertent corruption of the
mount table is greatly increased if it's a naked text file like that..

Anyway, pointless discussion. It's also quite easy to dump out the
entire registry subset for "HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\Cygwin", and restore that as needed.



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