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