From: <bob...@us...> - 2007-07-10 19:44:21
|
Revision: 1120 http://svn.sourceforge.net/hackndev/?rev=1120&view=rev Author: bobofdoom Date: 2007-07-08 07:27:46 -0700 (Sun, 08 Jul 2007) Log Message: ----------- TOOLS: hndinit: Sleep a second to stop slow-detecting being missed on boot. Removed fake (testing) rootfs entries from menu. Modified Paths: -------------- linux4palm/tools/hndinit/hndinit.c Modified: linux4palm/tools/hndinit/hndinit.c =================================================================== --- linux4palm/tools/hndinit/hndinit.c 2007-07-08 09:43:48 UTC (rev 1119) +++ linux4palm/tools/hndinit/hndinit.c 2007-07-08 14:27:46 UTC (rev 1120) @@ -239,6 +239,9 @@ long blocks; char devname[256]; + einfo("Sleeping a second to allow disks to catchup..."); + sleep(1); + einfo("Scanning partitions..."); f = fopen("/proc/partitions", "r"); @@ -426,10 +429,6 @@ determine_model(); scan_partitions(); - add_rootfs("mmcblk0p1", "Fake-Entry.rootfs.ext2"); - add_rootfs("mmcblk0p1", "Fake-Entry2.rootfs.ext2"); - add_rootfs("hda4", "Fake-Entry3.rootfs.ext2"); - if (!rootfs_list) { eerror("No rootfs was found!"); ewarn(""); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |