Olivier Galibert wrote: > On Wed, Jan 07, 2004 at 05:55:23PM -0500, Mike Waychison wrote: > >>Yes, an 'ls' actually does an lstat on every file. > > > I guess you haven't met the plague called color-ls yet. Lucky you. > > Most modern file browsers also seem to feel obligated to follow > symlinks to check whether they're dangling. A mis-click on "up" when > you're on your home directory could cause a beautiful mount-storm. Why would any file browser or even ls feel compelled to 'stat' something right after an 'lstat' says it is not a symbolic link though? -- Mike Waychison Sun Microsystems, Inc. 1 (650) 352-5299 voice 1 (416) 202-8336 voice mailto: Michael.Waychison@Sun.COM http://www.sun.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NOTICE: The opinions expressed in this email are held by me, and may not represent the views of Sun Microsystems, Inc. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~