Article View: comp.os.mach
Article #987Re: seekdir and telldir in Mach 2.5
From: Michael I Bushnell
Date: Mon, 06 May 1991 22:05
Date: Mon, 06 May 1991 22:05
14 lines
1210 bytes
1210 bytes
In article <1991May6.183122.6252@cs.cmu.edu> mrt@MRT.MACH.CS.CMU.EDU (Mary Thompson) writes: I have a somewhat fuzzy idea of what happened here. Reading a directory up to some offet, remembering the offset, closing the directory, re-opening it and starting off at the remembed offset does not work for AFS directories. It may also not work for NFS directories although I am not sure of that. The system call that does work is is getdirentries, or you can read and cache the entire directory just once. It isn't guaranteed to work on U*x directories either. Directory blocks could be compressed, messing up the pointer. -mib
Technical Details
Message-ID:
<MIB.91May6170535@geech.gnu.ai.mit.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!mintaka!mintaka.lcs.mit.edu!mibReferences:
<1991May6.183122.6252@cs.cmu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!mintaka!mintaka.lcs.mit.edu!mib From: mib@geech.gnu.ai.mit.edu (Michael I Bushnell) Newsgroups: comp.os.mach Subject: Re: seekdir and telldir in Mach 2.5 Message-ID: <MIB.91May6170535@geech.gnu.ai.mit.edu> Date: 6 May 91 22:05:35 GMT References: <1991May6.183122.6252@cs.cmu.edu> Sender: news@mintaka.lcs.mit.edu Organization: Free Software Foundation, Cambridge, MA Lines: 14 In-Reply-To: mrt@MRT.MACH.CS.CMU.EDU's message of 6 May 91 18:31:22 GMT