From: Georgina Russell <sfbebe@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: /proc/mounts doesn't resolve user names
Date: Fri, 1 Dec 2000 15:13:59 -0800 (PST) [thread overview]
Message-ID: <20001201231359.94203.qmail@web9503.mail.yahoo.com> (raw)
Hi
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,
Georgina
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
reply other threads:[~2000-12-01 23:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20001201231359.94203.qmail@web9503.mail.yahoo.com \
--to=sfbebe@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®