summaryrefslogtreecommitdiff
path: root/lbup
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-10-14 21:20:53 +0200
committerAnton Khirnov <anton@khirnov.net>2023-10-14 21:32:24 +0200
commitd24b034677406d9a6bb999fdd6a0875d77497750 (patch)
tree7f99be8e01e16127f0cc925490392e5dd36179ba /lbup
parent6cf7b79ca4d2eec8b22a573f677d7d86d590402c (diff)
_mountinfo: move field docs below the field
Diffstat (limited to 'lbup')
-rw-r--r--lbup/_mountinfo.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/lbup/_mountinfo.py b/lbup/_mountinfo.py
index d5b1548..763884b 100644
--- a/lbup/_mountinfo.py
+++ b/lbup/_mountinfo.py
@@ -22,29 +22,29 @@ class NotAbsRoot(Exception):
pass
class _MountEntry:
- "mount ID, bytes"
mount_id = None
- "parent ID, bytes"
+ "mount ID, bytes"
parent_id = None
- "device number, int"
+ "parent ID, bytes"
devnum = None
- "root of the mount, bytes"
+ "device number, int"
root = None
- "path where the fs is mounted, bytes"
+ "root of the mount, bytes"
mount_point = None
- "mount options bytes"
+ "path where the fs is mounted, bytes"
mount_opts = None
- "optional fields, list of bytes"
+ "mount options bytes"
opt_fields = None
- "filesystem type, bytes or None"
+ "optional fields, list of bytes"
fstype = None
- "mount source, bytes or None"
+ "filesystem type, bytes or None"
source = None
- "superblock options, bytes or None"
+ "mount source, bytes or None"
super_opts = None
+ "superblock options, bytes or None"
- "raw mountinfo line, bytes"
raw_entry = None
+ "raw mountinfo line, bytes"
def __init__(self, line):
self.raw_entry = line