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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Shankar Unni Subject: Reading mount point entries via /proc/registry Date: Mon, 14 Jul 2003 11:29:22 -0700 Lines: 20 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 (Compact) X-Accept-Language: en-us, en Weird issue. Just documenting it here - it's more of a curiosity. 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?) -- 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/