Comment 2 for bug 337802

Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

As we discussed online, I'm a bit uncomfortable with simply returning False if it's not found. I'd like to see what the errors look like, and handle it appropriately. Blindly returning False on isMounted() and keeping everything else as is may present side-effects such as trying to mount an already mounted partition. If /proc/mounts isn't available on some operating systems where Smart is wanted, let's implement correct isMounted() support on them instead.