On Mon, 21 Jul 2003, Volker Kuhlmann wrote:

> Assuming that, when listed with find, the output is in order of the
> files having been copied is true for ext2 but not for reiser. This
> through me off track a bit.

This has knocked me a couple of times as well. Ext2 (and Fat and Ext3)
seem to store the directory list in an array. Fat has the strange
behaviour when you delete a file and create a new one. If the new one has
filename length less than or equal to the old one it goes in the old one's
place. Otherwise it goes at the end --- my MP3 player uses fat and plays
them in the order they are in the filesystem so that's why I know.

Reiser stores the filenames in a hash table. The order looks random when
you examine it. This is kinda annoying when copying files to another
machine --- scp (and rsync) don't copy the files in the order you created
them so it's hard to remember how many left top copy :)

Tim Wright

Assistant Lecturer
Department of Computer Science
University of Canterbury

"Language, like terrorism, targets civilians and generates fear to
effect political change."

  -- "Collateral Language" John Collins and Ross Glover ed.

Reply via email to