ls showing deleted file, sorta
Tyler Mitchell <[email protected]> Wed, 28 Apr 2004 14:17:42 -0700
| Newsgroups | gmane.comp.gnu.fileutils.bugs |
|---|---|
| Message-ID | <OFDCF3D241.F5988448-ON88256E84.0074C3A8-88256E84.0074F9E7@lignum.com> |
I delete a log file like: $ rm /var/log/postmaster.log Then do: $ ls /var/log lastlog postmaster.log setup.log setup.log.full sshd.log It still shows there, so I check again using: $ ls /var/log -l ls: /var/log/postmaster.log: No such file or directory total 365 -rwxrwxrwx+ 1 Administ Domain A 3144744 Apr 28 09:34 lastlog -rwxrwxrwx+ 1 Administ Domain A 94443 Apr 27 15:13 setup.log -rwxrwxrwx+ 1 Administ Domain A 211575 Apr 27 15:13 setup.log.full -rwxrwxrwx+ 1 SYSTEM Administ 141 Nov 22 11:55 sshd.log And it's gone! Hmmm...was it just a timing questions? $ ls /var/log lastlog postmaster.log setup.log setup.log.full sshd.log Nope, still shows up when doing a wide listing but not a long listing. Hope this helps improve the product. This is Cygwin, Windows 2000. Tyler