Backing up cygwin
Andrew DeFaria
ADeFaria@Salira.com
Mon Jul 14 20:45:00 GMT 2003
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
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list