mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: Zhi Li <xiaoxiang.fu@163.com>
Subject: Re: zero devno in /proc/self/mountinfo
Date: Wed, 29 Feb 2012 15:37:25 +0100	[thread overview]
Message-ID: <20120229143725.GA18232@x2.net.home> (raw)
In-Reply-To: <20120229141433.GB8471@x2.net.home>

On Wed, Feb 29, 2012 at 03:14:33PM +0100, Karel Zak wrote:
> On Wed, Feb 29, 2012 at 04:28:49PM +0800, Zhi Li wrote:
> > zhi@debian-lizhi:~$ cat /proc/self/mountinfo
> > 14 19 0:0 / /sys rw,nosuid,nodev,noexec,relatime - sysfs none rw
> 
>  Strange, I have never seen zero (0:0) devno. Is it correct? Seems
>  like a bug.

 OK, fs/super.c, get_anon_bdev(), unnamed_dev_start = 0; explains the
 problem. It seems like expected behavior.

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

      reply	other threads:[~2012-02-29 14:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1330504129-5545-1-git-send-email-lizhi1215@gmail.com>
2012-02-29 14:14 ` Karel Zak
2012-02-29 14:37   ` Karel Zak [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=20120229143725.GA18232@x2.net.home \
    --to=kzak@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xiaoxiang.fu@163.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

all inboxes | Powered by JetHome®