*- On 3 Oct, H. Peter Anvin wrote about "Re: How to determine what is using the
autofs module?"
> Brian Servis wrote:
>>
>> How can I determine what is using my autofs kernel module? I have
>> autofs as a module and I can not remove it because it says it is busy.
>> I do not have any automount processes running and no open mounts that
>> automount controls.
>>
>> Somehow one of my mount points is in a strange state I can't find a way
>> to get it unstuck. I don't want to reboot if at all possible.
>>
>
> Check out /proc/mounts. Most likely you are hitting the mount locking
> bug that seems to have bitten a number of people lately.
>
> -hpa
Yep, it is there!
# cat mounts
/dev/root / ext2 rw 0 0
/proc /proc proc rw 0 0
/dev/hda3 /boot ext2 rw 0 0
/dev/hdc6 /var ext2 rw 0 0
/dev/hdb3 /home ext2 rw 0 0
automount(pid442) /bri autofs rw 0 0
And like I mentioned there is not automount running. The pid listed is
the pid of the process that was hung in the first place. I forgot to
mention that I am running kernel 2.2.12 and autofs 3.1.3.
Now what? How do I get rid of that stale mount listing without
rebooting?
Thanks,
--
Brian Servis
------------------------------------------------------------------------
Mechanical Engineering | Never criticize anybody until you
Purdue University | have walked a mile in their shoes,
[EMAIL PROTECTED] | because by that time you will be a
http://www.ecn.purdue.edu/~servis | mile away and have their shoes.