1 |
Mark Knecht wrote: |
2 |
> and what's with this time stamp value? |
3 |
> |
4 |
> When I boot this machine it gets to a point where it says something |
5 |
> like 'Wiping /tmp...' and then I see a message 'Unable to remove |
6 |
> ./jack' and then something about the device or directory being busy. |
7 |
> When I log in as root and try to remove it by hand this is the |
8 |
> results: |
9 |
> |
10 |
> lightning tmp # ls -la |
11 |
> total 24 |
12 |
> drwxrwxrwt 5 root root 8192 2008-06-28 07:12 . |
13 |
> drwxr-xr-x 25 root root 4096 2008-05-04 18:23 .. |
14 |
> drwxrwxrwt 2 root root 4096 2008-06-28 07:10 .ICE-unix |
15 |
> drwxrwxrwt 2 root root 40 2008-06-28 00:10 jack |
16 |
> -r--r--r-- 1 root root 11 2008-06-28 07:10 .X0-lock |
17 |
> drwxrwxrwt 2 root root 4096 2008-06-28 07:10 .X11-unix |
18 |
> lightning tmp # rm -rf jack/ |
19 |
> rm: cannot remove directory `jack': Device or resource busy |
20 |
> lightning tmp # |
21 |
> |
22 |
> Two questions to start: |
23 |
> |
24 |
> 1) If /tmp/jack is really busy then who is using it? This machine was |
25 |
> cold booted 9 minutes ago and Jack (the sound connection machine) |
26 |
> isn't running: |
27 |
> |
28 |
> lightning tmp # ps aux | grep jack |
29 |
> root 5635 0.0 0.0 4096 696 pts/0 R+ 07:20 0:00 grep |
30 |
> --colour=auto jack |
31 |
> lightning tmp # |
32 |
> |
33 |
|
34 |
Try lsof: "lsof /tmp/jack" or "lsof | grep jack" since I'm not sure if |
35 |
lsof works on directories alone. |
36 |
|
37 |
Also, are you sure /tmp/jack is empty? Did you "ls -a" ? |
38 |
|
39 |
> Thanks in advance, |
40 |
> Mark |
41 |
|
42 |
|
43 |
HTH, |
44 |
PaulNM |
45 |
-- |
46 |
gentoo-user@l.g.o mailing list |