From: Al Viro <viro@ftp.linux.org.uk>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 8/8] fix handling of st_nlink on procfs root
Date: Thu, 9 Feb 2006 02:17:49 +0000 [thread overview]
Message-ID: <20060209021749.GM27946@ftp.linux.org.uk> (raw)
In-Reply-To: <m17j855om3.fsf@ebiederm.dsl.xmission.com>
On Wed, Feb 08, 2006 at 06:04:36PM -0700, Eric W. Biederman wrote:
> There are some other similar problems still in /proc.
>
> In my pid namespace work I have some managed to clean most of
> this up, and finally split proc into two filesystems.
>
> The only was I was able to get the union to work was
> to let lookup return files in an internal mount.
>
> The only problem was that /proc/irq/.. != /proc/
That's not the only problem here, unfortunately.
> I will finish all of this up shortly but do you know a good
> way to do a union mount when we mount proc?
Not transparently; mount(2) should _not_ mount two filesystems at once.
Note that you'll run into serious problems as soon as you try to mount/umount/
mount --move the stuff there. And doing unionfs <spit> approach will cause
fsckloads of fun issues with lifetimes.
next prev parent reply other threads:[~2006-02-09 2:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-08 20:31 [PATCH 8/8] fix handling of st_nlink on procfs root Al Viro
2006-02-09 1:04 ` Eric W. Biederman
2006-02-09 2:17 ` Al Viro [this message]
2006-02-09 3:14 ` Eric W. Biederman
2006-02-15 9:20 ` Eric W. Biederman
2006-02-15 10:39 ` Al Viro
2006-02-15 17:35 ` Eric W. Biederman
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=20060209021749.GM27946@ftp.linux.org.uk \
--to=viro@ftp.linux.org.uk \
--cc=ebiederm@xmission.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