Re: Symlink strangeness

Dustin Marquess (jailbird@alcatraz.fdf.net)
Tue, 15 Sep 1998 12:22:58 -0500 (CDT)


Use the "-follow" option to find.

On Mon, 14 Sep 1998, Steven N. Hirsch wrote:

> All,
>
> This is a strange one. With kernel 2.1.122-pre2, I have this situation:
>
> total 669
> drwxr-xr-x 23 hirsch system 36864 Sep 14 18:23 .
> drwxr-xr-x 3 root root 0 Sep 12 17:55 ..
> lrwxrwxrwx 1 hirsch system 13 Sep 12 14:29 linux -> linux-2.1.122
> drwxr-xr-x 15 hirsch system 1024 Sep 13 13:25 linux-2.1.122
>
> Doing this gets me zero hits:
>
> (hirsch@air) ~ : find /usr/src/linux -name "*.h" -print
> (hirsch@air) ~ :
>
> While this works:
>
> (hirsch@air) ~ : find /usr/src/linux-2.1.122 -name "*.h" -print
> /usr/src/linux-2.1.122/fs/isofs/rock.h
> /usr/src/linux-2.1.122/fs/hpfs/hpfs.h
> /usr/src/linux-2.1.122/fs/hpfs/hpfs_caps.h
> /usr/src/linux-2.1.122/fs/fat/tables.h
>
> (snip!)
>
> If I start the find below the root of the source tree, e.g:
>
> find /usr/src/linux/arch ....(etc.)
>
> it works properly.
>
> Seems like broken behavior.
>
> Steve
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/