https://bugzilla.novell.com/show_bug.cgi?id=759635 https://bugzilla.novell.com/show_bug.cgi?id=759635#c0 Summary: os-prober fails to mount UFS2 partitions Classification: openSUSE Product: openSUSE 12.2 Version: Milestone 3 Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Bootloader AssignedTo: jsrain@suse.com ReportedBy: hippolyte@shaw.ca QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0 os-prober detects BSD UFS partitions but fails to mount ufs2 without the proper ufs type (ufs2). I seems to default to 44bsd (mount -u ufs is equivalent to mount -u ufs -o ufstype=44bsd). Reproducible: Always Steps to Reproduce: 1. add the --verbose option (-v) to the mount command and do not redirect standard error in file /usr/lib/os-probes/50mounted-tests --- /usr/lib/os-probes/50mounted-tests.orig 2012-04-27 03:05:50.883133225 -0700 +++ /usr/lib/os-probes/50mounted-tests 2012-04-27 03:48:58.885248552 -0700 @@ -60,7 +60,7 @@ else ro_partition "$partition" for type in $types $delaytypes; do - if mount -o ro -t "$type" "$partition" "$tmpmnt" 2>/dev/null; then + if mount -v -o ro -t "$type" "$partition" "$tmpmnt" ; then debug "mounted as $type filesystem" mounted=1 break 2. run os-prober on a system with ufs2 partitions Actual Results: ... /dev/sda22 on /var/lib/os-prober/mount type ufs (ro) /dev/sda23 on /var/lib/os-prober/mount type ufs (ro) /dev/sda24 on /var/lib/os-prober/mount type ufs (ro) mount: wrong fs type, bad option, bad superblock on /dev/sda25, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so mount: wrong fs type, bad option, bad superblock on /dev/sda26, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so mount: wrong fs type, bad option, bad superblock on /dev/sda27, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so /dev/sda28 on /var/lib/os-prober/mount type ufs (ro) ... Expected Results: /dev/sda24 on /var/lib/os-prober/mount type ufs (ro,ufstype=44bsd) /dev/sda25 on /var/lib/os-prober/mount type ufs (ro,ufstype=ufs2) /dev/sda25:unknown Linux distribution:Linux1:linux /dev/sda26 on /var/lib/os-prober/mount type ufs (ro,ufstype=ufs2) /dev/sda27 on /var/lib/os-prober/mount type ufs (ro,ufstype=ufs2) /dev/sda27:unknown Linux distribution:Linux2:linux /dev/sda28 on /var/lib/os-prober/mount type ufs (ro,ufstype=44bsd) The outputs of actual and expected results will be different when you remove the option -v from the mount command. I just used this option here for debugging. -- 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.