> What if the kernel cached that information? Is that possible? For how long do you want it to cache? You have to access the device to find out about a media change...