[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#892407: initramfs-tools: scripts/local: ignore /dev/ram*



On Fri, 2018-03-09 at 00:55 +0000, Ben Hutchings wrote:
> Control: tag -1 moreinfo
> 
> Are you trying to fix the LAVA health check?

A longer and possibly more helpful answer:

1. initramfs-tools is primarily meant for booting a "real" system.  The
"root" kernel parameter says where that system is.  It doesn't make
sense to me to overload that parameter.

2. An initramfs is not the same thing as a ramdisk.  Treating device
names matching /dev/ram* specially could possibly conflict with a
configuration where both an initramfs and a ramdisk are used.

3. There is already a way to tell initramfs-tools abort the boot
process and start a shell - the "break" parameter, documented in
initramfs-tools(8).  (Hmm, that should probably be in section 7.)

Ben.

-- 
Ben Hutchings
compatible: Gracefully accepts erroneous data from any source

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: