edithturn edited a comment on pull request #20763:
URL: https://github.com/apache/airflow/pull/20763#issuecomment-1016473439


   I got it @potiuk I assumed that the first one in the array will always be 
the mounted point: Like in my local machine. I didn't identify it when it ran 
as a workflow, maybe because there were other issues. (I will check the jobs 
right now)
   
   This was the behavior on my machine: 
   ```
   >>> print(partitions)
   [sdiskpart(device='/dev/sda3', mountpoint='/', fstype='ext4', opts='rw,r
   ```
   ![Screenshot from 2022-01-19 
08-23-30](https://user-images.githubusercontent.com/58795858/150139369-9e8794e3-115f-44b6-b71e-33c2379a8d53.png)
   
   I should have taken this directly :` partition_usage = 
psutil.disk_usage('/')`
   
   I will test it again!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to