Re: Missing files on Joliet CD-ROMs

Daniel Graham (graham@balance.uoregon.edu)
Mon, 10 May 1999 09:46:31 -0700 (PDT)


Try 'find -noleaf' . It makes a big difference for me.

>From the find man page ...

-noleaf
Do not optimize by assuming that directories con-
tain 2 fewer subdirectories than their hard link
count. This option is needed when searching
filesystems that do not follow the Unix directory-
link convention, such as CD-ROM or MS-DOS filesys-
tems or AFS volume mount points. Each directory on
a normal Unix filesystem has at least 2 hard links:
its name and its `.' entry. Additionally, its
subdirectories (if any) each have a `..' entry
linked to that directory. When find is examining a
directory, after it has statted 2 fewer subdirecto-
ries than the directory's link count, it knows that
the rest of the entries in the directory are non-
directories (`leaf' files in the directory tree).
If only the files' names need to be examined, there
is no need to stat them; this gives a significant
increase in search speed.

On Fri, 7 May 1999, David Schleef wrote:

>
> I'm experiencing missing file issues on a commercial Joliet
> CD-ROM. Kernel is 2.2.1, using scsi host adapter emulation for
> the ATAPI CD-ROM drive. CD-ROM drive is Hewlett-Packard CD-Writer
> Plus 8100.
> -- stuff deleted ----

Dan Graham
graham@balance.uoregon.edu

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/