Bug 48147

Summary: hald needs to sense that device is unmounted outside
Product: hal Reporter: Yuri <yuri>
Component: haldAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: FreeBSD   
Whiteboard:
i915 platform: i915 features:

Description Yuri 2012-04-01 02:14:25 UTC
If device is mounted through hald and unmounted outside of hald (by umount command), hald still thinks device is mounted.

I suggest hald should watch the mounted state of the device (through kqueue or similar interface) and adjust the device state if it was unmounted outside.

Currently, calibre (ebook reader manager) mounts devices through hald, and it doesn't unmount them when it exits. When they are unmounted by user, next run of Calibre fails to mount the device again since hald still thinks device is mounted.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.