Red Hat Bugzilla – Bug 55716
mkinitrd fails using tmpfs
Last modified: 2007-04-18 12:38:02 EDT
Description of Problem:
If I mount /tmp using an /etc/fstab entry:
tmp /tmp tmpfs defaults 0 0
Then mkinitrd fails with an error that all loop devices are in use.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Mount /tmp as a tmpfs
2. Run mkinitrd (eg, mkinitrd /boot/initrd.img 2.4.13)
Error message and no initrd.img file
initrd.img file should get created.
tmpfs doesn't support itself being backing store for loopback. Until that
changes, don't do that. :)
shmfs (aka tmpfs) indeed doesn't support loopback and other things. using it as
/tmp is also quite risky unless you have plenty of swap.