Modifying ext3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
I am trying to add parity to Linux ext3 file system.The design is I am using one direct pointer of the inode structure to store the parity of the whole file. For that I have edited 2 files namely "ext3_fs.h" and "inode.c" in the ext3 FS.I have added some wrapper functions and written some additional functions. Now I want to implement this system as a loadable kernel module.
Now when I am trying to build this module, the building process is failing.Following is the dump that I am getting.

1) first command

make -C /usr/src/linux-2.6.22.5 M=`pwd` modules
make: Entering directory `/usr/src/linux-2.6.22.5'
Building modules, stage 2.
MODPOST 0 modules
make: Leaving directory `/usr/src/linux-2.6.22.5'

2)second command

make -C /lib/modules/$(uname -r)/build M=`pwd` modules
make: Entering directory `/usr/src/linux-2.6.22.5'
 Building modules, stage 2.
MODPOST 0 modules
make: Leaving directory `/usr/src/linux-2.6.22.5'

You see both commands are failing. I am running 2.6.22.5 source kernel . I am trying to build with 2.6.22.5 source tree which has been configured and built previously.

 Please comment on this dump what could be the problem?

After that following things have to be done

1) inserting the module in the kernel
2) creating and mounting the modified file system
3) verification and testing

The next problem is I have no idea about the above step 2. I know how to create ext3 in a file and mount it (loopback device method)but how to mount this modified ext3? 
In step 3 I need to know how to access file system blocks in user level?Is there any user level command for it?

Please have a look at my queries.I'll be highly obliged.

Thanx and regards,
Veda

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux