[PATCH] Cygwin: Fix access to block devices below /proc/sys.

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Dec 1 16:04:55 GMT 2020


On Dec  1 16:59, Christian Franke wrote:
> Corinna Vinschen wrote:
> > \Device\Mup is a character device and thus the devices below are not
> > accessible for directory enumeration.  I assume it's the same for DFS.
> 
> Here I see \Device\Mup as a block device on two systems (cygwin1.dll 3.1.7):
> 
> $ ls -l /proc/sys/Device/Mup
> brwxrwx--x 1 Administrators SYSTEM 0, 250 Dec  1 16:50 /proc/sys/Device/Mup

Huh?

$ ls -l /proc/sys/Device/Mup
crwxrwx--x 1 Administrators SYSTEM 0, 250 Dec  1 17:04 /proc/sys/Device/Mup

This is what I'd expect.  Can you debug why this is a block device
on your systems?


Thanks,
Corinna


More information about the Cygwin-patches mailing list