This is the mail archive of the ecos-devel@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Partition support for FAT file system


Nick Garnett wrote:
Frank Pagliughi <fpagliughi@mindspring.com> writes:
As a longer term enhancement, supporting multiple partitions would be
nice, but ideas on how to resolve the devs/mtab idea of a disk to
different partitions would be appreciated.


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?

Frank


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]