Package: lsof Severity: normal Version: 4.75.dfsg.1-1 Tags: upstream Lsof fails on mmaped failes with spaces: a.out is from test.c, which opens() a file and then mmaps it, and then sleeps forever.
$ ./a.out & [3] 3451 $ lsof -p 3451 lsof: WARNING: can't stat() ext3 file system /dev/.static/dev Output information may be incomplete. COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME a.out 3451 pryzbyj cwd DIR 3,1 12288 126977 /tmp a.out 3451 pryzbyj rtd DIR 3,1 4096 2 / a.out 3451 pryzbyj txt REG 3,1 12123 132689 /tmp/a.out a.out 3451 pryzbyj mem REG 3,3 70845 /home/pryzbyj/ootb/Out (stat: No such file or directory) a.out 3451 pryzbyj mem REG 3,1 1254468 175178 /lib/tls/libc-2.3.2.so a.out 3451 pryzbyj mem REG 3,1 90248 174934 /lib/ld-2.3.2.so a.out 3451 pryzbyj 0u CHR 136,2 4 /dev/pts/2 a.out 3451 pryzbyj 1u CHR 136,2 4 /dev/pts/2 a.out 3451 pryzbyj 2u CHR 136,2 4 /dev/pts/2 a.out 3451 pryzbyj 3r REG 3,3 159581184 70845 /home/pryzbyj/ootb/Out of the Blue @ The Fields 7-22-05, set 2.mp3 I checked the code, briefly; it seems that get_fields() is to blame. Justin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]