Browse Source

Cygwin: check remote drives for being SSDs as well

This enables automatic sparse file support for remote SSDs.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
topic/3.6
Corinna Vinschen 3 years ago
parent
commit
94d871eeac
  1. 2
      winsup/cygwin/mount.cc

2
winsup/cygwin/mount.cc

@ -524,7 +524,7 @@ fs_info::update (PUNICODE_STRING upath, HANDLE in_vol)
&& !is_nfs ());
/* Check for being an SSD */
if (!is_remote_drive () && !is_cdrom ())
if (!is_cdrom ())
{
/* Theoretically FileFsVolumeFlagsInformation would be sufficient,
but apparently it's not exposed into userspace. */

Loading…
Cancel
Save