lkml.org 
[lkml]   [1999]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.2.0p6: autofs bug! unmountable filesystem
Date
Followup to:  <Pine.LNX.3.96.990110214437.13411A-100000@ferret.lmh.ox.ac.uk>
By author: Chris Evans <chris@ferret.lmh.ox.ac.uk>
In newsgroup: linux.dev.kernel
>
> Hi,
>
> I can reproduce a autofs bug whereby the autofs filesystem cannot be
> unmounted.
>
> It is simple: first mount the autofs filesystem. I have RH5.2 so to do
> this I use /etc/rc.d/init.d/autofs start
>
> Now I mount my CD rom drive by doing cd /misc/cd
>
> This next step seems to break things. _Manually_ umount /misc/cd, rather
> than letting autofs timeout (before doing the the cwd will need to be
> moved from /misc/cd :-)
>
> Now, /misc cannot be unmounted, it is permanently reported as busy. Not
> good.
>

I actually suspect that if you re-mounted /misc/cd and let it time out
it would let you umount /misc; the problem is that a umount of
/misc/cd doesn't execute an rmdir() required to free up the pad
directory. I will play around and see if there is a reasonable way to
deal with this.

-hpa
--
PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See http://www.zytor.com/~hpa/ for web page and full PGP public key
I am Bahá'í -- ask me about it or see http://www.bahai.org/
"To love another person is to see the face of God." -- Les Misérables

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.068 / U:0.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site