I'm assuming the kernel does send a REMOVE uevent to user space though? (Obviously it will when cleaning up sysfs, but it's worth a check). In which case, it'll be hal+pmount doing the unmount. -- hotplug trouble with USB CD-ROM https://launchpad.net/malone/bugs/37434