I did a couple more backtraces and got different results (after detaching and reattaching):
(gdb) bt #0 0xa7f2c410 in ?? () #1 0xaf9df678 in ?? () #2 0x08056468 in ?? () #3 0x00000001 in ?? () #4 0xa7e9e423 in open () from /lib/tls/i686/cmov/libc.so.6 #5 0x0804dbef in sync_part (name=0x8054db0 "/dev/sda1") at state.c:158 #6 0x0804dc5d in sync_current_disk () at state.c:176 #7 0x0804ddaf in sync_spinning_disks (head=0x8054e68) at state.c:221 #8 0x0804e5fe in nfd_daemon (head=0x8054e68, stat=0x8056360) at state.c:437 #9 0x0804cb2c in main (argc=3, argv=0xaf9df844) at noflushd.c:269 (gdb) bt #0 release_line (line=0x8057608 " 1 14 ram14 0 0 0 0 0 0 0 0 0 0 0\n") at util.c:69 #1 0x0804a966 in update_io_25 (ds=0x8056360) at disk_stat.c:502 #2 0x0804aba5 in disk_stat_update (ds=0x8056360) at disk_stat.c:556 #3 0x0804e0ec in check_io (di=0x8054e68, ds=0x8056360, interval=0) at state.c:316 #4 0x0804e580 in nfd_daemon (head=0x8054e68, stat=0x8056360) at state.c:414 #5 0x0804cb2c in main (argc=3, argv=0xaf9df844) at noflushd.c:269 (gdb) bt #0 0xa7f2c410 in ?? () #1 0xaf9df4cc in ?? () #2 0x00000400 in ?? () #3 0xa7f27000 in ?? () #4 0xa7e9e603 in read () from /lib/tls/i686/cmov/libc.so.6 #5 0xa7e41638 in _IO_file_read () from /lib/tls/i686/cmov/libc.so.6 #6 0xa7e429e8 in _IO_file_underflow () from /lib/tls/i686/cmov/libc.so.6 #7 0xa7e4313b in _IO_default_uflow () from /lib/tls/i686/cmov/libc.so.6 #8 0xa7e443fd in __uflow () from /lib/tls/i686/cmov/libc.so.6 #9 0xa7e386a6 in _IO_getline_info () from /lib/tls/i686/cmov/libc.so.6 #10 0xa7e385ef in _IO_getline () from /lib/tls/i686/cmov/libc.so.6 #11 0xa7e3757f in fgets () from /lib/tls/i686/cmov/libc.so.6 #12 0x0804eb71 in get_line (fp=0x8056e08) at util.c:56 #13 0x0804a8d6 in update_io_25 (ds=0x8056360) at disk_stat.c:493 #14 0x0804aba5 in disk_stat_update (ds=0x8056360) at disk_stat.c:556 #15 0x0804e0ec in check_io (di=0x8054e68, ds=0x8056360, interval=0) at state.c:316 #16 0x0804e580 in nfd_daemon (head=0x8054e68, stat=0x8056360) at state.c:414 #17 0x0804cb2c in main (argc=3, argv=0xaf9df844) at noflushd.c:269 Also, strace shows this endless loop: _llseek(3, 0, [0], SEEK_SET) = 0 read(3, "major minor #blocks name\n\n 8"..., 1024) = 323 open("/dev/sda", O_WRONLY) = 7 fsync(7) = 0 close(7) = 0 open("/dev/sda1", O_WRONLY) = 7 fsync(7) = 0 close(7) = 0 open("/dev/sda2", O_WRONLY) = 7 fsync(7) = 0 close(7) = 0 open("/dev/sda5", O_WRONLY) = 7 fsync(7) = 0 close(7) = 0 open("/dev/sda6", O_WRONLY) = 7 fsync(7) = 0 close(7) = 0 read(3, "", 1024) = 0 time(NULL) = 1163667408 _llseek(5, 0, [0], SEEK_SET) = 0 read(5, " 1 0 ram0 0 0 0 0 0 0 0 0 0"..., 1024) = 1024 read(5, "hda5 198 396 0 0\n 3 6 hda6 "..., 1024) = 163 read(5, "", 1024) = 0 time(NULL) = 1163667408 where: # lsof -n|grep noflushd noflushd 3159 root cwd DIR 8,1 4096 2 / noflushd 3159 root rtd DIR 8,1 4096 2 / noflushd 3159 root txt REG 8,1 105783 726181 /usr/sbin/noflushd noflushd 3159 root mem REG 0,0 0 [heap] (stat: No such file or directory) noflushd 3159 root mem REG 8,1 1241580 613116 /lib/tls/i686/cmov/libc-2.3.6.so noflushd 3159 root mem REG 8,1 88164 290409 /lib/ld-2.3.6.so noflushd 3159 root 0u CHR 1,3 1075 /dev/null noflushd 3159 root 1u CHR 1,3 1075 /dev/null noflushd 3159 root 2u CHR 1,3 1075 /dev/null noflushd 3159 root 3r REG 0,3 0 4026531852 /proc/partitions noflushd 3159 root 4u REG 0,3 0 4026531937 /proc/sys/vm/dirty_writeback_centisecs noflushd 3159 root 5r REG 0,3 0 4026531859 /proc/diskstats noflushd 3159 root 6r DIR 0,8 0 273 inotify and another backtrace: (gdb) bt full #0 0xa7e0f174 in strtol_l () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #1 0xa7e0e82f in __strtoul_internal () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #2 0xa7e2c5fb in _IO_vfscanf () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #3 0xa7e39a79 in vsscanf () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #4 0xa7e34f2e in sscanf () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #5 0x0804a958 in update_io_25 (ds=0x8056360) at disk_stat.c:496 stat = (FILE *) 0x8056e08 ret = 14 major = 1 minor = 12 dummy = 0 rio = 0 rblk = 0 wio = 0 wblk = 0 ch_dummy = "[EMAIL PROTECTED]" line = 0x8057608 " 1 12 ram12 0 0 0 0 0 0 0 0 0 0 0\n" di = (disk_io_t) 0x80573f8 #6 0x0804aba5 in disk_stat_update (ds=0x8056360) at disk_stat.c:556 No locals. #7 0x0804e0ec in check_io (di=0x8054e68, ds=0x8056360, interval=0) at state.c:316 rw_spinning = 0 rw_stopped = 0 irq_is_idle = 0 io_flags = 1200 #8 0x0804e580 in nfd_daemon (head=0x8054e68, stat=0x8056360) at state.c:414 left = 0 sync_left = 0 interval = 0 t_new = 1163667698 t_old = 1163667698 nfd_state = NFD_STATE_PARTIAL #9 0x0804cb2c in main (argc=3, argv=0xaf9df844) at noflushd.c:269 i = 3 ch = 4294967295 ret = 0 debug = 0 statbuf = {st_dev = 3, __pad1 = 0, st_ino = 4026531843, st_mode = 33060, st_nlink = 1, st_uid = 0, st_gid = 0, st_rdev = 0, __pad2 = 0, st_size = 0, st_blksize = 1024, st_blocks = 0, st_atim = { tv_sec = 1163146769, tv_nsec = 928824423}, st_mtim = {tv_sec = 1163146769, tv_nsec = 928824423}, st_ctim = {tv_sec = 1163146769, tv_nsec = 928824423}, __unused4 = 0, __unused5 = 0} diskstat = (disk_stat_t) 0x8056360 diskinfo = (disk_info_t) 0x8054e68 di = (disk_info_t) 0x0 next_timeout = (tolist_t) 0x0 monitor = 2 default_timeout = 1200 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]