delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/14/15:20:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <ADeFaria AT Salira DOT 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 DOT GA20839 AT redhat DOT com> <Pine DOT GSO DOT 4 DOT 44 DOT 0307111812460 DOT 6088-100000 AT slinky DOT cs DOT nyu DOT edu> <20030711231007 DOT GA3876 AT redhat DOT com> <Xns93B5D225E34A7lucianoavgmxnet AT 80 DOT 91 DOT 224 DOT 249> <bet7o7$mc1$1 AT main DOT gmane DOT org> <beuppu$c4g$1 AT main DOT gmane DOT org>
Mime-Version: 1.0
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: <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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019