Do we still need wait-for-root or /bin/resume?
Asked by
A Dasgupta
Since initramfs is including the blkid program (from util-linux)
and blkid uses udev as backend anyway, we can replace the
C program binary wait-for-root simply with a scripting line
such as:
blkid -p -o value -s TYPE <device>
Also the klibc-utils program /bin/resume is a C program,
but all that it is doing is echoing major:minor[
onto /sys/power/resume, which is easily doable by
a line of script.
It appears to me that by dropping these two programs
will make things simpler, easier to debug, and more consistent
with the initramfs philosophy of booting via simple scripting
and modular user programs.
.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask A Dasgupta for more information if necessary.
To post a message you must log in.