On 12/1/13 7:51 AM, Dan Espen wrote:

Actually, your whole description is bizarre and I think wrong.

With a UNIX file, how do I NOT know where /var/log/messages is?

As long as you use a full path, you know where everything is.

I believe the issue some people are trying to address with a Unix catalog is the case where you DON'T know the full path. For example, suppose I have a recipe for Beef Stroganoff somewhere on my hard drive. I know it's called "stroganoff.txt" but I don't remember where I put it. I can certainly use the "find" command to locate the file, but my hard disk is large with several hundred thousand files. "find" may take a noticeable amount of time to locate the file.

Now suppose I have some sort of index file where the key is the unqualified file name and the data is the path to that file. I can search the index for my file name and it should quickly show me all the locations where a file by that name is located. (Note that Windows has had such a facility since at least XP.)

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to