windows-pioctl-getdrivetype-20080816
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 16 Aug 2008 17:48:17 +0000 (17:48 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 16 Aug 2008 17:48:17 +0000 (17:48 +0000)
commitffbee95174ad1fffecff2889e80e168cea60a531
treede2e18a47022a9e082da8a890a695a092576775a
parent20d38bc268b13258e2358591756824d712cdb403
windows-pioctl-getdrivetype-20080816

LICENSE MIT

Use GetDriveType() to check if the current path is a local disk.
If it is, fail the pioctl attempt immediately.  This should avoid
the reported 30 second delay in the AFS Shell Extension.
src/sys/pioctl_nt.c