[lkml]   [2000]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
I'm using kernel version 2.2.14. When the mount
syscall or mount command is called, the user given
name of the mount point isn't resolved. These means
that /proc/mounts will have entries with symlinks
while /etc/mtab will have the real directory.

In the case of smbmnt, chdir is called on the mount
point, and subsequently, the mount syscall is given
"." as it's second arguemnt.

This means "." is in /proc/mounts, and when a samba
mount is left unmounted at time of shutdown, the
shutdown routine goes through /proc/mount and tries to
remove all of the processes in directories which are
still mounted. As you might have figured, it tries
to remove all processes in the cwd, which includes
itself. The shutdown hangs forever.

I heard this was fixed in 2.40 testx, but I can't use
that kernel. Does anyone know of a fix for 2.2.14?

Thanks so much,

Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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