 class="k">for</span> <span class="n">disk</span> <span class="ow">in</span> <span class="n">psutil</span><span class="o">.</span><span class="n">disk_partitions</span><span class="p">():</span>
        <span class="n">disk_result</span> <span class="o">=</span> <span class="p">{</span><span class="s1">&#39;device&#39;</span><span class="p">:</span> <span class="n">disk</span><span class="o">.</span><span class="n">device</span><span class="p">,</span>
                       <span class="s1">&#39;mountpoint