From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve French Subject: . and .. on search results Date: Mon, 10 Apr 2006 15:11:16 -0500 Message-ID: <443ABBE4.2040209@austin.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from e6.ny.us.ibm.com ([32.97.182.146]:52964 "EHLO e6.ny.us.ibm.com") by vger.kernel.org with ESMTP id S932125AbWDJUK3 (ORCPT ); Mon, 10 Apr 2006 16:10:29 -0400 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e6.ny.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k3AKAS5Z018393 for ; Mon, 10 Apr 2006 16:10:28 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay04.pok.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id k3AKAIun228256 for ; Mon, 10 Apr 2006 16:10:18 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11/8.13.3) with ESMTP id k3AKAILO020806 for ; Mon, 10 Apr 2006 16:10:18 -0400 Received: from [9.41.38.129] (IBM-IF6TD2FSACS.austin.ibm.com [9.41.38.129]) by d01av04.pok.ibm.com (8.12.11/8.12.11) with ESMTP id k3AKAGE2020708 for ; Mon, 10 Apr 2006 16:10:17 -0400 To: linux-fsdevel@vger.kernel.org Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org There are cases in which servers fails to return . and .. in search (readdir) results over CIFS. In particular Windows servers which export the root of a drive. Is returning . and .. in readdir results always required (ie a client change is necessary to insert them if they were not returned)? and do . and .. have to be first in the list of entries in the directory (which would be very inconvenient since I may have to read through all of the directory search results)? Although . and .. are usually returned in the first of what could be many search (Transact2 FindNext) responses from the server, I don't think it is required.