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 X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: Cygwin General List Subject: Re: Relation Between Mount System and The Registry? References: <4cee11bc0807091403t38f82ef0lbbe1a8b636d810c6 AT mail DOT gmail DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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/