public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygwin 3.5.3-1 : "Device or resource busy" from 'find {pagefile,swapfile}.sys'
@ 2024-04-04 14:22 Bruce Jerrick
  2024-04-04 16:25 ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce Jerrick @ 2024-04-04 14:22 UTC (permalink / raw)
  To: cygwin

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-04-04 17:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-04 14:22 cygwin 3.5.3-1 : "Device or resource busy" from 'find {pagefile,swapfile}.sys' Bruce Jerrick
2024-04-04 16:25 ` Corinna Vinschen
2024-04-04 17:57   ` Bruce Jerrick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).