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.


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to