Skip to content
This repository has been archived by the owner on Oct 29, 2020. It is now read-only.

Commit

Permalink
TOOLS: hndinit: Sleep a second to stop slow-detecting being missed on…
Browse files Browse the repository at this point in the history
… boot.

Removed fake (testing) rootfs entries from menu.


git-svn-id: file:///home/ato/tmp/hackndev-svn/linux4palm/tools@1120 4cf8e309-b20d-0410-9cb3-b925f7cd04b4
  • Loading branch information
bobofdoom committed Jul 8, 2007
1 parent e154e9f commit 8f86caa
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions hndinit/hndinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ static int scan_partitions(void)
long blocks;
char devname[256];

einfo("Sleeping a second to allow disks to catchup...");
sleep(1);

einfo("Scanning partitions...");

f = fopen("/proc/partitions", "r");
Expand Down Expand Up @@ -426,10 +429,6 @@ int main(int argc, const char **argv)
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("");
Expand Down

0 comments on commit 8f86caa

Please sign in to comment.