summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2020-02-11 18:07:55 +0100
committerGiampaolo Rodola <g.rodola@gmail.com>2020-02-11 18:07:55 +0100
commit00a339886a63887e1abb225d62827ff2d961a75f (patch)
tree8a8c1ece064d060576cd0451c78301305e35df05 /docs
parent76104dbc77623cca46c18c5ef1534399d10f563d (diff)
downloadpsutil-00a339886a63887e1abb225d62827ff2d961a75f.tar.gz
fix #1681 / linux / disk_partitions: show swap
Diffstat (limited to 'docs')
-rw-r--r--docs/index.rst2
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