Yes. I have very old patch (I sent it half a year ago but nobody
expressed any interest) for supermount that corrects it.
to who ? supermount patch or supermount script ?
It was to both but kernel part is not need anymore.
Well, I always was surprised. IIRC my patch corrected this as well
(i.e.
it introduced a list of good fs types or like).
I still have patch here, if anybody (in Mandrake) is still
interested
i'll be more than happy to look at it.
Here is patch for /usr/sbin/supermount. It does add `--' when doing
enable and removes it when doing disable. It does *not* prevent disk
partition being supermounted - the problem is, /usr/bin/supermount does
it for known fs types and one of them is vfat. We could
- check for mount point names but it looks kinda silly
- check if drive is removable. That needs some amount of non-trivial
code that I am not willing to write.
Instead it adds -m=mount-point parameter so you can do
supermount -m=/mnt/cdrom enable
which is probably enough (after all, you do know which drives are
removable?)
-andrej
supermount.diff