Messages in this thread | | | Date | Wed, 23 Jun 1999 13:54:55 +0200 | From | Ragnar Hojland Espinosa <> | Subject | Re: (reiserfs) Re: I discussed reading directories as files with jra, Stallman, and |
| |
On Tue, Jun 22, 1999 at 06:11:00PM -0700, Bill Huey wrote: > Things like .so file in /usr/lib, icons in /usr/something/ will be automatically > skipped since this stuff is contained within the application or OS resource fork, > so the search space for a particular file under HFS is much smaller in MacOS > than with Win32/Unix since everything is treated as a file within those OSes. > > That's why a rather broken MacOS can search for a file name much faster than > Win32/Unix, because there aren't that many files to search in the first place.
Your example is hardly convicent to me, because a quick look to find(1) gives out:
a .' at the start of the base name. To ignore a directory and the files under it, use -prune; see an example in the description of -path.
IMO if a user wants to search the whole fs, it's their problem.
-- ____/| Ragnar Højland Freedom - Linux - OpenGL Fingerprint 94C4B \ o.O| 2F0D27DE025BE2302C =(_)= "Thou shalt not follow the NULL pointer for 104B78C56 B72F0822 U chaos and madness await thee at its end." hkp://keys.pgp.com
- 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/
| |