lkml.org 
[lkml]   [1996]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectFS damage
  Hi, all. Last night I had a system hang while the X server was
starting up, and lost many files from the fsck -A -a cleanup. Some
files were in /dev (tty1 tty2 tty), which is possibly expected since
the files were opened read-write, but what I didn't expect was that
files such as : /usr/X11R6/lib/X11/rgb.txt (which only has read
access) were also removed by fsck. Tracing the server I note that
rgb.txt is opened read-only, mmaped with PROT_READ|PROT_WRITE, closed
and unmapped. After this the server starts probing the hardware, and
sometime later it hangs the machine.
This would seem to be a bug in the FS code, since the file was not
written to, and hence there should be nothing to flush from the buffer
cache. Does anyone have any clues as to what's going on?
I'm running kernel 2.0.0, libc 5.3.7 with ext2fs filesystems.

Regards,

Richard....

\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.027 / U:26.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site