initrd vs initramfs
According to README from selinux-doc:
4) The initial policy load has been moved into userspace, and is performed from an initrd (see the BUILDING AND INSTALLING instructions below). We will likely migrate to using initramfs in the future for the initial policy.
Can anybody tell me the difference between the initrd system and the initramfs system?
So far the only answer I have got is that they are the same. The above text would imply that they are not the same though.
Sorry if this appears to be off-topic for this mailing list.
Signature · 6 lines
Brian May <[email protected]> -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 7 lines · Brian May
According to README from selinux-doc:
4) The initial policy load has been moved into userspace, and is performed from an initrd (see the BUILDING AND INSTALLING instructions below). We will likely migrate to using initramfs in the future for the initial policy.
Quoted 7 lines
Can anybody tell me the difference between the initrd system and the initramfs system?
So far the only answer I have got is that they are the same. The above text would imply that they are not the same though.
Sorry if this appears to be off-topic for this mailing list.
See Documentation/early-userspace/README in the linux-2.6.0-test4 tree. The points of interest for us were:
1) The root filesystem image is linked into the kernel image, so a tighter coupling of a kernel and its initial policy is possible,
2) The image is unpacked very early in the initialization process, so the initial policy load could potentially be moved earlier, although this would require further changes to the base kernel.
We aren't pursuing a migration to initramfs at the moment, although it remains an area of interest in the future. The existing initrd support is sufficient for the initial policy load currently, and works for both the 2.4-based and 2.6-based SELinux.
Signature · 7 lines
Stephen Smalley <[email protected]> National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.