DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 516LWLhj2491402 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 516LWLhj2491402 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=SNtXg4j7 X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B53113858420 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1738877540; bh=VnmbtrEK2Ct6fXxts+MM+PE7gxgJEQeO7ax724tpwCE=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=SNtXg4j7YVqtGWegB3MDs8iKj8b3aJsEF+wRDIM3LP7YIO/ZIkDigJ2a44uKYsZFh 4l8SadML1+hf4iwuf3OMJQUss7fqBb2oXclGz/p5sr6E6MSZgDhOUnsfbtBN8UjmYu C184DPycVN8lWS6x71rlvgbsoEiJ8jXAw5p273OY= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8C8F83858CDB ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8C8F83858CDB ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1738877518; cv=none; b=IconNU2QAOTv6yX1nQ6nzaZMtXCqB+oXIJH8XhCHAHyI7l7/NEPAJ8T5Mx0QM81fa7vUyKbhZI4y3bxCxXMY6zzdo+50ZxeGxdKMk8/HxUTDXR198S9rkfMg6rQNapw442c6bPy8gfP6FhgxMhExEJRJZFE+KVSAJKeIhO1SgVg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1738877518; c=relaxed/simple; bh=a/boFb3kRBCe2J4CzUi/mGuHaxPaKGhnbFpS0SSywWA=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=EqeV1zFFC86WyZ2/9NevvQL5egf1s/tAoxrGYtTtA87+v+d6Zyl46z/Z48PxHfA+KaI7vrTkiS9TbW/wmZTJ3wZQ/ObpLxuPY8lUeYPFJdFQ+HJFNpxEkVSPax/T/xFqhZspbKUj1yW/K2Rx7xSgltaH1cdouyTPNHN88RE/Obk= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8C8F83858CDB Date: Thu, 6 Feb 2025 13:31:58 -0800 (PST) X-X-Sender: jeremyd AT resin DOT csoft DOT net To: cygwin AT cygwin DOT com Subject: exposing Windows mountpoints in Cygwin Message-ID: <09960367-4427-2929-9b12-17cc2a15f5c3@jdrake.com> MIME-Version: 1.0 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Jeremy Drake via Cygwin Reply-To: Jeremy Drake Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" Now that my patch to escape characters in /proc/mounts has been applied, I'll get back to what I was thinking about back in June. I would like to have a way to list Windows volume roots in Cygwin, and it seems to make sense to me to expose them via getmntent, /proc/mounts, etc. The way I see this working is probably to replace the available_drives mechanism for enumerating mounts in favor of using FindFirst/NextVolumeW and GetVolumePathNamesForVolumeNameW to enumerate cygdrive mount points. Before I expend any effort actually trying to do this, I wanted to ask if this is desirable/acceptable to do, or if there's some "institutional knowledge" as to why that won't actually work. -- 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