You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
linter fixes, new attribute localised_remote_path, update docs
localised_remote_path saves the original path where the remote share is replaced by a drive letter
stop using the "logicalDrive - remoteName" as the "drive_or_name" attribute for network drives, revert it back to logicalDrive. If needed, users can set their own syntax
| drive_or_id | Drive letter if present if not use id |
90
+
| drive_or_name | Drive letter if present if not use name |
91
+
| fstype | Filesystem type |
92
+
| mounted | Flag wether drive is mounter (0/1) |
93
+
| free | Free (human readable) bytes |
94
+
| free_bytes | Number of free bytes |
95
+
| free_pct | Free bytes in percent |
96
+
| user_free | Number of total free bytes (from user perspective) |
97
+
| user_free_pct | Number of total % free space (from user perspective) |
98
+
| total_free | Number of total free bytes |
99
+
| total_free_pct | Number of total % free space |
100
+
| used | Used (human readable) bytes |
101
+
| used_bytes | Number of used bytes |
102
+
| used_pct | Used bytes in percent (from user perspective) |
103
+
| user_used | Number of total used bytes (from user perspective) |
104
+
| user_used_pct | Number of total % used space |
105
+
| total_used | Number of total used bytes (including root reserved) |
106
+
| total_used_pct | Number of total % used space (including root reserved) |
107
+
| size | Total size in human readable bytes |
108
+
| size_bytes | Total size in bytes |
109
+
| inodes_free | Number of free inodes |
110
+
| inodes_free_pct | Number of free inodes in percent |
111
+
| inodes_total | Number of total free inodes |
112
+
| inodes_used | Number of used inodes |
113
+
| inodes_used_pct | Number of used inodes in percent |
114
+
| media_type | Windows only: numeric media type of drive |
115
+
| type | Windows only: type of drive, ex.: fixed, cdrom, ramdisk, remote, removable, unknown |
116
+
| readable | Windows only: flag drive is readable (0/1) |
117
+
| writable | Windows only: flag drive is writable (0/1) |
118
+
| removable | Windows only: flag drive is removable (0/1) |
119
+
| erasable | Windows only: flag wether if drive is erasable (0/1) |
120
+
| hotplug | Windows only: flag drive is hotplugable (0/1) |
121
+
| remote_name | Windows only: the remote name of the drive, if it uses a network name |
122
+
| persistent | Windows only: if the network drive is mounted as persistent (0/1) |
123
+
| localised_remote_path | Windows only: If the path is given as a remote path, and that remote path has an assigned logical drive, this is the replaced path under that logical drive. |
{name: "remote_name", description: "Windows only: the remote name of the drive, if it uses a network name"},
151
151
{name: "persistent", description: "Windows only: if the network drive is mounted as persistent (0/1)"},
152
+
{name: "localised_remote_path", description: "Windows only: If the path is given as a remote path, and that remote path has an assigned logical drive,"+
153
+
" this is the replaced path under that logical drive."},
// Disk : Phyiscal Hardware like a HDD, SSD, Usb Stick. A block device that ca be used to store raw bytes -> \\.\PhysicalDrive0
50
+
// Disk : Physical Hardware like a HDD, SSD, Usb Stick. A block device that ca be used to store raw bytes -> \\.\PhysicalDrive0
51
51
// Partition: Is written into the disk in a partition table. It exists independently of volumes, may not be used by Windows
52
52
// Volume: A logical abstraction of a storage, formatted with a file system. It can be a virtual file, a RAID disk or one partition -> \\?\Volume{GUID}\
53
53
// Drive: This term is not defined well. Here, it means a logical access point with an assigned drive letter.
0 commit comments