On Thu, Aug 30, 2007 at 04:21:34AM -0700, Akemi Yagi wrote:
On 8/30/07, Dave dmehler26@woh.rr.com wrote:
Hello, I'm running centos5 with the centosplus kernel v2.6.18-8.1.8.el5 and i'm trying to read a drive that has a ufs2 partition on it. It was originally in a FreeBSD machine and has some data i'd like to get at. Googling indicated this should work with the command:
mount -r -t ufs -o ufstype=ufs2 <device> <mountpoint>
device is /dev/hdb5 and mountpoint is /mnt. I'm getting an error unknown filesystem type ufs. I'm assuming i have to load a module of some kind. Any help appreciated. Thanks. Dave.
ufs is not enabled in the centosplus kernel (or the standard kernel). It will be necessary to rebuild the kernel.
The kernel module should be enough: http://dev.centos.org/~tru/kernel-modules/centos-5/ufs.tgz (ufs sources from 2.6.18-8.1.8.el5)
You need to have installed the kernel-devel rpm from your running kernel. run the runme.sh script and install the module :)
Tru