Description of problem: Ref https://bugzilla.redhat.com/show_bug.cgi?id=541618#c5 "We also have a command 'vfs-type' which is *supposed* to return something like 'ufs'. Unfortunately it doesn't seem to work for these UFS partitions, which is possibly a bug in Fedora libblkid. Version-Release number of selected component (if applicable):" How reproducible: Steps to Reproduce: 1. Refer bug 541618 2. 3. Actual results: vfs-type command does not recognize ufs partitions Expected results: recognize ufs partitions Additional info: libblkid is not listed in components, so this is the closest.
The particular command we are running is: /sbin/blkid -o value -s TYPE /dev/sda1 where /dev/sda1 is the ufs partition. There's no error message, it just returns an error code: # /sbin/blkid -o value -s TYPE /dev/sda1 # echo $? 2 RETURN CODE If the specified token was found, or if any tags were shown from (spec- ified) devices, 0 is returned. If the specified token was not found, or no (specified) devices could be identified, an exit code of 2 is returned. For usage or other errors, an exit code of 4 is returned.
Component was wrong - should be util-linux-ng according to: $ rpm -qf /sbin/blkid util-linux-ng-2.16-10.2.fc12.x86_64
The problem was unpacked UFS superblock in libblkid, fixed in upstream repository: http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=commit;h=e7fee5520542fcfc6375e4ec1ffc1601971c937c I'm going to fix it in F-12 ASAP. Thanks for your bug report!
Excellent, thanks for fixing it so quickly!
Confirmed that this fixes the problem.
util-linux-ng-2.16-10.3.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/util-linux-ng-2.16-10.3.fc12
util-linux-ng-2.16-10.3.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.