Homebrew Browser error: "Creating folders failed." May 15, 2009 12:20AM | Registered: 15 years ago Posts: 4 |
Re: Homebrew Browser error: "Creating folders failed." May 15, 2009 12:30AM | Registered: 15 years ago Posts: 29 |
Re: Homebrew Browser error: "Creating folders failed." May 15, 2009 01:03AM | Registered: 15 years ago Posts: 4 |
Re: Homebrew Browser error: "Creating folders failed." May 15, 2009 05:14AM | Registered: 15 years ago Posts: 303 |
Re: Homebrew Browser error: "Creating folders failed." May 15, 2009 06:17AM | Registered: 15 years ago Posts: 6 |
Re: Homebrew Browser error: "Creating folders failed." May 15, 2009 06:59PM | Registered: 15 years ago Posts: 303 |
Re: Homebrew Browser error: "Creating folders failed." May 15, 2009 11:19PM | Registered: 15 years ago Posts: 2,691 |
Re: Homebrew Browser error: "Creating folders failed." May 16, 2009 01:45AM | Registered: 15 years ago Posts: 6 |
Re: Homebrew Browser error: "Creating folders failed." May 16, 2009 05:28AM | Registered: 15 years ago Posts: 2 |
Re: Homebrew Browser error: "Creating folders failed." May 16, 2009 06:55AM | Registered: 15 years ago Posts: 303 |
Re: Homebrew Browser error: "Creating folders failed." May 16, 2009 07:11AM | Registered: 15 years ago Posts: 2,691 |
Re: Homebrew Browser error: "Creating folders failed." May 16, 2009 07:08PM | Registered: 15 years ago Posts: 2 |
Re: Homebrew Browser error: "Creating folders failed." May 16, 2009 09:49PM | Registered: 15 years ago Posts: 303 |
Re: Homebrew Browser error: "Creating folders failed." May 17, 2009 02:28AM | Registered: 16 years ago Posts: 42 |
Re: Homebrew Browser error: "Creating folders failed." May 17, 2009 03:11AM | Registered: 15 years ago Posts: 303 |
Re: Homebrew Browser error: "Creating folders failed." May 17, 2009 05:40AM | Registered: 16 years ago Posts: 42 |
// Attempt to write to SD card to check for SD card lock // There seems to be a small buffer, so we write 200 x 4 = 800 bytes of data FILE *f = fopen("test.txt", "wb"); char mystring[5] = "Test"; int x; for (x = 0; x < 200; x++) { fwrite (mystring, strlen(mystring), 1, f); } fclose(f); // Try to open file f = fopen("test.txt", "rb"); // If file not found if (f == NULL) { fclose(f); die("\nCould not write to SD card. \nPlease ensure the little lock switch on your SD card is switched off."); } else { fseek (f , 0, SEEK_END); int test_size = ftell (f); rewind(f); fclose(f); // If the size of the file isn't 800 then something is wrong if (test_size != 800) { die("\nCould not write to SD card. \nPlease ensure the little lock switch on your SD card is switched off %i.",test_size); } } // We are done with our test so remove the file, so the test can be run on next boot remove_file("test.txt");
Re: Homebrew Browser error: "Creating folders failed." May 17, 2009 06:54AM | Registered: 15 years ago Posts: 303 |
Re: Homebrew Browser error: "Creating folders failed." May 17, 2009 07:36AM | Registered: 16 years ago Posts: 42 |
Re: Homebrew Browser error: "Creating folders failed." June 01, 2009 10:40PM | Registered: 15 years ago Posts: 4 |
Re: Homebrew Browser error: "Creating folders failed." June 01, 2009 10:47PM | Registered: 15 years ago Posts: 2,691 |