comments
This commit is contained in:
parent
b601080960
commit
e490b95f1d
@ -251,7 +251,7 @@ begin
|
|||||||
push_trace('VolumeManager.check_for_volumes');
|
push_trace('VolumeManager.check_for_volumes');
|
||||||
|
|
||||||
bootrecord := PMaster_Boot_Record(kalloc(SizeOf(TMaster_Boot_Record)));
|
bootrecord := PMaster_Boot_Record(kalloc(SizeOf(TMaster_Boot_Record)));
|
||||||
drive^.readCallback(drive, 0, 1, puint32(bootrecord));
|
drive^.readCallback(drive, 0, 1, puint32(bootrecord)); //TODO multiple drives
|
||||||
|
|
||||||
//TODO multipe partition entries
|
//TODO multipe partition entries
|
||||||
if bootrecord^.partition[0].LBA_start <> 0 then
|
if bootrecord^.partition[0].LBA_start <> 0 then
|
||||||
@ -330,6 +330,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
//TODO CHECK FILESYSTEM EXSISTS
|
||||||
|
|
||||||
//format volume
|
//format volume
|
||||||
volume^.filesystem^.createCallback(volume, sectorCount, sectorStart, config);
|
volume^.filesystem^.createCallback(volume, sectorCount, sectorStart, config);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user