[PLUG] ufs support on Linux 2.6.*
Arindam
arindam.mukerjee at gmail.com
Thu Sep 14 12:39:05 IST 2006
On 9/14/06, Arindam <arindam.mukerjee at gmail.com> wrote:
> > On Thursday 14 September 2006 10:44, Arindam wrote:
> > > find / -name "ufs.ko"
> > > find / -name "ufs*.ko"
> > > find / -name "u*fs*.ko"
> >
> > rpm -ql `rpm -qa|grep kernel`|grep ufs would have sufficed.. ;)
> >
> > Complain to your distributor and/or build your own kernel from the srpms.
>
> Building is a better option.
>
> >
> > I find this on my slackware-current machine
> > shridhar at darkstar:~/tmp$ grep
> > ufs /var/adm/packages/kernel-modules-2.6.17.13-i486-1
> > lib/modules/2.6.17.13/kernel/fs/ufs/
> > lib/modules/2.6.17.13/kernel/fs/ufs/ufs.ko
> > shridhar at darkstar:~/tmp$ grep -i ufs /boot/config*
> > /boot/config:CONFIG_UFS_FS=m
> > /boot/config-generic-2.6.17.13:CONFIG_UFS_FS=m
> > /boot/config-ide-2.4.33.3:CONFIG_UFS_FS=m
> > /boot/config-ide-2.4.33.3:CONFIG_UFS_FS_WRITE=y
> >
> > Damn why can't 2.6* write to ufs filesystem.. Hmm.. need to find out..
> >
>
> I guess the whole ufs/u2fs support is experimental. And the read-write
> thing does not work for u2fs. For ufs it does ... but goes wrong
> oftentimes. Don't try it yet.
>
> > Shridhar
> >
> > --
>
Here is my dump
[root at D-44371 lib]# rpm -qa kernel* | xargs rpm -ql | grep ufs
/usr/src/linux-2.4.21-15.EL/Documentation/filesystems/ufs.txt
/usr/src/linux-2.4.21-15.EL/drivers/char/drm-4.0/bufs.c
/usr/src/linux-2.4.21-15.EL/drivers/char/drm-4.0/i810_bufs.c
/usr/src/linux-2.4.21-15.EL/drivers/char/drm-4.0/mga_bufs.c
/usr/src/linux-2.4.21-15.EL/drivers/char/drm-4.0/r128_bufs.c
/usr/src/linux-2.4.21-15.EL/drivers/char/drm-4.0/radeon_bufs.c
/usr/src/linux-2.4.21-15.EL/drivers/char/drm-hp_ia64/drm_bufs.h
/usr/src/linux-2.4.21-15.EL/drivers/char/drm/drm_bufs.h
/usr/src/linux-2.4.21-15.EL/fs/ufs
/usr/src/linux-2.4.21-15.EL/fs/ufs/.depend
/usr/src/linux-2.4.21-15.EL/fs/ufs/Makefile
/usr/src/linux-2.4.21-15.EL/fs/ufs/balloc.c
/usr/src/linux-2.4.21-15.EL/fs/ufs/cylinder.c
/usr/src/linux-2.4.21-15.EL/fs/ufs/dir.c
/usr/src/linux-2.4.21-15.EL/fs/ufs/file.c
/usr/src/linux-2.4.21-15.EL/fs/ufs/ialloc.c
/usr/src/linux-2.4.21-15.EL/fs/ufs/inode.c
/usr/src/linux-2.4.21-15.EL/fs/ufs/namei.c
/usr/src/linux-2.4.21-15.EL/fs/ufs/super.c
/usr/src/linux-2.4.21-15.EL/fs/ufs/swab.h
/usr/src/linux-2.4.21-15.EL/fs/ufs/symlink.c
/usr/src/linux-2.4.21-15.EL/fs/ufs/truncate.c
/usr/src/linux-2.4.21-15.EL/fs/ufs/util.c
/usr/src/linux-2.4.21-15.EL/fs/ufs/util.h
/usr/src/linux-2.4.21-15.EL/include/linux/ufs_fs.h
/usr/src/linux-2.4.21-15.EL/include/linux/ufs_fs_i.h
/usr/src/linux-2.4.21-15.EL/include/linux/ufs_fs_sb.h
/usr/share/doc/kernel-doc-2.4.21/filesystems/ufs.txt
Also,
[root at D-44371 boot]# grep -i ufs /boot/config*
CONFIG_UFS_FS=m
# CONFIG_UFS_FS_WRITE is not set
There don't seem to be any ready-built ko for ufs. I will have to
rebuild the kernel with ufs_support.
This is on RHEL 3u2. It's a similar scenario on both FC2 and RHEL4u3.
More information about the Plug-mail
mailing list