* zero devno in /proc/self/mountinfo
[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
0 siblings, 1 reply; 2+ messages in thread
From: Karel Zak @ 2012-02-29 14:14 UTC (permalink / raw)
To: linux-kernel; +Cc: Zhi Li
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.
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: zero devno in /proc/self/mountinfo
2012-02-29 14:14 ` zero devno in /proc/self/mountinfo Karel Zak
@ 2012-02-29 14:37 ` Karel Zak
0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2012-02-29 14:37 UTC (permalink / raw)
To: linux-kernel; +Cc: Zhi Li
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-29 14:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1330504129-5545-1-git-send-email-lizhi1215@gmail.com>
2012-02-29 14:14 ` zero devno in /proc/self/mountinfo Karel Zak
2012-02-29 14:37 ` Karel Zak
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®