delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/20/12:44:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Wed, 20 Apr 2005 12:44:02 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cd /proc/garbage
Message-ID: <20050420164402.GA6431@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <Pine DOT LNX DOT 4 DOT 44 DOT 0504140614020 DOT 7355-200000 AT ares DOT its DOT yale DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.LNX.4.44.0504140614020.7355-200000@ares.its.yale.edu>
User-Agent: Mutt/1.5.8i

On Thu, Apr 14, 2005 at 06:18:45AM -0400, Lev S Bishop wrote:
>I looked and this doesn't seem to have been mentioned in the archives. 
>You can cd to any random subdirectory of a directory in the /proc 
>filesystem, irrespective of whether it exists. Examples:
>
>$ cd /proc/banana
>$ ls
>ls: .: Not a directory
>$ cd /proc/self/banana
>$ ls
>ls: .: Not a directory
>$ cd /proc/self/fd/banana
>$ ls
>ls: .: Not a directory
>
>However it only works one level deep:
>
>$ cd /proc/banana/banana
>bash: cd: /proc/banana/banana: No such file or directory

This should be fixed in CVS and will be in the next snapshot.

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