exposing Windows mountpoints in Cygwin

Jeremy Drake cygwin@jdrake.com
Thu Feb 6 21:31:58 GMT 2025


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 working is probably to replace the available_drives mechanism for
enumerating mounts in favor of using FindFirst/NextVolumeW and
GetVolumePathNamesForVolumeNameW to enumerate cygdrive mount points.
Before I expend any effort actually trying to do this, I wanted to ask if
this is desirable/acceptable to do, or if there's some "institutional
knowledge" as to why that won't actually work.


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /