From: Paul P Komkoff Jr <i@stingr.net>
To: linux-kernel@vger.kernel.org
Cc: Richard Gooch <rgooch@ras.ucalgary.ca>
Subject: Bug in do_mounts.c/namespace.c/devfs ?
Date: Sun, 10 Mar 2002 22:31:52 +0300 [thread overview]
Message-ID: <20020310193152.GJ28744@stingr.net> (raw)
This is clearly reproducible here.
Let's have 2.4.19-pre2-ac{2,3,maybe 4}.
Let compile in devfs support but dont enable mount on boot etc.
After boot we will have in /proc/mounts the following line
devfs /dev devfs
(other mounts)
Digging into do_mounts.c brought me to following code fragments:
do_devfs = 1;
}
}
sys_chdir("/dev");
sys_unlink("root");
sys_mknod("root", S_IFBLK|0600, kdev_t_to_nr(ROOT_DEV));
if (do_devfs)
sys_mount("devfs", ".", "devfs", 0, NULL);
followed then by ...
done:
putname(fs_names);
if (do_devfs)
sys_umount(".", 0);
I am unfamiliar with devfs and vfs code so my bug-hunting go very slowly.
Maybe somebody will point into right direction ?
The only thing I can add that in 2.4.17 all was fine.
--
Paul P 'Stingray' Komkoff 'Greatest' Jr // (icq)23200764 // (irc)Spacebar
PPKJ1-RIPE // (smtp)i@stingr.net // (http)stingr.net // (pgp)0xA4B4ECA4
next reply other threads:[~2002-03-10 19:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-10 19:31 Paul P Komkoff Jr [this message]
2002-03-10 21:13 ` Alexander Viro
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=20020310193152.GJ28744@stingr.net \
--to=i@stingr.net \
--cc=linux-kernel@vger.kernel.org \
--cc=rgooch@ras.ucalgary.ca \
/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®