Bug 48147 - hald needs to sense that device is unmounted outside
Summary: hald needs to sense that device is unmounted outside
Status: NEW
Alias: None
Product: hal
Classification: Unclassified
Component: hald (show other bugs)
Version: unspecified
Hardware: Other FreeBSD
: medium enhancement
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-01 02:14 UTC by Yuri
Modified: 2012-04-01 02:14 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.