[PATCH] Cygwin: skip floppy drives in cygdrive_getmntent.
Corinna Vinschen
corinna-cygwin@cygwin.com
Tue Feb 18 21:20:40 GMT 2025
On Feb 18 22:17, Corinna Vinschen wrote:
> On Feb 18 13:10, Jeremy Drake via Cygwin-patches wrote:
> > On Tue, 18 Feb 2025, Corinna Vinschen wrote:
> >
> > > Actually, given that we can't do without GetLogicalDrives anyway,
> > > this could be folded into the mapping list creation within
> > > dos_drive_mappings::dos_drive_mappings.
> >
> > I don't agree. That would affect the other user(s) of dos_drive_mappings.
> > What if somebody had a mapped file on a file on a floppy drive and looked
> > in /proc/<PID>/maps?
>
> Good point. Bad enough we still have to care for floppies.
Alternatively... calling the constructor with a parameter
`bool with_floppies'?
Corinna
More information about the Cygwin-patches
mailing list