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-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: Backing up cygwin Date: Mon, 14 Jul 2003 12:22:21 -0700 Lines: 21 Message-ID: References: <20030711220902 DOT GA20839 AT redhat DOT com> <20030711231007 DOT GA3876 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT main DOT gmane DOT org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en, zh In-Reply-To: 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/