public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Daniel Gryniewicz <dang@fprintf.net>
To: Alexander Viro <viro@math.psu.edu>
Cc: dreher@math.tu-freiberg.de, linux-kernel@vger.kernel.org
Subject: Re: 2.4.19-pre7: root filesystem issues
Date: Fri, 26 Apr 2002 11:24:23 -0400	[thread overview]
Message-ID: <20020426112423.1c172ab0.dang@fprintf.net> (raw)
In-Reply-To: <Pine.GSO.4.21.0204260227270.20558-100000@weyl.math.psu.edu>

On Fri, 26 Apr 2002 02:32:23 -0400 (EDT)
Alexander Viro <viro@math.psu.edu> wrote:

> 
> 
> On Fri, 26 Apr 2002, Michael Dreher wrote:
> 
> > dreher@karpfen:~ > df
> > Filesystem           1k-blocks      Used Available Use% Mounted on
> > rootfs                 7060308   6276188    425472  94% /
> 
> df(1) is wrong.  There is (see /proc/mounts below) rootfs mounted as
> root (ramfs, actually) and ext3 mounted over it.  df sees two entries
> in /etc/mtab (on your box - /proc/mounts) with mountpoint "/" and
> does statfs("/", &buf); for both.  Surprise, surprise, results of
> two calls of statf2(2) are identical - what with arguments being
> the same both times - and refer to the filesystem where your "/"
> lives.  I.e. to ext3.
> 
> > /dev/root              7060308   6276188    425472  94% /
> > /dev/hda4              3794936   3042316    559840  84% /home
> > 
> > dreher@karpfen:~ > cat /proc/mounts
> > rootfs / rootfs rw 0 0
> > /dev/root / ext3 rw,noatime,nodiratime 0 0
> > proc /proc proc rw 0 0
> > /dev/hda4 /home ext3 rw,noatime,nodiratime 0 0
> > usbdevfs /proc/bus/usb usbdevfs rw 0 0
> > devpts /dev/pts devpts rw 0 0

On a related note (the listing of /dev/root reminded me), as of
2.4.19-pre7-ac2, I can no longer boot with a "root=/dev/discs/disc0/part1"
command line, I have to use "root=/dev/ide/host2/bus0/target0/lun0/part1".  My
previous kernel (2.4.19-pre4-ac2-radix) and all ones before that worked fine
with the first version of the command line.  Is this an intended change or is
it a bug?  I can give more information if necessary, and it's happening on two
different AMD based systems with different chipsets.

Daniel
--- 
Recursion n.:
        See Recursion.
                        -- Random Shack Data Processing Dictionary


  reply	other threads:[~2002-04-26 15:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-26 15:20 2.4.19-pre7: rootfs mounted twice Michael Dreher
2002-04-26  6:32 ` Alexander Viro
2002-04-26 15:24   ` Daniel Gryniewicz [this message]
2002-04-26 16:15   ` Pavel Machek
2002-04-26 17:29     ` Alexander Viro
2002-04-26 17:47       ` Jeff Chua
2002-04-26 18:46         ` Alexander Viro
2002-04-26 18:50         ` Richard B. Johnson

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=20020426112423.1c172ab0.dang@fprintf.net \
    --to=dang@fprintf.net \
    --cc=dreher@math.tu-freiberg.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@math.psu.edu \
    /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