This is the mail archive of the
mailing list for the Cygwin project.
Re: Backing up cygwin
Shankar Unni wrote:
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.
Or crontab a mont -m > /etc/mnttab.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html