Avoid crashing on new lines in /etc/fstab

Also handle /dev/shm mounts, which are not shown in the output of /etc/mounts. (/etc/mtab, however, records the /dev/shm mounts).

Sorry about the commit message. I meant *Avoid crashing on empty lines in /etc/fstab*