1 |
On Sat, Jun 28, 2008 at 12:08 PM, PaulNM <gentoo@×××××××××.com> wrote: |
2 |
> Mark Knecht wrote: |
3 |
>> |
4 |
>> and what's with this time stamp value? |
5 |
>> |
6 |
>> When I boot this machine it gets to a point where it says something |
7 |
>> like 'Wiping /tmp...' and then I see a message 'Unable to remove |
8 |
>> ./jack' and then something about the device or directory being busy. |
9 |
>> When I log in as root and try to remove it by hand this is the |
10 |
>> results: |
11 |
>> |
12 |
>> lightning tmp # ls -la |
13 |
>> total 24 |
14 |
>> drwxrwxrwt 5 root root 8192 2008-06-28 07:12 . |
15 |
>> drwxr-xr-x 25 root root 4096 2008-05-04 18:23 .. |
16 |
>> drwxrwxrwt 2 root root 4096 2008-06-28 07:10 .ICE-unix |
17 |
>> drwxrwxrwt 2 root root 40 2008-06-28 00:10 jack |
18 |
>> -r--r--r-- 1 root root 11 2008-06-28 07:10 .X0-lock |
19 |
>> drwxrwxrwt 2 root root 4096 2008-06-28 07:10 .X11-unix |
20 |
>> lightning tmp # rm -rf jack/ |
21 |
>> rm: cannot remove directory `jack': Device or resource busy |
22 |
>> lightning tmp # |
23 |
>> |
24 |
>> Two questions to start: |
25 |
>> |
26 |
>> 1) If /tmp/jack is really busy then who is using it? This machine was |
27 |
>> cold booted 9 minutes ago and Jack (the sound connection machine) |
28 |
>> isn't running: |
29 |
>> |
30 |
>> lightning tmp # ps aux | grep jack |
31 |
>> root 5635 0.0 0.0 4096 696 pts/0 R+ 07:20 0:00 grep |
32 |
>> --colour=auto jack |
33 |
>> lightning tmp # |
34 |
>> |
35 |
> |
36 |
> Try lsof: "lsof /tmp/jack" or "lsof | grep jack" since I'm not sure if lsof |
37 |
> works on directories alone. |
38 |
> |
39 |
> Also, are you sure /tmp/jack is empty? Did you "ls -a" ? |
40 |
> |
41 |
>> Thanks in advance, |
42 |
>> Mark |
43 |
> |
44 |
> |
45 |
> HTH, |
46 |
> PaulNM |
47 |
|
48 |
Hi Paul, |
49 |
Yes, ls -al shown nothing is there. |
50 |
|
51 |
Actually, I think the root cause of this is a little different than |
52 |
I expected. /tmp/jack is actually something that's mounted: |
53 |
|
54 |
lightning ~ # df |
55 |
Filesystem 1K-blocks Used Available Use% Mounted on |
56 |
<SNIP> |
57 |
none 508016 0 508016 0% /tmp/jack |
58 |
|
59 |
and the root cause of that is that it's in my fstab file: |
60 |
|
61 |
lightning ~ # cat /etc/fstab | grep jack |
62 |
none /tmp/jack tmpfs defaults 0 0 |
63 |
lightning ~ # |
64 |
|
65 |
So, there are three directions to go: |
66 |
|
67 |
1) Remove it from fstab and figure out what the repercussions of that |
68 |
action might be. |
69 |
|
70 |
2) Understand why the Gentoo boot process want to wipe mounted |
71 |
directories in /tmp since it won't work. |
72 |
|
73 |
3) Go back to ignoring it. |
74 |
|
75 |
I'm going to investigate #1 first as this is something that I think |
76 |
is left over from years ago, but maybe you or someone else has another |
77 |
idea. |
78 |
|
79 |
Thanks, |
80 |
Mark |
81 |
-- |
82 |
gentoo-user@l.g.o mailing list |