but in linux i always get /
so i think ,this is not the right solution to go for.
The list roots is to list partitions that are their own roots. For example, in Windows all drive letters are technically their own roots. In linux (as with all Unix) partitions are mounted -- there is only one root, the other mounted partitions can be accessed by travering from the root.
Henry