Re: Squashfs without ./..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux