Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
From: Andrew DeFaria <ADeFaria@Salira.com>
Subject: Re: Backing up cygwin
Date: Mon, 14 Jul 2003 12:22:21 -0700
Lines: 21
Message-ID: <beuvmg$b4m$1@main.gmane.org>
References: <20030711220902.GA20839@redhat.com> <Pine.GSO.4.44.0307111812460.6088-100000@slinky.cs.nyu.edu> <20030711231007.GA3876@redhat.com> <Xns93B5D225E34A7lucianoavgmxnet@80.91.224.249> <bet7o7$mc1$1@main.gmane.org> <beuppu$c4g$1@main.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@main.gmane.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: <beuppu$c4g$1@main.gmane.org>

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/

