Yes, ramdisk is the old method and ramfs is the new method
(Documentation/filesystems/ramfs-rootfs-initramfs.txt has a very good
explanation about "ram" disk/fs -- thanks Zhou), but I would say there
is no difference between mkinitrd and mkinitramfs.

mkinitrd (Red Hat-based) and mkinitramfs (Debian-based) will create
the initrd for the boot process, and they will use the "old" or "new"
method depending on the version.


Just be aware that mkinitrd from Red Hat and mkinitrd from Debian are
not the same! Here some links:

http://kernel-handbook.alioth.debian.org/ch-initrd.html
http://kernel-handbook.alioth.debian...initramfs.html
http://wiki.debian.org/InitrdReplacementOptions

Conclusion, use mkinitrd on Red Hat and mkinitramfs on Debian.

Ragards
Rodolfo Martínez




On Wed, Sep 9, 2009 at 3:03 AM, Alan McKinnon<[email protected]> wrote:
> On Wednesday 09 September 2009 09:47:59 Andy Goldschmidt wrote:
>> Hi
>>
>> What is the difference between mkinitrd and mkinitramfs ?
>>
>> >From what I have read,  mkinitramfs seems to be the newer better one...
>>
>> but I can't find out why its better...
>
> initrd is the old method
> initramfs is the new (current) method
>
> It's not a question of which is better, it's a question of which is supported
> in recent kernels (recent being measured in terms of several years by now)
>
> --
> alan dot mckinnon at gmail dot com
> _______________________________________________
> lpi-discuss mailing list
> [email protected]
> http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-discuss
>
_______________________________________________
lpi-discuss mailing list
[email protected]
http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-discuss

Reply via email to