From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20993 invoked by alias); 18 Jun 2008 19:28:43 -0000 Received: (qmail 20984 invoked by uid 22791); 18 Jun 2008 19:28:42 -0000 X-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_05,SUBJECT_FUZZY_TION X-Spam-Check-By: sourceware.org Received: from elasmtp-dupuy.atl.sa.earthlink.net (HELO elasmtp-dupuy.atl.sa.earthlink.net) (209.86.89.62) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 18 Jun 2008 19:28:23 +0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=UovMokSXZbNYBerQ1BCuFZbZrEMXIkAwVLDUWsyekgO/oqxL0hcCm9ogvPx218Nj; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-ELNK-Trace:X-Originating-IP; Received: from [71.80.44.180] (helo=[192.168.0.5]) by elasmtp-dupuy.atl.sa.earthlink.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1K93KP-0005Xb-1n; Wed, 18 Jun 2008 15:28:21 -0400 Message-ID: <485961D4.5000804@mindspring.com> Date: Wed, 18 Jun 2008 19:28:00 -0000 From: Frank Pagliughi User-Agent: Thunderbird 1.5.0.12 (X11/20071019) MIME-Version: 1.0 To: Frank Pagliughi CC: Nick Garnett , ecos-devel@ecos.sourceware.org Subject: Re: Partition support for FAT file system References: <92187523-464B-4EFE-A03F-AA54E4AD3E6A@wh2.tu-dresden.de> <20080618095232.GA10893@lunn.ch> <38B53518-83B4-47A6-A64D-FC8266DB0602@wh2.tu-dresden.de> <20080618102248.GB10893@lunn.ch> <136E7846-7252-43D7-A7A4-02ED213ADFF8@wh2.tu-dresden.de> <48593730.1050600@mindspring.com> <48593F4C.7000808@mindspring.com> In-Reply-To: <48593F4C.7000808@mindspring.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: 4d82f965df0f6dd9e3f977c6d1ea408f0a9da525759e26544513332832eb4595bb97769f15ba4b21f2c98678957fd5f6350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 71.80.44.180 X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2008-06/txt/msg00031.txt.bz2 >> >> This is already handled in the io/disk package. You mount /dev/diskN/M >> for partition M of disk N and /dev/diskN/0 for the whole disk. >> Partitioning is independent of filesystem type, so it must be done at >> a lower level that the FATFS. >> >> > Ah, ok, thanks, Nick. I misunderstood that terminology in the IDE > case, mistaking it as 'N' for the controller and 'M' for the disk on > that controller. This makes sense. > > So then it's the IDE driver that should scan the partition table on > the physical disk and export separate mount points for each? Would > that be the proper way to go? Nevermind. I found my mistake.... The name of the disk should end with a slash, like "/dev/disk0/", and then the lookup functionality in the disk library scans for partitions. I had left off the final slash and then cyg_io_lookup() was failing the exact match. Thanks again for the help, Frank