Re: [PATCH] Cygwin: expose all windows volume mount points.

2025-02-10 Thread Corinna Vinschen
On Feb 7 20:38, Jeremy Drake via Cygwin-patches wrote: > They are exposed via the getmntent API and proc filesystem entries > dealing with mounts. This allows things like `df` to show volumes > that are only mounted on directories, not on drive letters. > > Addresses: https://cygwin.com/pipermai

Re: [PATCH] Cygwin: expose all windows volume mount points.

2025-02-10 Thread Jeremy Drake via Cygwin-patches
Used wrong from address... :( On Mon, 10 Feb 2025, Jeremy Drake wrote: > On Mon, 10 Feb 2025, Corinna Vinschen wrote: > > > Yes, dos_drive_mappings() is what I really meant, thanks for pointing > > it out. > > > > So I wonder why not include your additional requirements into the > > dos_drive_map

Re: Subject: [PATCH v2 2/2] Cygwin: expose all windows volume mount points.

2025-02-10 Thread Jeremy Drake via Cygwin-patches
Realized an oversight (besides the messed-up subject!) after sending: > @@ -1943,14 +1961,6 @@ extern "C" FILE * > setmntent (const char *filep, const char *) > { >_my_tls.locals.iteration = 0; > - _my_tls.locals.available_drives = GetLogicalDrives (); > - /* Filter floppy drives on A: and

[PATCH v2 1/2] Cygwin: make list of mounts for a volume in dos_drive_mappings

2025-02-10 Thread Jeremy Drake via Cygwin-patches
make mappings linked list in order rather than reverse order. Signed-off-by: Jeremy Drake --- winsup/cygwin/local_includes/mount.h | 11 +--- winsup/cygwin/mount.cc | 39 2 files changed, 35 insertions(+), 15 deletions(-) diff --git a/winsup/cygwin

Subject: [PATCH v2 2/2] Cygwin: expose all windows volume mount points.

2025-02-10 Thread Jeremy Drake via Cygwin-patches
They are exposed via the getmntent API and proc filesystem entries dealing with mounts. This allows things like `df` to show volumes that are only mounted on directories, not on drive letters. Addresses: https://cygwin.com/pipermail/cygwin/2025-February/257251.html Signed-off-by: Jeremy Drake --