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

mkinitrd-bash devel questions


pjones said it might be off-topic for this list, but lacking a better place elsewhere he suggested posting here.

I am working on fixing bugs in the bash branch of mkinitrd.
Here is my git branch based upon katzj's repo.

for i in $(seq 0 127) ; do mknod /dev/loop$i b 7 $i: ; done

Is it really necessary to create 128 loop devices in initrd? This seems a little excessive.


# If we have ide devices and module ide, do the right thing
if [ -n "$forceide" -o -n "$ide" -a "x$PROBE" == "xyes" ]; then
    findmodule -ide-disk

This code never did work properly.

1) ide=/proc/ide/ide* makes $ide == "/proc/ide/ide*", it never did probe.
2) As a result of that, -n "$ide" always was true.
3) /proc/ide doesn't even exist now.
4) ide-disk module doesn't exist now either.

Should we just remove this block, --force-ide-probe and PROBE?


More later...

Warren Togami
wtogami redhat com

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