Re: the correct way to read a big directory? Mutt?
On 2015-04-25 16:20:21 +0200, Jörg-Volker Peetz wrote:
> > the situation becomes much worse if you generate the filenames
> > from a random sequence.
The filenames don't matter.
> > Try to replace the command "seq" by "jot" from the package athena-jot like
> >
> > for i in $(jot 5000 1 5000)
> >
> for i in $(jot -r 5000 1 5000)
>
> > That makes the numerical order of the files have a random i-node
> > number sequence .
Why? The i-nodes are generated by the filesystem implementation,
and in practice, they are assigned in increasing order. AFAIK,
the end user can't control that.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: