Re: bug when 'cd ..' to a directory who's parent has been deleted
From:
Chet Ramey
Subject:
Re: bug when 'cd ..' to a directory who's parent has been deleted
Date:
Mon, 8 Feb 2016 13:48:08 -0500
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
On 2/8/16 11:34 AM, Linda Walsh wrote:
>> Why would that be more reasonable than anything else? It references a
>> path that doesn't exist.
>>
>>
> Um...Not exactly. As long as there's a handle open to the previous path,
> it still exists (at least on linux and unix).
The actual filesystem objects still exist, but the named references to them
(pathnames) do not.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/