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

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
Date: Mon, 14 Jul 2003 15:02:14 -0400
From: Christopher Faylor <cgf-idd AT cygwin DOT com>
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: <beusoo$rk9$1 AT main DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <beusoo$rk9$1@main.gmane.org>
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/

- Raw text -


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