https://bugzilla.novell.com/show_bug.cgi?id=782689 https://bugzilla.novell.com/show_bug.cgi?id=782689#c7 --- Comment #7 from Andrey Borzenkov <arvidjaar@gmail.com> 2012-10-01 10:15:42 UTC --- (In reply to comment #6)
It could load the modules only if `blkid' reports such a filesystem on some of the partitions. Or, alternatively unload modules loaded by the prober. But that would be racy with other user's activity.
IMHO it should simply use grub2-mount which is using fuse to mount partitions. It makes no sense to probe file systems that are not supported by grub anyway, and hopefully people won't mind single "fuse" module being loaded. linux-q652:~ # umount /boot/efi linux-q652:~ # rmmod vfat linux-q652:~ # rmmod fat linux-q652:~ # grub2-mount /dev/sda1 /mnt linux-q652:~ # lsmod | grep fat linux-q652:~ # grep /mnt /proc/self/mounts grub2-mount /mnt fuse.grub2-mount rw,nosuid,nodev,relatime,user_id=0,group_id=0 0 0 linux-q652:~ # ls /mnt efi
BTW1 does it load modules for other than msdos _partition tables_ to find really all OSes?
It does not explicitly probe for partitions at all, it relies on kernel to do it.
BTW2 should "grub-mount" in /usr/lib/os-probes/50mounted-tests be grub2-mount?
It should. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.