[lkml]   [2005]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] ramfs: pretend dirent sizes
Jan Blunck wrote:

> I don't want to tell where these are in general, I need an easy way to
> seek to the m'th directory + offset position without reading every
> single dirent. With i_sizes != 0 it is straight forward to use "the
> sum of the m directory's i_sizes + offset" as the f_pos to seek to.
> For this purpose it is not necessary to have a "honest" i_size as long
> as the i_size is bigger than the offset of the last dirent in the
> directory.

You are not going to get this functionality. It is simply not how
work nowadays. Very few file systems are going to be usable if you insist
upon this semantic. It is simply not possible to guess, with variable sized
entries and with distributed directory structures.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-07-20 21:00    [W:0.069 / U:4.524 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site