OpenSolaris

Printable Version Enter a New Search
Bug ID 6642290
Synopsis Incorrect 'UNMOUNTED' event reported by file events notification api
State 5-Cause Known (Bug is root caused)
Category:Subcategory kernel:event_ports
Keywords
Responsible Engineer Prakash Sangappa
Reported Against
Duplicate Of
Introduced In
Commit to Fix
Fixed In
Release Fixed
Related Bugs 6633553 , 6727196 , 6728674
Submit Date 15-December-2007
Last Update Date 24-July-2008
Description
The UNMOUNTED event is supposed to be reported to the application
monitoring files for file events,  when the file system on which
these files are present gets unmounted.

It is possible that an unmount operation can fail, as there may be
references to some files and directories under the filesystem. But, 
anytime an unmount operation is performed on a file system which 
has files that are being watched, the application watching these
files will receive an UNMOUNTED event, even though the unmount 
operation fails and the file system is still mounted. The event
should only be returned when the file system is successfully unmounted.

The incorrect delivery of UNMOUNTED event cause applications to 
discontinue watching files under these file systems.
Work Around
See comments.
Comments
N/A