<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Opening USB device 2nd parition</title>
<description> Hi everybody,

So far I have no problem accessing files on the first partition. However I would like to access files on the 2nd partition on an USB device. Any thoughts on how to achieve this?

Sincerely yours,
bobribbon</description><link>http://forum.wiibrew.org/read.php?11,49666,49666#msg-49666</link><lastBuildDate>Thu, 13 Aug 2026 02:13:45 +0200</lastBuildDate>
<generator>Phorum 5.2.23</generator>
<item>
<guid>http://forum.wiibrew.org/read.php?11,49666,50176#msg-50176</guid>
<title>Re: Opening USB device 2nd parition</title><link>http://forum.wiibrew.org/read.php?11,49666,50176#msg-50176</link><description><![CDATA[ Thank you.]]></description>
<dc:creator>arasium</dc:creator>
<category>Coding</category><pubDate>Mon, 01 Mar 2010 16:30:13 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,49666,50051#msg-50051</guid>
<title>Re: Opening USB device 2nd parition</title><link>http://forum.wiibrew.org/read.php?11,49666,50051#msg-50051</link><description><![CDATA[ There&#039;s a bug in <b>your</b> code, that&#039;s what&#039;s causing the memory leak.<br /><br />fatUnmount("sd"); is incorrect - that should be fatUnmount("sd:");]]></description>
<dc:creator>Tantric</dc:creator>
<category>Coding</category><pubDate>Fri, 26 Feb 2010 17:46:48 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,49666,50045#msg-50045</guid>
<title>Re: Opening USB device 2nd parition</title><link>http://forum.wiibrew.org/read.php?11,49666,50045#msg-50045</link><description><![CDATA[ You can have an exemple of memory leak detection here?<br /><br />[<a href="http://forums.devkitpro.org/viewtopic.php?f=24&t=1761" rel="nofollow">forums.devkitpro.org</a>]<br /><br />But, the pb is that i can&#039;t find the memory leak just by reading the code of libfat. I hope the leak isn&#039;t in libogc or worst, in iosupport.h/iosupport.c<br /><br /><br />And yes, i can share the project. But before i need to explore libelm.]]></description>
<dc:creator>arasium</dc:creator>
<category>Coding</category><pubDate>Fri, 26 Feb 2010 15:15:02 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,49666,50041#msg-50041</guid>
<title>Re: Opening USB device 2nd parition</title><link>http://forum.wiibrew.org/read.php?11,49666,50041#msg-50041</link><description><![CDATA[ Mind sharing? I&#039;ve run memory leak tests on my programs (mounting and unmounting different volumes) and haven&#039;t detected any.]]></description>
<dc:creator>tueidj</dc:creator>
<category>Coding</category><pubDate>Fri, 26 Feb 2010 13:38:24 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,49666,50035#msg-50035</guid>
<title>Re: Opening USB device 2nd parition</title><link>http://forum.wiibrew.org/read.php?11,49666,50035#msg-50035</link><description><![CDATA[ Thank you tueidj. I will try to implement some new feature in a personal mod of libfat (starting by correcting a memory leak i&#039;ve found in libfat)]]></description>
<dc:creator>arasium</dc:creator>
<category>Coding</category><pubDate>Fri, 26 Feb 2010 11:10:37 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,49666,49955#msg-49955</guid>
<title>Re: Opening USB device 2nd parition</title><link>http://forum.wiibrew.org/read.php?11,49666,49955#msg-49955</link><description><![CDATA[ You have to hope the disk has a readable partition table, and parse it. Look in the libfat source code, partition.c contains a function called FindFirstValidPartition that parses the table looking for FAT partitions.]]></description>
<dc:creator>tueidj</dc:creator>
<category>Coding</category><pubDate>Thu, 25 Feb 2010 23:00:42 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,49666,49950#msg-49950</guid>
<title>Re: Opening USB device 2nd parition</title><link>http://forum.wiibrew.org/read.php?11,49666,49950#msg-49950</link><description><![CDATA[ Exactly... How do I find the startsector of a partition?]]></description>
<dc:creator>bobribbon</dc:creator>
<category>Coding</category><pubDate>Thu, 25 Feb 2010 20:43:47 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,49666,49945#msg-49945</guid>
<title>Re: Opening USB device 2nd parition</title><link>http://forum.wiibrew.org/read.php?11,49666,49945#msg-49945</link><description><![CDATA[ Lol, yes you&#039;re right. But how do you find the start sector?]]></description>
<dc:creator>arasium</dc:creator>
<category>Coding</category><pubDate>Thu, 25 Feb 2010 10:23:58 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,49666,49906#msg-49906</guid>
<title>Re: Opening USB device 2nd parition</title><link>http://forum.wiibrew.org/read.php?11,49666,49906#msg-49906</link><description><![CDATA[ Sure it is. You just have to pass the starting sector of the partition to fatMount.]]></description>
<dc:creator>tueidj</dc:creator>
<category>Coding</category><pubDate>Thu, 25 Feb 2010 01:25:38 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,49666,49877#msg-49877</guid>
<title>Re: Opening USB device 2nd parition</title><link>http://forum.wiibrew.org/read.php?11,49666,49877#msg-49877</link><description><![CDATA[ I think this isn&#039;t coded in libfat.<br /><br />Try using libelm, perhaps it works with it (i&#039;m interested about your results).]]></description>
<dc:creator>arasium</dc:creator>
<category>Coding</category><pubDate>Wed, 24 Feb 2010 10:15:11 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,49666,49666#msg-49666</guid>
<title>Opening USB device 2nd parition</title><link>http://forum.wiibrew.org/read.php?11,49666,49666#msg-49666</link><description><![CDATA[ Hi everybody,<br /><br />So far I have no problem accessing files on the first partition. However I would like to access files on the 2nd partition on an USB device. Any thoughts on how to achieve this?<br /><br />Sincerely yours,<br />bobribbon]]></description>
<dc:creator>bobribbon</dc:creator>
<category>Coding</category><pubDate>Sat, 20 Feb 2010 13:57:18 +0100</pubDate></item>
</channel>
</rss>