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

2020-11-28 Thread Christian Franke
There a very few but occasionally interesting use cases for read access to block devices below /proc/sys: - Read raw images behind drive letters which are not linked to regular /dev/sdXN partitions. For example read decrypted images of VeraCrypt partitions or container files:

Re: [PATCH] Cygwin: Speed up mkimport

2020-11-28 Thread Achim Gratz
Achim Gratz writes: > That actually works, but the speedup is quite modest on my system > (4C/8T) even though I've allowed it to use unlimited resources. So it > basically forks slower than the runtime for each of the invocations is. > Some more speedup can be had if the assembler is run on

Re: [PATCH] Cygwin: Speed up mkimport

2020-11-28 Thread Achim Gratz
Achim Gratz writes: > b) Open up two pipes to an "xargs -P $ncpu/2 L 1 …" and feed in the file > names. That actually works, but the speedup is quite modest on my system (4C/8T) even though I've allowed it to use unlimited resources. So it basically forks slower than the runtime for each of the