LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-20-2004, 09:48 AM   #1
abs
Member
 
Registered: Oct 2003
Posts: 203

Rep: Reputation: 30
ext3 required ext2 in 2.6.x?


in 2.4.x, when using menuconfig, the ext3 module was available only if ext3 was chosen. i didn't see any such behaviour when using gconfig and menuconfig. ext3 could be selected without ext2. just wanted to verify if the configs are right.

i've compiled them both in anyway.

ty
abs
 
Old 08-20-2004, 12:56 PM   #2
insyte
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 307

Rep: Reputation: 30
Dunno if that's a bug but it's safer to compile them both.
 
Old 08-21-2004, 12:44 AM   #3
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
It's not safer.. It's required if your root file system is ext3
After all, ext3 is just a journaling extension of ext2 -- It stands to reason that the lower level is required.

--Shade
 
Old 08-21-2004, 06:02 PM   #4
abs
Member
 
Registered: Oct 2003
Posts: 203

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Shade
After all, ext3 is just a journaling extension of ext2 -- It stands to reason that the lower level is required.
in that case gconfig and menuconfig (or whichever file handles the dependencies) has a bug, coz it allows me to choose ext3 without ext2. in menuconfig for 2.4.26 stock kernel of slack10, ext2 and 3 are in different places in the file-system list. for 2.6.8.1 it's independent (but in the same place).

according to the README.initrd by volkerding, ext3 requires jbd (and shows up like that in lsmod also). and this dependency is definitely not taken care of in gconfig and menuconfig.

can somone verify this behaviour?

abs

related: http://www.linuxquestions.org/questi...hreadid=219548
 
Old 08-22-2004, 12:13 AM   #5
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Well, I wouldn't call it a bug. It's just a little counter-intuitive.
There are lots of things like that -- if you use make menuconfig and hit ? on some options, it will tell you something along the lines of "If you choose this, you should say yes to such and such options below."
Ext3 is one of those.
--Shade
 
Old 08-22-2004, 07:05 AM   #6
abs
Member
 
Registered: Oct 2003
Posts: 203

Original Poster
Rep: Reputation: 30
ok. that makes sense.

dunno why they changed the behaviour though. the depencies of ext2, 3 (and now jdb) used to be shown nested in the fs options tree.

ty
 
Old 08-22-2004, 01:12 PM   #7
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
It should be noted that jdb is not required to enable ext3 feature as it is for debuging journaled fs purpose.
 
Old 08-22-2004, 03:33 PM   #8
abs
Member
 
Registered: Oct 2003
Posts: 203

Original Poster
Rep: Reputation: 30
i'd agree, but read the following part in volkerding's Slackware initrd mini HOWTO:
Quote:
Here's another example: Build an initrd image using Linux 2.6.7 kernel
modules for a system with an ext3 root partition on /dev/hdb3. Note
that you need both the jbd and ext3 modules to use ext3:


mkinitrd -c -k 2.6.7 -m jbd:ext3 -f ext3 -r /dev/hdb3
so, now what?
 
Old 08-23-2004, 04:41 AM   #9
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
You only need to do that if you build ext3 support as a module, if you build it directly into the kernel then you do not have to make an initrd image.
 
Old 08-23-2004, 01:19 PM   #10
abs
Member
 
Registered: Oct 2003
Posts: 203

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by KMcD
You only need to do that if you build ext3 support as a module, if you build it directly into the kernel then you do not have to make an initrd image.
ok, but what about the dependecy of ext3 on jdb?

in xconfig, jdb (the first jdb listed) gets selected if u choose ext3.
 
Old 08-25-2004, 06:31 AM   #11
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
then it would seem to me that you should build both into the kernel directly. I can't look at my own 2.6.8.1 config at the moment, so I'll have to check it. If your root filesystem is ext3 then I don't think it'd be wise to not build support directly into the kernel.
 
Old 08-25-2004, 08:27 PM   #12
abs
Member
 
Registered: Oct 2003
Posts: 203

Original Poster
Rep: Reputation: 30
read the posts following this one: http://www.linuxquestions.org/questi...18#post1124418

ext2 can handle ext3 initially. i've built both into the kernel.

what happened about ur config info?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ext2 | ext3 bruse Linux - Newbie 3 03-03-2005 08:10 AM
ext2 to ext3? alaios Linux - General 1 07-09-2004 10:05 AM
Ext2 Vs Ext3 coolamit78 Linux - Software 3 09-22-2003 10:46 AM
ext2 vs ext3 evano Slackware 5 06-25-2003 10:14 AM
ext2 ext3 and others safrout Linux - Hardware 2 05-01-2002 06:02 PM


All times are GMT -5. The time now is 06:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration