DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 51IJ4Gm83584772
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 51IJ4Gm83584772
Authentication-Results: delorie.com;
	dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=FmhWKJ2B
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3C993858C50
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1739905455;
	bh=WAkNUUaVAbvrcdZ/OToNmr7BHTnnnjtbJoAG2XUSJso=;
	h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=FmhWKJ2BuNN1t9JBeo/X3mBwxsGgPihaZdvEOjS4mYH3OXQlu+JGVy1vJIRa8u3Zx
	 hek0oFq4TSgVasjp6fbeuKhILwbGznFSP1ywjg5BAwMgs69B/gvG2PyNzxo962Y4Fw
	 Hg5Ut6j5Fp5A9uYwAX2aBsOcgMDE3VezGCv9xrsw=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B2FD73858C52
Date: Tue, 18 Feb 2025 20:03:45 +0100
To: cygwin@cygwin.com
Subject: Re: [regression-3.6] df -k on Cygwin 3.6 no longer lists all
 filesystems
Message-ID: <Z7TZkWITTUxxnhf8@calimero.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <CALXu0UfOeEOsp4=zEa3Q3-9GjCmcQC6RCwdy2QEFA2uVvqRLhg@mail.gmail.com>
 <e8ab61d0-9893-6c20-e234-f58355d30189@jdrake.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <e8ab61d0-9893-6c20-e234-f58355d30189@jdrake.com>
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin@cygwin.com>
Reply-To: cygwin@cygwin.com
Cc: Corinna Vinschen <corinna-cygwin@cygwin.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces~archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>

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

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
