Uttered Geert Uytterhoeven <[email protected]>, spake thus: > > 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) Then it is broken in several ways. First, file systems are not required to implement ".." (only "." is magical, ".." is a courtesy). Second, skipping the first two entries carries an implied assumtion about the file name sorting order that is not portable in a non-US-ASCII world. Cheers
Attachment:
pgpKTZfTxOMAq.pgp
Description: PGP signature
- Follow-Ups:
- Re: Squashfs without ./..
- From: [email protected] (H. Peter Anvin)
- Re: Squashfs without ./..
- From: Jan Engelhardt <[email protected]>
- Re: Squashfs without ./..
- References:
- Re: Squashfs without ./..
- From: Pietro Zuco <[email protected]>
- Re: Squashfs without ./..
- From: Jan Engelhardt <[email protected]>
- Re: Squashfs without ./..
- From: Tom Vier <[email protected]>
- Re: Squashfs without ./..
- From: Geert Uytterhoeven <[email protected]>
- Re: Squashfs without ./..
- Prev by Date: Re: PCI interrupt problem: e1000 & Super-Micro X6DVA motherboard
- Next by Date: Re: vfat broken in 2.6.10?
- Previous by thread: Re: Squashfs without ./..
- Next by thread: Re: Squashfs without ./..
- Index(es):