"ls -R / "enters infinite loop

Greetings,

when I execute:

ls -R /net

it seems to enter infinite loop when processing /net directory. I belive
it is caused by the fact that the machine lists itself in it’s /net
directory, hence the infinite recursion. My question is, how do I list
root directory recursively.

regards, Andray

Andray,
Most of the other utilities I’ve used recognize the infinite loop and print
a warning message, but continue to work with other directories. I haven’t
done a “ls -R”, but I use “find” and that does print the warning and it will
continue to check the rest of the system.

-Ron


“Andray Kaganovsky” <andreykNOSPAM@home.com> wrote in message
news:Xns919ADF46E9731andreykhomecom@209.226.137.7

Greetings,

when I execute:

ls -R /net

it seems to enter infinite loop when processing /net directory. I belive
it is caused by the fact that the machine lists itself in it’s /net
directory, hence the infinite recursion. My question is, how do I list
root directory recursively.

regards, Andray