Google Answers Logo
View Question
 
Q: Config.in in 2.4 to Kconfig in 2.6 Linux kernel ( No Answer,   0 Comments )
Question  
Subject: Config.in in 2.4 to Kconfig in 2.6 Linux kernel
Category: Computers > Programming
Asked by: kwer-ga
List Price: $15.00
Posted: 06 May 2005 01:03 PDT
Expires: 07 May 2005 01:33 PDT
Question ID: 518388
I am a student and a kernel newbie 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
###########################################
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? I would appreciate if
you can also tell my what is the purpose of these FILTERS.

Clarification of Question by kwer-ga on 06 May 2005 12:48 PDT
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.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy