[CentOS] reading ufs2 filesystems with centosplus kernel

Thu Aug 30 12:06:20 UTC 2007
Tru Huynh <tru at centos.org>

On Thu, Aug 30, 2007 at 04:21:34AM -0700, Akemi Yagi wrote:
> On 8/30/07, Dave <dmehler26 at 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
-- 
Tru Huynh (CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20070830/e10d0e70/attachment-0004.sig>