diff options
| author | Giampaolo Rodola <g.rodola@gmail.com> | 2020-02-11 18:07:55 +0100 |
|---|---|---|
| committer | Giampaolo Rodola <g.rodola@gmail.com> | 2020-02-11 18:07:55 +0100 |
| commit | 00a339886a63887e1abb225d62827ff2d961a75f (patch) | |
| tree | 8a8c1ece064d060576cd0451c78301305e35df05 /docs | |
| parent | 76104dbc77623cca46c18c5ef1534399d10f563d (diff) | |
| download | psutil-00a339886a63887e1abb225d62827ff2d961a75f.tar.gz | |
fix #1681 / linux / disk_partitions: show swap
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/index.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/index.rst b/docs/index.rst index 256a6580..27560da6 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -405,6 +405,8 @@ Disks [sdiskpart(device='/dev/sda3', mountpoint='/', fstype='ext4', opts='rw,errors=remount-ro'), sdiskpart(device='/dev/sda7', mountpoint='/home', fstype='ext4', opts='rw')] + .. versionchanged:: 5.7.0 swap partitions are returned on Linux. + .. function:: disk_usage(path) Return disk usage statistics about the partition which contains the given |
