Bug 73491

Summary: old root filesystem is not an initramfs: SUCCESS
Product: Other Reporter: Peter Weber (peter.weber)
Component: OtherAssignee: other_other
Status: RESOLVED INVALID    
Severity: normal CC: alan
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.14 Subsystem:
Regression: No Bisected commit-id:

Description Peter Weber 2014-04-03 23:13:32 UTC
Hello!
The implementation of switch_root.c inside util-linux prints a warning caused by a check, most likely because it looks for the device number and not the filesystem type. As result some memory will be wasted for the initramfs, which is not needed after booting-up is completed.

Additional info:
* package version(s): util-linux <= 2.24.1-5 and linux >= 3.14
* discussion: https://bbs.archlinux.org/viewtopic.php?id=179422
* proposed patch by Dave Reisner: http://www.spinics.net/lists/util-linux-ng/msg09062.html


Reproduce:
Boot system with the implementation of switch_root.c from util-linux

Workarounds:
Use implementations from Systemd or BusyBox. Which work in a similiar way like the proposed patch.

Thank you
Bye
Comment 1 Peter Weber 2014-04-04 07:58:28 UTC
Bugreport (Downstream): https://bugs.archlinux.org/task/39734
Comment 2 Alan 2014-04-08 09:56:00 UTC
This doesn't appear to be kernel related