cygwin 3.5.3-1 : "Device or resource busy" from 'find {pagefile,swapfile}.sys'

Bruce Jerrick bmj001@gmail.com
Thu Apr 4 14:22:36 GMT 2024


As of cygwin 3.5.3-1, 'find' reports "Device or resource busy" and
exits with status 1 on these two files:

  $ find /cygdrive/c/{pagefile,swapfile}.sys
  /cygdrive/c/pagefile.sys
  find: ‘/cygdrive/c/pagefile.sys’: Device or resource busy
  /cygdrive/c/swapfile.sys
  find: ‘/cygdrive/c/swapfile.sys’: Device or resource busy

  $ echo $?
  1

It also happens with cygwin 3.6.0-0.109.ga0a25849f9dd .

It does not happen with cygwin 3.5.1-1 :

  $ find /cygdrive/c/{pagefile,swapfile}.sys
  /cygdrive/c/pagefile.sys
  /cygdrive/c/swapfile.sys

  $ echo $?
  0


I first observed this from running 'updatedb'.
There appear to be no ill effects other than the spurious (?)
error messages and exit status.  E.g., adding '-ls' to 'find'
seems to produce normal stat info.



More information about the Cygwin mailing list