1# Common Events of the File Management Subsystem 2This document lists the common system events provided by the file management subsystem to applications. Applications can use [APIs](../js-apis-commonEventManager.md) to subscribe to common system events. 3 4## COMMON_EVENT_VOLUME_REMOVED<sup>9+<sup> 5Indicates that an external storage device was removed. 6- Value: usual.event.data.VOLUME_REMOVED 7- Required subscriber permissions: ohos.permission.STORAGE_MANAGER 8 9When an external storage device is removed, the event notification service is triggered to publish this event. 10 11## COMMON_EVENT_VOLUME_UNMOUNTED<sup>9+<sup> 12Indicates that an external storage device was unmounted. 13- Value: usual.event.data.VOLUME_UNMOUNTED 14- Required subscriber permissions: ohos.permission.STORAGE_MANAGER 15 16When an external storage device is successfully unmounted by calling [unmount](../../apis-core-file-kit/Readme-EN.md) or by removing the device, the event notification service is triggered to publish this event. 17 18## COMMON_EVENT_VOLUME_MOUNTED<sup>9+<sup> 19Indicates that an external storage device was mounted. 20- Value: usual.event.data.VOLUME_MOUNTED 21- Required subscriber permissions: ohos.permission.STORAGE_MANAGER 22 23When an external storage device is mounted by calling [mount](../../apis-core-file-kit/Readme-EN.md) or by inserting the device, the event notification service is triggered to publish this event. 24 25## COMMON_EVENT_VOLUME_BAD_REMOVAL<sup>9+<sup> 26Indicates that an external storage device was removed without being unmounted. 27- Value: usual.event.data.VOLUME_BAD_REMOVAL 28- Required subscriber permissions: ohos.permission.STORAGE_MANAGER 29 30When an external storage device is directly removed without being umounted, the event notification service is triggered to publish this event. 31 32## COMMON_EVENT_VOLUME_EJECT<sup>9+<sup> 33Indicates that an external storage device is about to be ejected. 34- Value: usual.event.data.VOLUME_EJECT 35- Required subscriber permissions: ohos.permission.STORAGE_MANAGER 36 37When the user calls [unmount](../../apis-core-file-kit/Readme-EN.md) on a mounted external storage device or removes the device, the event notification service is triggered to publish this event. 38