From owner-freebsd-questions@FreeBSD.ORG Mon May 4 09:10:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5C6F1065672 for ; Mon, 4 May 2009 09:10:35 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id 517A28FC17 for ; Mon, 4 May 2009 09:10:35 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.2/8.14.2) with ESMTP id n44985GY067405; Mon, 4 May 2009 11:08:05 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.2/8.14.2/Submit) id n44984W4067404; Mon, 4 May 2009 11:08:04 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Mon, 4 May 2009 11:08:04 +0200 From: Ruben de Groot To: Polytropon Message-ID: <20090504090804.GA66641@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Polytropon , PJ , freebsd-questions@freebsd.org References: <49FCA2C9.4060307@videotron.ca> <20090502230627.71ef7124.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090502230627.71ef7124.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, J_CHICKENPOX_45 autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Mon, 04 May 2009 11:10:32 +0200 (CEST) Cc: PJ , freebsd-questions@freebsd.org Subject: Re: lost+found X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2009 09:10:36 -0000 On Sat, May 02, 2009 at 11:06:27PM +0200, Polytropon typed: > On Sat, 02 May 2009 15:45:13 -0400, PJ wrote: > > [~]# cd /tmp/lost+found/#123456 > > [/tmp/lost+found/#123456]# ls > > Okay, it's empty. > > > > > [/tmp/lost+found/#123456]# cd .. > > Strange, why does .. lead you from /tmp/lost+found/#123456 > to /tmp/lost+found/#123456, just as if cd wasn't executed? > > > > > [/tmp/lost+found/#123456]# cd #123456 this returns and empty directory) > > Does /tmp/lost+found/#123456 contain another #123456? And > why does this cd lead you to your (root's) home directory? Probably because the # is interpreted as comment. I can reproduce this in a bourne shell; not in (t)csh. Ruben