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