Re: Squashfs without ./..

From: Geert Uytterhoeven
Date: Thu Mar 24 2005 - 12:57:21 EST


On Wed, 23 Mar 2005, Tom Vier wrote:
> On Wed, Mar 23, 2005 at 06:31:24PM +0100, Jan Engelhardt wrote:
> > Which scripts use that? As stated, these two directory entries exist when you
> > stat() them, they just do not show up in readdir(), and I bet few programs
> > care for "." and ".." when doing their readdir.
>
> There's probably a number of apps that skip the first two dirents, instead
> of checking for the dot dirs.

Yep, check `-noleaf' in find(1).

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/