Find the answer to your Linux question:
Results 1 to 2 of 2
Hey Guys, I would like to enable read/write support for the UFS file system. Basically, I need to be able to edit files on a Solaris HD in Kubuntu. I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    1

    Edit kernel to support UFS read/write

    Hey Guys,

    I would like to enable read/write support for the UFS file system.

    Basically, I need to be able to edit files on a Solaris HD in Kubuntu.

    I have 1 HD with Kubunu installed on it, and the other is a Solaris HD. (which needs to be mounted as read/write).


    This is what I have done:

    Installed Kubuntu 7.04.

    /usr/src/linux_dir/

    attempted a "make allyesconfig" , and then "make bzImage" <- this step fails.


    This is what I need help with:

    1: after installation of kubuntu, what steps need to be done in order for me to mount the Solaris HD as read/write?

    Can anyone help me with a step by step guide to this? This would be appreciated.

  2. #2
    Linux User
    Join Date
    Jun 2007
    Posts
    458
    You want to compile your kernel again and that's what you are doing wrong. UFS is Unix File System used on Macs, BSDs and Sun operating systems.

    Recompiling a kernel would take you 20 or more times in vain.

    You *can* really write on UFS systems directly on Linux. Type modinfo ufs in a shell and it will give an output similar to this:

    Code:
    filename:       /lib/modules/2.6.22-14-generic/kernel/fs/ufs/ufs.ko
    license:        GPL
    srcversion:     857220101CA9FD677BEB4E4
    depends:        
    vermagic:       2.6.22-14-generic SMP mod_unload 586
    If UFS module is installed, type modprobe ufs and try remounting the drive read/write. If successful, add the following lines to /etc/modules:

    Code:
    ufs
    And that's it. Now the UFS module will be loaded at boot. You should also modify fstab to support read/write on the UFS file system.
    "When you have nothing to say, say nothing."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •