
Originally Posted by
astrus
No, you've missed the point.
The only difference between the initrd image and the initrdfr image is that the initrd image contains one additional script (/scripts/casper-bottom/13swap) which is used to check the local hard disk drives for swap partitions and to mount them.
All I'm suggesting is that that script be modified so that before it does anything else it first checks /proc/cmdline and if a particular boot flag is present (say, "noswap") then the script immediately exits without ever checking the attached disk drives.
It achieves the same thing (the disks aren't accessed in any way) and it eliminates the need for initrdfr.