tobold.org

correct • elegant • free

△ comp.unix.shell △

◅ Du command does not work on my system

How to "set" current arguments preserving whitespace? ▻

Du command does not work on my system

In article <37732feb.0@news.iglou.com>,  <bmarcum@iglou.com> wrote:
>If I'm not mistaken, a process's current working directory should be
>considered an open file, which continues to exist until it is closed.

Yes, of course, but rm has just removed the `.' and `..' entries from
the cwd.  The existence of a reference into the open file table for the
*current* directory doesn't help explain how `chdir("..")' can find the
*parent* directory.

Tim.
--
Tim Goodwin   | `I can't believe that someone is releasing
University of | something called "Unix" without something
Leicester, UK | called "/bin/sh".' -- Randal L. Schwartz

Original headers:

From: tjg@ltpcg.star.le.ac.uk (Tim J Goodwin)
Newsgroups: comp.unix.shell,comp.unix.internals
Subject: Re: Du command does not work on my system
Date: 25 Jun 1999 12:42:48 +0100
Organization: University of Leicester, UK
Message-ID: <7kvpvo$c26$1@ltpcg.star.le.ac.uk>
References: <37732feb.0@news.iglou.com>

△ comp.unix.shell △

◅ Du command does not work on my system

How to "set" current arguments preserving whitespace? ▻