Re: exposing Windows mountpoints in Cygwin

2025-02-08 Thread Jeremy Drake via Cygwin
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 mou

Re: exposing Windows mountpoints in Cygwin

2025-02-08 Thread Corinna Vinschen via Cygwin
On Feb 7 11:19, Jeremy Drake via Cygwin wrote: > On Fri, 7 Feb 2025, Corinna Vinschen via Cygwin wrote: > > > On Feb 6 13:31, Jeremy Drake via Cygwin wrote: > > > 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 Jun

Re: exposing Windows mountpoints in Cygwin

2025-02-07 Thread Jeremy Drake via Cygwin
On Fri, 7 Feb 2025, Corinna Vinschen via Cygwin wrote: > On Feb 6 13:31, Jeremy Drake via Cygwin wrote: > > 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

Re: exposing Windows mountpoints in Cygwin

2025-02-07 Thread Corinna Vinschen via Cygwin
On Feb 7 11:11, Corinna Vinschen via Cygwin wrote: > On Feb 6 13:31, Jeremy Drake via Cygwin wrote: > > 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 root

Re: exposing Windows mountpoints in Cygwin

2025-02-07 Thread Corinna Vinschen via Cygwin
On Feb 6 13:31, Jeremy Drake via Cygwin wrote: > 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 th

exposing Windows mountpoints in Cygwin

2025-02-06 Thread Jeremy Drake via 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