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: Thu, 14 Apr 2005 13:33:55 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cd /proc/garbage Message-ID: <20050414113355.GC5908@cygbert.vinschen.de> 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.2i On Apr 14 06:18, 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 For now the answer is, "Don't do it". Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/