update filesystems config. menu
Quoted 2 lines
(quoted diff) +2
-0+config EXT2_FS + tristate "Second extended fs support"
[...]
Review
Quoted 4 lines
(quoted diff) +4
-0+ module will be called ext2. Be aware however that the file system + of your root partition (the one containing the directory /) cannot + be compiled as a module, and so this could be dangerous. Most + everyone wants to say Y here.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I seem to recall if you say Y to ext2 and Y to ext3 and your root is on ext3 then it's likely to be mounted as ext2 unless you set rootfstype=... The ext3 help comment also warns you should set it to Y, so people with root ext3 are likely to get a surprise if they follow both help. Would it be better to say something like "if your root partition is extX you almost certainly want to say Y here"? Or warn about the rootfstype issue maybe?
M
Quoted 6 lines · Mitch Adair
I seem to recall if you say Y to ext2 and Y to ext3 and your root is on ext3 then it's likely to be mounted as ext2 unless you set rootfstype=... The ext3 help comment also warns you should set it to Y, so people with root ext3 are likely to get a surprise if they follow both help. Would it be better to say something like "if your root partition is extX you almost certainly want to say Y here"? Or warn about the rootfstype issue maybe?
(03:40:50:davej@tetrachloride:davej)$ mount /dev/hda5 on / type ext3 (rw,errors=remount-ro)
(08:40:13:davej@tetrachloride:davej)$ cat /proc/filesystems | grep ext ext3 ext2
Note the ordering, ext3 gets tried before ext2.
Dave
Quoted 1 line
Note the ordering, ext3 gets tried before ext2.
Was thinking of the "ext3 clings to you like flypaper" thread of a couple weeks ago, only backwards... -ESLEEPY
Anyway, I have seen instances where root got mounted ext2 instead of ext3 (faulty initrd or whatever it was) - just wondered if the help should really push people to unreservedly say Y to ext2 if their root is really ext3...
M
Quoted 4 lines · Mitch Adair
Anyway, I have seen instances where root got mounted ext2 instead of ext3 (faulty initrd or whatever it was) - just wondered if the help should really push people to unreservedly say Y to ext2 if their root is really ext3...
Should be safest for most people .. those that have experience will anyhow know to only compile in ext3 support, and ext2 as module (if you ever fsck floppy/whatever as ext2).
Regards,
Signature · 1 line
Martin Schlemmer
Quoted 11 lines · Mitch Adair
Quoted 6 lines
Anyway, I have seen instances where root got mounted ext2 instead of ext3 (faulty initrd or whatever it was) - just wondered if the help should really push people to unreservedly say Y to ext2 if their root is really ext3...
Should be safest for most people .. those that have experience will anyhow know to only compile in ext3 support, and ext2 as module (if you ever fsck floppy/whatever as ext2).
Hi Martin,
I'm having trouble decoding...
What is it that "should be safest for most people"? Are you suggesting any changes here?
And some of us don't use fs modules, just build what we need into the kernel. Do you know of any problems with doing this (related to ext2/ext3 for example)?
Thanks,
~Randy
Quoted 8 lines · On Sat, 15 Mar 2003 09:08:44 -0800 (PST) "Randy.Dunlap" <[email protected]>…
I'm having trouble decoding...
What is it that "should be safest for most people"? Are you suggesting any changes here?And some of us don't use fs modules, just build what we need into the kernel. Do you know of any problems with doing this (related to ext2/ext3 for example)?
I was just saying that recommending it (ext2) compiled into the kernel and not a module should be the safe route for newbies to kernel compiles.
Those of us that have build a few to feel comfortable with it, will know to compile the fs of our / partition into the kernel.
Except if ext2 is not the most commonly used fs anymore. I guess a 'cool' feature could be if the make system could 'detect' what your current root is and warn if you do not have that compiled into your kernel, but I do not know the limitations of it (the make system).
Then on the other hand, would above be confusing if its a kernel compiled for another box ?
Regards,
Signature · 1 line
Martin Schlemmer
Quoted 7 lines
Quoted 4 lines · On Sat, 15 Mar 2003 09:08:44 -0800 (PST) "Randy.Dunlap" <[email protected]>…
I'm having trouble decoding...
What is it that "should be safest for most people"? Are you suggesting any changes here?
Quoted 8 lines
Quoted 4 lines
And some of us don't use fs modules, just build what we need into the kernel. Do you know of any problems with doing this (related to ext2/ext3 for example)?
I was just saying that recommending it (ext2) compiled into the kernel and not a module should be the safe route for newbies to kernel compiles.
Thanks for the clarification.
Quoted 10 lines
Those of us that have build a few to feel comfortable with it, will know to compile the fs of our / partition into the kernel.
Except if ext2 is not the most commonly used fs anymore. I guess a 'cool' feature could be if the make system could 'detect' what your current root is and warn if you do not have that compiled into your kernel, but I do not know the limitations of it (the make system).
Then on the other hand, would above be confusing if its a kernel compiled for another box ?
Yes, I'd say so, although the message could say something like:
Kernel does not include a filesystem for / on this computer.
And would it also have to check the capabilities of what's in the initrd? (not that I'm advocating any of this)
~Randy
Quoted 26 lines · Randy.Dunlap
Quoted 7 lines
Quoted 4 lines · On Sat, 15 Mar 2003 09:08:44 -0800 (PST) "Randy.Dunlap" <[email protected]>…
I'm having trouble decoding...
What is it that "should be safest for most people"? Are you suggesting any changes here?Quoted 8 lines
Quoted 4 lines
And some of us don't use fs modules, just build what we need into the kernel. Do you know of any problems with doing this (related to ext2/ext3 for example)?
I was just saying that recommending it (ext2) compiled into the kernel and not a module should be the safe route for newbies to kernel compiles.
Thanks for the clarification.
Quoted 8 lines
Those of us that have build a few to feel comfortable with it, will know to compile the fs of our / partition into the kernel.
Except if ext2 is not the most commonly used fs anymore. I guess a 'cool' feature could be if the make system could 'detect' what your current root is and warn if you do not have that compiled into your kernel, but I do not know the limitations of it (the make system).
Quoted 7 lines
Quoted 2 lines
Then on the other hand, would above be confusing if its a kernel compiled for another box ?
Yes, I'd say so, although the message could say something like:
Kernel does not include a filesystem for / on this computer.
And would it also have to check the capabilities of what's in the initrd? (not that I'm advocating any of this)
To me that sounds like a feature for the bootloader config tool. That is the first time you have a firm kernel to rootfs connection.
Signature · 5 lines
________________________________________________________________ J.W. Schultz Pegasystems Technologies email address: [email protected] Remember Cernan and Schmitt
Quoted 4 lines · Randy.Dunlap
Yes, I'd say so, although the message could say something like:
Kernel does not include a filesystem for / on this computer.
And would it also have to check the capabilities of what's in the initrd? (not that I'm advocating any of this)
Well... the only time *I*'ve screwed it up was building with ext3 only, having all ext3 filesystems on the disk, and watching Bad And Ugly things happen when the ext2-format initrd tried to mount...