Next:
CFDiskIO::sortPartitionKeyByStart
Up:
./inc/CFDiskIO.php
Previous:
CFDiskIO::getWantedPartitioning
Contents
CFDiskIO::sortDiskKeyByDev
Description:
Sorts the elements with numeric keys (disks) of the input array by the subkey 'dev'. The numeric keys will be ascending and in the same order than the ascending subkey 'dev' with /dev/mdX at the end.
Parameter:
in: Input array of a disk.
Returns:
Array with sorted disks.