1. A method for media library management, comprising: a media library management application communicating with a host device to enable the host device access to a media library that includes a plurality of media selectively mountable in one or more drives of the media library, the media library management application executing on an appliance having a computer processor, a memory coupled to the computer processor, and an operating system executing on the computer processor; the media library management application initiating an unmount process to unmount a currently mounted medium of the plurality of media in the media library from a drive in the media library, the currently mounted medium having a currently mounted filesystem; responsive to the media library management application initiating the unmount process, the operating system initiating an unmount operation to unmount the currently mounted filesystem, wherein until the unmount operation is complete, a wait process running in a monitor thread created by the media library management application and a filesystem process remain pending, the wait process configured to monitor the filesystem process for a change in state, wherein when the unmount operation is complete, the filesystem process terminates; responsive to termination of the filesystem process, the wait process sending a notification to the media library management application; and responsive to receiving the notification from the wait process, the media library management application issuing one or more commands that are dependent upon completion of the unmount operation.