From: Chris Friesen <cfriesen@nortelnetworks.com>
To: root@chaos.analogic.com
Cc: Linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: /proc/mounts "stuff"
Date: Wed, 25 Feb 2004 10:19:02 -0500 [thread overview]
Message-ID: <403CBCE6.7040405@nortelnetworks.com> (raw)
In-Reply-To: <Pine.LNX.4.53.0402241630500.4054@chaos>
Richard B. Johnson wrote:
> Linux version 2.2.24 (actually since pivot-root), have a
> problem with what's in /proc/mounts vs. what's written
> to /etc/mtab when mounting file-systems.
>
> /etc/mtab
>
> /dev/sda1 / ext2 rw 0 0
> none /proc proc rw 0 0
> none /dev/pts devpts rw,gid=5,mode=620 0 0
> none /dev/shm tmpfs rw 0 0
> /dev/sdb1 /usr/src ext2 rw 0 0
>
> /proc/mounts
>
> rootfs / rootfs rw 0 0
> /dev/root / ext2 rw 0 0
The shutdown scripts on my system seem to be compensating for this.
However, I'm hitting another problem where I do a pivot_root to a tmpfs
filesystem and the shutdown scripts no longer know how to deal with it
and try to unmount the real root filesystem from under themselves,
causing all kinds of problems.
Chris
--
Chris Friesen | MailStop: 043/33/F10
Nortel Networks | work: (613) 765-0557
3500 Carling Avenue | fax: (613) 765-2986
Nepean, ON K2H 8E9 Canada | email: cfriesen@nortelnetworks.com
prev parent reply other threads:[~2004-02-25 15:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-24 21:34 /proc/mounts "stuff" Richard B. Johnson
2004-02-24 21:42 ` Chris Meadors
2004-02-25 1:25 ` Andreas Schwab
2004-02-25 15:19 ` Chris Friesen [this message]
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=403CBCE6.7040405@nortelnetworks.com \
--to=cfriesen@nortelnetworks.com \
--cc=linux-kernel@vger.kernel.org \
--cc=root@chaos.analogic.com \
/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