"find -follow -type l" doesn't quite work.

Denys Vlasenko vda.linux at googlemail.com
Wed Sep 30 00:41:41 UTC 2009


On Tuesday 29 September 2009 23:18, Rob Landley wrote:
> On Tuesday 29 September 2009 04:01:12 Denys Vlasenko wrote:
> > On Fri, Sep 25, 2009 at 11:35 AM, Rob Landley <rob at landley.net> wrote:
> > > An easy way to find all dead symlinks under /path is:
> > >
> > >  find -follow -type l /path
> > >
> > > Using gnu find, that will produce a list of symlinks that, when you've
> > > followed them as far as they can, are still symlinks.  Using busybox, it
> > > finds the same set of files, but instead of listing them to stdout it
> > > gives error messages about them.  This behavior is less useful.
> >
> > Please try attached patch.
> >
> > --
> > vda
> 
> It's full of unrelated changes that conflict with the last release version:
> 
> Applying /home/landley/firmware/firmware/sources/patches/busybox-findl.patch
> patching file findutils/find.c

Can you try to apply just this to 1.15.1?

http://busybox.net/downloads/fixes-1.15.1/busybox-1.15.1-find.patch

It is planned to go into 1.15.2

--
vda


More information about the busybox mailing list