[regression-3.6] df -k on Cygwin 3.6 no longer lists all filesystems

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Feb 18 19:03:45 GMT 2025


On Feb 18 10:49, Jeremy Drake via Cygwin wrote:
> On Tue, 18 Feb 2025, Cedric Blancher via Cygwin wrote:
> 
> > Good evening!
> >
> > Cygwin 3.6.0-0.374.g4dd859d01c22.x86_64 on Win10/AMD64/64bit:
> >
> > df -k no longer shows the data of SMB filesystems, e.g. mount points
> > N:-Z: are mounted, but df -k shows nothing:
> 
> Ugh, do we have to somehow union volume mount points with
> GetLogicalDrives/GetLogicalDriveStrings in order to see SMB mounts?

Not only SMB, but also NFS. I. e., network drives.

> Oddly, both of those functions are documented as not supported on SMB and
> say "SMB does not support volume management functions".

I don't think this is what this "Technology" list on
https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getlogicaldrives
is supposed to indicate, but I'm also not quite clear what it
actually *is supposed to indicate...

> But clearly they
> must work with SMB drive letters, because otherwise it wouldn't have
> worked before.

Yep. Are you going to create a patch?


Thanks,
Corinna


More information about the Cygwin mailing list