Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SETUPLIB][REACTOS][USETUP] Split FS-volume-specific functionality fr…
…om partitions (reactos#7258) CORE-13525 This greatly helps in reducing code complexity in some areas: code that previously iterated over all partitions of a given disk, just to find which ones were partitioned and contained a valid file system, now just have to iterate over mounted volumes. See in particular, lib/utils/osdetect.c and lib/fsutil.c . - Remove FORMATSTATE "Preformatted" enum value; - Cleanup osdetect code after introducing Volume support; - Some simplifications for FormatState. - Differentiate between 'new' partition and 'new' volume: * "New" partition: it has been created and added in the cached list, but not yet actually written into the disk. * "New" volume: newly-created volume (may be backed by a partition or not), not yet formatted. May exist on either new, or not new partition, or elsewhere.
- Loading branch information