I found why. It selects all filesystems that have "user" option (making
them user-mountable). Unfortunately, Mandrake's own install puts Windows
partitions with "user" option (which is correct for me):
bor@localhost ~ $ cat /etc/fstab
/dev/hdb7 / ext2 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/mnt/cdrom /mnt/cdrom supermount
fs=iso9660,dev=/dev/cdrom,ro,nosuid,nodev,noexec,--,unhide 0 0
/mnt/cdrom2 /mnt/cdrom2 supermount
fs=iso9660,dev=/dev/cdrom2,ro,nosuid,nodev,noexec,--,unhide 0 0
/mnt/floppy /mnt/floppy supermount
fs=auto,dev=/dev/fd0,nosuid,nodev,--,unhide 0 0
/dev/hda1 /mnt/win_c vfat
iocharset=koi8-r,umask=0,nosuid,check=strict,user,exec,codepage=866,nodev
0 0
/dev/hda5 /mnt/win_d vfat
iocharset=koi8-r,umask=0,nosuid,check=strict,user,exec,codepage=866,nodev
0 0
/dev/hda2 /mnt/win_e vfat
iocharset=koi8-r,umask=0,nosuid,check=strict,user,exec,codepage=866,nodev
0 0
none /proc proc defaults 0 0
/dev/hdb6 swap swap defaults 0 0
/dev/hdb5 /mnt/hdb5 ext2 defaults 1 1
bor@localhost ~ $ sudo /usr/sbin/supermount enable
/dev/hdb7 / ext2 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/mnt/cdrom /mnt/cdrom supermount
fs=iso9660,dev=/dev/cdrom,ro,nosuid,nodev,noexec,--,unhide 0 0
/mnt/cdrom2 /mnt/cdrom2 supermount
fs=iso9660,dev=/dev/cdrom2,ro,nosuid,nodev,noexec,--,unhide 0 0
/mnt/floppy /mnt/floppy supermount
fs=auto,dev=/dev/fd0,nosuid,nodev,--,unhide 0 0
/mnt/win_c /mnt/win_c supermount
fs=vfat,dev=/dev/hda1,iocharset=koi8-r,umask=0,nosuid,check=strict,nodev,codepage=866,exec
0 0
/mnt/win_d /mnt/win_d supermount
fs=vfat,dev=/dev/hda5,iocharset=koi8-r,umask=0,nosuid,check=strict,nodev,codepage=866,exec
0 0
/mnt/win_e /mnt/win_e supermount
fs=vfat,dev=/dev/hda2,iocharset=koi8-r,umask=0,nosuid,check=strict,nodev,codepage=866,exec
0 0
none /proc proc defaults 0 0
/dev/hdb6 swap swap defaults 0 0
/dev/hdb5 /mnt/hdb5 ext2 defaults 1 1
and looking in /usr/sbin/supermount:
} elsif ( $enable && (
$fs eq "iso9660" ||
( ( $fs =~ m/$fs_ok/ ) &&
( ($dev =~ /^\/dev\/($dev_ok)$/)
|| ($opt =~ m/(^|.*,)user.*/ )
^^^^
I've tried to find a way to portably check media type (well, at least do
not enable supermount on disks). I can do it for IDEs but I do not have
SCSI ... and then comes devfs ... any idea?
-andrej