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

mkinitrd-bash devel questions



Hi,

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

http://katzj.fedorapeople.org/git/mkinitrd.git/
I am working on fixing bugs in the bash branch of mkinitrd.
http://fedorapeople.org/~wtogami/mkinitrd-bash/
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
ide=/proc/ide/ide*
if [ -n "$forceide" -o -n "$ide" -a "x$PROBE" == "xyes" ]; then
    findmodule -ide-disk
fi

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]