Issue with upstream
Maxim Dounin
mdounin at mdounin.ru
Tue Nov 16 23:32:58 MSK 2010
Hello!
On Tue, Nov 16, 2010 at 08:14:34PM +0000, Phil Bayfield wrote:
> If you order them 000, 001, 002 that is the same order as the filesystem
> returns:
>
> phil at proxy:~$ ls -l /etc/nginx/sites-enabled/
> total 0
> lrwxrwxrwx 1 root root 28 2010-11-12 22:56 000-l*
> lrwxrwxrwx 1 root root 27 2010-11-13 00:19 000-u*
> lrwxrwxrwx 1 root root 26 2010-11-13 02:06 100-p*
> lrwxrwxrwx 1 root root 29 2010-11-13 00:20 101-d*
> lrwxrwxrwx 1 root root 33 2010-11-15 20:30 200-p*
> lrwxrwxrwx 1 root root 46 2010-11-15 20:30 201-s*
> lrwxrwxrwx 1 root root 50 2010-11-16 14:11 202-p*
ls returns sorted results, see here:
http://www.opengroup.org/onlinepubs/9699919799/utilities/ls.html
> Maybe not the case on all OS? This solution worked perfectly for me, Ubuntu
> 10.10 server :)
Some filesystems may return sorted results, but it's unlikely to
be so in your case.
Maxim Dounin
More information about the nginx
mailing list