Article ID: 126542, created on Aug 13, 2015, last review on Aug 13, 2015

  • Applies to:
  • Plesk 11.5 for Linux


What order does the /usr/local/psa/admin/bin/filemng return entries in?


The filemng utility uses opendir/readdir functions that just use the directory entries in the order they are linked together. So no order is guaranteed.

On most systems readdir returns directory entries in the same order that the system call does. In theory a Unix kernel can return directory entries in whatever order it wants (including, sorted alphabetically for example). In practice kernels almost always give you directory entries in whatever the natural order is for entries in the on-disk data structures that represent a directory.

Search Words




29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 01bc4c8cf5b7f01f815a7ada004154a2 0a53c5a9ca65a74d37ef5c5eaeb55d7f

Email subscription for changes to this article
Save as PDF