Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2003 21:05:43 -0400
From:      Jp Calderone <exarkun@intarweb.us>
To:        hackers@freebsd.org
Subject:   Re: telldir()/seekdir() confusion
Message-ID:  <20030709010543.GA6014@intarweb.us>
In-Reply-To: <20030708203026.GM87950@dan.emsphone.com>
References:  <20030708192342.GA4899@intarweb.us> <20030708203026.GM87950@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 08, 2003 at 03:30:26PM -0500, Dan Nelson wrote:
>
> [snip]
> 
> I don't think there's any pstandard that says that telldir has to
> return a seekable file offset, or that consecutive calls on the same
> position must return the same value.  Think about a filesystem that
> uses hashed or btree-based directories, for example; there may not be a
> way to store the correct position in a single "long" value without
> using a cookie like FreeBSD does.
> 

  Thanks, it all makes sense now.

  Jp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030709010543.GA6014>