?
Solved

Config.in in 2.4 to Kconfig in 2.6 Linux kernel (extremely URGENT!)

Posted on 2005-05-06
3
Medium Priority
?
208 Views
Last Modified: 2010-04-15
I am trying to port a ext3 copy on write
utility from 2.4 kernel to the 2.6 kernel.
(1)
I am having a problem porting Config.in in 2.4 to Kconfig in 2.6. I am
not sure of this syntax and the change I am making looking at stuff
already in Kconfig does not work. Here are the lines from the
Config.in of 2.4 that need to be ported:-
###########################################
#My ext3cow support
tristate 'Ext3cow - journalling file system with copy-on-write
support' CONFIG_EXT3COW_FS
define_bool CONFIG_JBD $CONFIG_EXT3COW_FS
###########################################
I tried:-
config EXT3COW_FS
#My ext3cow support
        tristate "(Harsha)Ext3cow - journalling file system with
       copy-on-write support"
        help
          The ext3cow file system is a time-shifting file system
        implemented with copy-on-write .....

config JBD
      tristate
      depends on EXT3_FS || EXT3COW_FS
      help
        This is a generic journaling layer for block devices.  It is
        currently ..........


And this is giving problems.

Please give the exact way that I need to enter this in Kconfig. I have
tried a lot and am hoping I can get a right answer. And the 'help'
field of Kconfig can be any text I want right? In my .config, I will
have a entry like CONFIG_EXT3COW_FS right?

(2)
I am unable to find the following #defines :-
#define FILTER_FS_TYPES 6
#define FILTER_FS_EXT2 0
#define FILTER_FS_EXT3 1
....................
that were earlier in ../include/linux/fsfilter.h in the 2.4 kernel.

Can you please tell me where this info is now in my 2.6.10 kernel ?
0
Comment
Question by:kewlemer
1 Comment
 
LVL 45

Accepted Solution

by:
sunnycoder earned 2000 total points
ID: 13949006
2) In your source give a grep

grep -r "FILTER_FS_TYPES" /top/of/source
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.
Suggested Courses

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question