Bug#234470: os prober detects ufs partitions since 1.20
I wrote:
>>please support *BSD
>>Subject: os prober detects ufs partitions since 1.20
>Detecting UFS partitions is not the same as detecting *BSD.
but, in fact, os-prober does not detect UFS partitions.
In detail, "mount -t ufs" needs "-o ufstype=XXX" option, so
/usr/lib/os-probes/50mounted-tests fails to mount these partitions.
>From /var/log/messages:
>Jan 25 22:08:05 localhost os-prober: debug: os detected by /usr/lib/os-probes/50mounted-tests
>Jan 25 22:08:05 localhost os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda6
>Jan 25 22:08:05 localhost kernel: [ 2498.496128] You didn't specify the type of your ufs filesystem
>Jan 25 22:08:05 localhost kernel: [ 2498.496131]
>Jan 25 22:08:05 localhost kernel: [ 2498.496132] mount -t ufs -o ufstype=sun|sunx86|44bsd|ufs2|5xbsd|old|hp|nextstep|nextstep-cd|openstep ...
>Jan 25 22:08:05 localhost kernel: [ 2498.496134]
>Jan 25 22:08:05 localhost kernel: [ 2498.496135] >>>WARNING<<< Wrong ufstype may corrupt your filesystem, default is ufstype=old
>Jan 25 22:08:05 localhost kernel: [ 2498.496449] ufs_read_super: bad magic number
Regards,
Nobuhiro
Reply to: