On Fri May 11 10:26 , Ralph <[EMAIL PROTECTED]> sent:

>On Fri May 11  8:33 , Gus Wirth [EMAIL PROTECTED]> sent:
>
>>Ralph wrote:
>>> Gus, thank you for posting that email.
>>> 
>>
>>One thing you might try is to use the lsof command. lsof 
>lists open 
>>files along with the user and pid of the holding process.
>>
>>In one of your messages you say you have the pid of the 
>process doing 
>>the mail. If so, you could do something like:
>>
>>$ lsof | grep 
>>
>>and see if you can find the open file.
>>
>>Good luck,
>>
>>Gus
>>
>
>Thanks Gus.  I am unfamiliar with lsof.  It's output appears 
>quite daunting, even through 'grep "3202".  It shows 129 
lines 
>but the very first three lines are obviously directories.  I 
>guess this is to prevent the directory from being moved or 
>deleted.  Looks like I have my work cut out for me.
>
>(Now when I cannot delete a directory or whatnot, I'll know 
>what to check.)

or when something refuses to umount.


>
>Thanks again.

I didn't realize that this didn't go through the list, so I'm 
replying to it there.

I dumped the 'lsof | grep "NAME\|3202"' into a file once I 
realized that most of the lines of output were some form 
of .so file or .jar file.  I then used vim to eliminate those 
lines.  Now I just have 26 lines left to look at.

I think it's safe to ignore the two directories.  But beyond 
that, I'm not sure what it might be.  Some of it I don't even 
know how to look at, like pipes and sockets.  I'll see if I 
can trim the lines down some to reduce wrapping and paste it 
below.  Every line has "mozilla-b" under "COMMAND", "3202" 
under "PID", and "rafael" under "USER".  Here's what's left:

 FD   TYPE     DEVICE     SIZE      NODE NAME
cwd    DIR      253,1     4096   1114113 /home/rafael
rtd    DIR      253,0     4096         2 /
txt    REG      253,0   203172  
30903843 /usr/local/mozilla/v1.7.13/mozilla-bin
DEL    REG        0,7             491533 /SYSV00000000
mem    REG      253,0    25404  
29921529 /usr/lib/gconv/gconv-modules.cache
mem    REG      253,0 53374976    
983217 /usr/lib/locale/locale-archive
mem    REG        0,0                  0 [vdso] (stat: No such 
file or directory)
mem    CHR        1,5               1565 /dev/zero
  0r   CHR        1,3               1563 /dev/null
  1w  FIFO        0,5               9065 pipe
  2w  FIFO        0,5               9065 pipe
  3u  unix 0xd04aa2c0              10979 socket
  4r  FIFO        0,5              11010 pipe
  5w  FIFO        0,5              11010 pipe
  6r  FIFO        0,5              11036 pipe
  7w  FIFO        0,5              11036 pipe
 10u   REG      253,1     8483   
1180274 /home/rafael/.mozilla/default/266qlx3h.slt/panacea.dat
 11r  FIFO        0,5              11072 pipe
 12w  FIFO        0,5              11072 pipe
 18u   REG      253,0   135168   
3965072 /tmp/rafael/.mozilla/default/266qlx3h.slt/Cache/_CACHE_MAP_
 19u   REG      253,1   145949   
1179874 /home/rafael/.mozilla/default/266qlx3h.slt/history.dat
 20u   REG      253,0  6462464   
3965204 /tmp/rafael/.mozilla/default/266qlx3h.slt/Cache/_CACHE_001_
 21u   REG      253,0  6787072   
3965473 /tmp/rafael/.mozilla/default/266qlx3h.slt/Cache/_CACHE_002_
 22u   REG      253,0 16863232   
3965273 /tmp/rafael/.mozilla/default/266qlx3h.slt/Cache/_CACHE_003_
 24u   REG      253,1    27321   
1179912 /home/rafael/.mozilla/default/266qlx3h.slt/abook.mab
 25r   REG      253,1  3239062   
1179873 /home/rafael/.mozilla/default/266qlx3h.slt/XUL.mfasl

(I seem to recall telling Mozilla to put the cache in /tmp so 
that my backup wouldn't be clogged with it.)

Ignoring everything but the files, I did:
# ll 
-tr /usr/local/mozilla/v1.7.13/mozilla-bin /usr/lib/gconv/gconv-modules.cache 
/usr/lib/locale/locale-archive 
/home/rafael/.mozilla/default/266qlx3h.slt/panacea.dat 
/tmp/rafael/.mozilla/default/266qlx3h.slt/Cache/_CACHE_MAP_ 
/home/rafael/.mozilla/default/266qlx3h.slt/history.dat 
/tmp/rafael/.mozilla/default/266qlx3h.slt/Cache/_CACHE_001_ 
/tmp/rafael/.mozilla/default/266qlx3h.slt/Cache/_CACHE_002_ 
/tmp/rafael/.mozilla/default/266qlx3h.slt/Cache/_CACHE_003_ 
/home/rafael/.mozilla/default/266qlx3h.slt/abook.mab 
/home/rafael/.mozilla/default/266qlx3h.slt/XUL.mfasl

and got:
-rwxr-xr-x  1 root   root     203172 Apr 17  
2006 /usr/local/mozilla/v1.7.13/mozilla-bin
-rw-r--r--  1 root   root   53374976 May 27  
2006 /usr/lib/locale/locale-archive
-rw-r--r--  1 root   root      25404 May 27  
2006 /usr/lib/gconv/gconv-modules.cache
-rw-r--r--  1 rafael rafael  3239062 May  7 
00:38 /home/rafael/.mozilla/default/266qlx3h.slt/XUL.mfasl
-rw-rw-r--  1 rafael rafael 16863232 May 10 
00:53 /tmp/rafael/.mozilla/default/266qlx3h.slt/Cache/_CACHE_003_
-rw-rw-r--  1 rafael rafael  6787072 May 10 
00:53 /tmp/rafael/.mozilla/default/266qlx3h.slt/Cache/_CACHE_002_
-rw-rw-r--  1 rafael rafael     8483 May 10 
00:53 /home/rafael/.mozilla/default/266qlx3h.slt/panacea.dat
-rw-rw-r--  1 rafael rafael    27321 May 10 
00:53 /home/rafael/.mozilla/default/266qlx3h.slt/abook.mab
-rw-rw-r--  1 rafael rafael   135168 May 10 
09:54 /tmp/rafael/.mozilla/default/266qlx3h.slt/Cache/_CACHE_MAP_
-rw-rw-r--  1 rafael rafael  6462464 May 10 
09:54 /tmp/rafael/.mozilla/default/266qlx3h.slt/Cache/_CACHE_001_
-rw-rw-r--  1 rafael rafael   145949 May 10 
09:55 /home/rafael/.mozilla/default/266qlx3h.slt/history.dat

Out of that, all but three are too old to possibly be what I 
want.  And no joy on those three either.  The first is all 
binary.  And the other two do not have what I'm looking for.  
That leaves me with just:

 FD   TYPE     DEVICE    NODE NAME
DEL    REG        0,7  491533 /SYSV00000000
mem    REG        0,0       0 [vdso] (stat: No such file or 
directory)
mem    CHR        1,5    1565 /dev/zero
  0r   CHR        1,3    1563 /dev/null
  1w  FIFO        0,5    9065 pipe
  2w  FIFO        0,5    9065 pipe
  3u  unix 0xd04aa2c0   10979 socket
  4r  FIFO        0,5   11010 pipe
  5w  FIFO        0,5   11010 pipe
  6r  FIFO        0,5   11036 pipe
  7w  FIFO        0,5   11036 pipe
 11r  FIFO        0,5   11072 pipe
 12w  FIFO        0,5   11072 pipe

I don't think /dev/zero or /dev/null will help me.  And the 
rest of it, I have *no* ideas on how to view the contents.  
Anyone?

I'm thinking that it might be easier to send Mozilla's email 
composer a save signal.  If I can do that, I can get the 
contents from the drafts file.  Anyone know how to do that?

(I can start an X session as a different user allowing me to 
run a different instance of Mozilla for testing.)

---- Msg sent via CWNet - http://www.cwnet.com/


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to