Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!decwrl!decvax!ima!cfisun!lakart!dg From: dg@lakart.UUCP (David Goodenough) Newsgroups: comp.unix.wizards Subject: Re: Should "ls -R" traverse symlinks? Message-ID: <558@lakart.UUCP> Date: 6 Jun 89 14:12:18 GMT References: Organization: Lakart Corporation, Newton, MA Lines: 16 flee@shire.cs.psu.edu (Felix Lee) sez: > No. Not unless "ls -R" detects cycles and guarantees termination. > If you really want to traverse links, "ls -RL" is almost adequate. Agreed > % A normal "ls -R" can still loop, but this should be uncommon. Forgive my ignorance, but I don't see how - not unless you do some real dirty mucking with a directory open as a file for write, and start messing with Inode numbers in directory slots - or am I missing something. -- dg@lakart.UUCP - David Goodenough +---+ IHS | +-+-+ ....... !harvard!xait!lakart!dg +-+-+ | AKA: dg%lakart.uucp@xait.xerox.com +---+