Re: My Usual Confusion
"Ingo Weinhold" <bonefish-CFLBMwTPW48UNGrzBIF7/[email protected]>
| Newsgroups | gmane.os.openbeos.storage |
|---|---|
| Message-ID | <15239942686-BeMail@graete> |
On Sat, 14 Jun 2003 15:32:49 +0200 CEST "Axel Dörfler" <axeld@pinc- software.de> wrote: > "Ingo Weinhold" <bonefish-CFLBMwTPW48UNGrzBIF7/[email protected]> wrote: > > I think, there is a difference between the disk system's pretty > > name > > and the partition's type. E.g. we have several flavors of FAT, but > > only > > one FS module handling all. > > Okay, wait before you answer to mail last eMail - that's not really > sufficient, or even fits the problem very well. That was close. I was just about to hit Alt-R. :-) > We would need a way to enumerate all known types for a given > partition > type, and even have the option of specifying one manually if needed. I supose you mean disk system name by `partition type' (the partition type would be what Tyler named kPartitionTypeFAT32 for instance). I don't think, it is necessary to enumerate those types. The partition will be labeled with the exact type, and, given a BPartition::GetDiskSystem(), we also know the disk system for a partition. > The file system itself would need to have access to these fields on > initialization, i.e. the dosfs add-on would have to decide to > initialize a volume using FAT12/16/32 based on this value. I think, one would initialize with the FAT FS and parameters like "fat- type = 32". The GUI add-on for FAT would offer the selection of the type. CU, Ingo