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 Date: Mon, 14 Jul 2003 15:02:14 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Reading mount point entries via /proc/registry Message-ID: <20030714190214.GA5596@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i On Mon, Jul 14, 2003 at 11:29:22AM -0700, Shankar Unni wrote: >Weird issue. Just documenting it here - it's more of a curiosity. It's been documented before. >You can't look up mount point registry entries via the /proc/registry >interface, because the mount point names (which become the directory >entries) have "/"s in them. > >$ ls -l /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Cygnus\ >Solutions/Cygwin/mounts\ v2/ >total 0 >drwxrwx---+ 8 shankar Users 0 Apr 25 13:31 / >drwxrwx---+ 2 shankar Users 0 Jul 11 15:11 /usr/bin >drwxrwx---+ 21 shankar Users 0 Jul 11 15:11 /usr/lib >-r--r----- 1 shankar Users 4 Jul 11 15:11 cygdrive flags >-r--r----- 1 shankar Users 10 Jul 11 15:11 cygdrive prefix > >Oh, but how do I look inside that "/" entry :-/? > >(How *would* something like this be done, anyway? Would it make sense to >encode the special characters in the key and value names somehow?) As far as the cygwin mount table goes, I'm very happy that this temptation to use the registry rather than the mount command is bypassed. cgf -- 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/