delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/09/17:17:28

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <48752A38.75E5C329@dessent.net>
Date: Wed, 09 Jul 2008 14:14:32 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: Cygwin General List <cygwin AT cygwin DOT com>
Subject: Re: Relation Between Mount System and The Registry?
References: <4cee11bc0807091403t38f82ef0lbbe1a8b636d810c6 AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Sam Hanes wrote:

> Can someone explain to me when the registry keys in
> "HKLM\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2" and the same in HKCU
> get read into the mount table? I can find the source for the mount
> table itself (in "src/winsup/cygwin/mount.cc") but not where the
> information from the registry is initially read in, or were it gets
> written out when a new entry is added.

Please elaborate a little on why you're asking.  I say this because you
should never edit the registry to change the mount table.  Use the mount
and umount commands to edit the mount table, and the right thing will
always happen.  This is important because in the next version of Cygwin
the mount table is no longer be stored in the registry.  Consider that
an implementation detail that's subject to change.

Brian

--
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