# JS API Changes of the File Management Subsystem The table below lists the APIs changes of the file management subsystem in OpenHarmony 3.2 Beta2 over OpenHarmony 3.2 Beta1. ## API Changes | Module| Class| Method/Attribute/Enumeration/Constant| Change Type| |---|---|---|---| | ohos.volumeManager | Volume | diskId: string; | Added| | ohos.volumeManager | volumeManager | partition(volId: string, fstype: string, callback: AsyncCallback\): void;
partition(volId: string, fstype: string): Promise\; | Updated| | ohos.volumeManager | volumeManager | format(volId: string, callback: AsyncCallback\): void;
format(volId: string): Promise\; | Updated| | ohos.volumeManager | volumeManager | old :
getVolumeById(id: string, callback: AsyncCallback\): void;
getVolumeById(id: string): Promise\;
new :
getVolumeById(volumeId: string, callback: AsyncCallback\): void;
getVolumeById(volumeId: string): Promise\ | Updated| | ohos.volumeManager | volumeManager | old :
format(volId: string, callback: AsyncCallback\): void;
format(volId: string): Promise\;
new :
format(volumeId: string, fsType: string, callback: AsyncCallback\): void;
format(volumeId: string, fsType: string): Promise\; | Updated| | ohos.volumeManager | volumeManager | old :
partition(volId: string, fstype: string, callback: AsyncCallback\): void;
partition(volId: string, fstype: string): Promise\;
new :
partition(diskId: string, type: number, callback: AsyncCallback\): void;
partition(diskId: string, type: number): Promise\; | Updated|