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
Describe the bug
When enumerating partitions, if a mapped network is in the disconnected state the following error (warning) will be returned: Error 0: The network path was not found.
To Reproduce
Map a network drive from a client to a server. When you run the following code, the remote drive will be returned.
Disconnect the network between the client and server. When you run the following code, the error listed above will be returned.
Expected behavior
Ideally a network drive would return a disconnected state flag. However, as there is already precedence that ejectable devices can be missing it might be worth adding type 4 devices (DRIVE_REMOTE) to this group.
Describe the bug
When enumerating partitions, if a mapped network is in the disconnected state the following error (warning) will be returned:
Error 0: The network path was not found.
To Reproduce
Expected behavior
Ideally a network drive would return a disconnected state flag. However, as there is already precedence that ejectable devices can be missing it might be worth adding type 4 devices (DRIVE_REMOTE) to this group.
gopsutil/disk/disk_windows.go
Lines 135 to 138 in 262afcf
Environment (please complete the following information):
/etc/os-release
and the result ofuname -a
]sw_vers
anduname -a
freebsd-version -k -r -u
anduname -a
]uname -a
]The text was updated successfully, but these errors were encountered: