delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/02/08/13:28:14

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 518ISETH3402422
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 518ISETH3402422
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=hveLQtzV
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 67E1E385772C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1739039292;
bh=Px3fib5Kb1K++uqLkU7bFtbu5xpNk38zQY93FdpMD10=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=hveLQtzVYdPscoxDxGR0MVtQ4Rwb3nTldRZIIdUqh5fNZg5TkM0IGcMRwRJ4PJ4e3
4kqBMk4gCoBYF/C8Gkw68dx9QDvifXgObe5nQdSy8S8fWLEJZQ37Bv/6IyrcZErUod
R6+UfJq/qLZZ9wHzOEvnVTPGrS3795+Fo0CoJ/KU=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 134F03858D38
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 134F03858D38
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1739039269; cv=none;
b=jO3r1Fk8Bk56KS+Om6ZGlnWG4WtIWe45313kjrk22RINN8KZQnneoD7HVGoX1jFYpsWSmMsX6U2VSbjUFALBq+NDG7lLfH0zKARAR+2hf/qIN6OkwbrF7hVr9GdH/1mCMbWmIJ//r14AMJsEqxrgp+Tssq64oKW4EiC5enu6cFQ=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1739039269; c=relaxed/simple;
bh=ogYm1+j1BC+DqE9onFbCobGkQ6hUSjvmvWMLkvfpbK8=;
h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version;
b=sxhFbGv0yWRT/2YtEEG11p+Iu1/Fu9x1Bn2ffA3V9P6LhSb8J/xPAtFzInn7YsoU0jZhpH/cooIw6Kx63sOW7KvInQqZyG5tYw29pS6raBFWP69SzsbCP3lnLzJbrqpkI1B0DhoKLorp6LMKjL7eS6iGyXwhj1OCbjkjAJ0unrM=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 134F03858D38
Date: Sat, 8 Feb 2025 10:27:48 -0800 (PST)
X-X-Sender: jeremyd AT resin DOT csoft DOT net
To: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Subject: Re: exposing Windows mountpoints in Cygwin
In-Reply-To: <Z6chTJkm8gGodTDi@calimero.vinschen.de>
Message-ID: <c47e3e48-5e25-f819-409c-28d96d294183@jdrake.com>
References: <09960367-4427-2929-9b12-17cc2a15f5c3 AT jdrake DOT com>
<Z6Xca2fSsB1rcq7n AT calimero DOT vinschen DOT de>
<474a8899-2c92-ad8a-09c5-f86314213e94 AT jdrake DOT com>
<Z6chTJkm8gGodTDi AT calimero DOT vinschen DOT de>
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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Jeremy Drake via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jeremy Drake <cygwin AT jdrake DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

On Sat, 8 Feb 2025, Corinna Vinschen via Cygwin wrote:

> Go for it.  There's already matching logic in fhandler/proc.cc,
> function format_proc_partitions() for the "win-mounts" column
> of /proc/partitions.  Probably this can be reused.

Actually closer to the dos_drive_mappings at the end of mount.cc, except
that only looks at the first mount point.  But, reusing anything might be
difficult due to having to save state and resume iteration on subsequent
calls.  Open to suggestions on
https://cygwin.com/pipermail/cygwin-patches/2025q1/013353.html.

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019