Re: /dev/root changes with 3.17-rc

From: Pavel Machek
Date: Fri Oct 10 2014 - 09:36:46 EST


On Fri 2014-10-10 21:52:57, Norbert Preining wrote:
> On Fri, 10 Oct 2014, Pavel Machek wrote:
> > > I am not sure whether this is a kernel bug, but:
> > > - booting with 3.16 I get
> > > / mounted on /dev/sda6
> > > - booting with 3.17-rc* I get
> > > / mounted on /dev/root
> >
> > Where do you see the this? /proc/mounts?
>
> After loads of testing I found out what is the problem: initramfs.
>
> I normally compile my own kernel with all the drivers built-in,
> and no initramfs ... and in this case, without initrd, it seems that
> / is somehow not remounted to a proper scsi device, but remains
> at /dev/root.

But that was always the case, no? Yes, it would be nice to
print real root device name in /proc/mounts, but it was
"broken" for as far as I can remember...
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/