Re: [Ext2-devel] Re: [UPDATE] Directory index for ext2

2001-07-03 Thread Tony Gale
Right, I've now disabled every grsecurity kernel config option, apart from the overarching "Getrewted Kernel Security" one - indicating the problem is in one of the non #ifdef parts of the patch. Could this be a problem: diff -ruN linux/fs/namei.c linux/fs/namei.c --- linux/fs/namei.cSat

Re: [Ext2-devel] Re: [UPDATE] Directory index for ext2

2001-07-03 Thread Tony Gale
Right, I've now disabled every grsecurity kernel config option, apart from the overarching Getrewted Kernel Security one - indicating the problem is in one of the non #ifdef parts of the patch. Could this be a problem: diff -ruN linux/fs/namei.c linux/fs/namei.c --- linux/fs/namei.cSat May

Re: [Ext2-devel] Re: [UPDATE] Directory index for ext2

2001-06-26 Thread Theodore Tso
On Tue, Jun 26, 2001 at 12:25:32AM +0200, Daniel Phillips wrote: > > This is only true without the COMPAT_DIR_INDEX flag. Since e2fsck _needs_ > > to know about every filesystem feature, it will (correctly) refuse to touch > > such a system for now. You could "tune2fs -O ^FEATURE_C4 /dev/hdX"

Re: [Ext2-devel] Re: [UPDATE] Directory index for ext2

2001-06-26 Thread Tony Gale
I use debugfs to remove the flag before fsck'ing: Start debugfs. Type open -f -w /dev/ features -FEATURE_C5 -tony On 26 Jun 2001 00:25:32 +0200, Daniel Phillips wrote: > On Monday 25 June 2001 21:51, Andreas Dilger wrote: > > Daniel writes: > > > Sure, if your root partition is expendable,

Re: [Ext2-devel] Re: [UPDATE] Directory index for ext2

2001-06-26 Thread Tony Gale
I use debugfs to remove the flag before fsck'ing: Start debugfs. Type open -f -w /dev/part features -FEATURE_C5 -tony On 26 Jun 2001 00:25:32 +0200, Daniel Phillips wrote: On Monday 25 June 2001 21:51, Andreas Dilger wrote: Daniel writes: Sure, if your root partition is expendable,

Re: [Ext2-devel] Re: [UPDATE] Directory index for ext2

2001-06-26 Thread Theodore Tso
On Tue, Jun 26, 2001 at 12:25:32AM +0200, Daniel Phillips wrote: This is only true without the COMPAT_DIR_INDEX flag. Since e2fsck _needs_ to know about every filesystem feature, it will (correctly) refuse to touch such a system for now. You could tune2fs -O ^FEATURE_C4 /dev/hdX to turn

Re: [Ext2-devel] Re: [UPDATE] Directory index for ext2

2001-06-25 Thread Daniel Phillips
On Monday 25 June 2001 21:51, Andreas Dilger wrote: > Daniel writes: > > > > On Wednesday 20 June 2001 16:59, Tony Gale wrote: > > > > > The main problem I have with this is that e2fsck doesn't know how > > > > > to deal with it - at least I haven't found a version that will. > > > > > This makes

Re: [Ext2-devel] Re: [UPDATE] Directory index for ext2

2001-06-25 Thread Andreas Dilger
Daniel writes: > > > On Wednesday 20 June 2001 16:59, Tony Gale wrote: > > > > The main problem I have with this is that e2fsck doesn't know how to > > > > deal with it - at least I haven't found a version that will. This makes > > > > it rather difficult to use, especially for your root fs. > >

Re: [Ext2-devel] Re: [UPDATE] Directory index for ext2

2001-06-25 Thread Andreas Dilger
Daniel writes: On Wednesday 20 June 2001 16:59, Tony Gale wrote: The main problem I have with this is that e2fsck doesn't know how to deal with it - at least I haven't found a version that will. This makes it rather difficult to use, especially for your root fs. Sure, if your

Re: [Ext2-devel] Re: [UPDATE] Directory index for ext2

2001-06-25 Thread Daniel Phillips
On Monday 25 June 2001 21:51, Andreas Dilger wrote: Daniel writes: On Wednesday 20 June 2001 16:59, Tony Gale wrote: The main problem I have with this is that e2fsck doesn't know how to deal with it - at least I haven't found a version that will. This makes it rather difficult

Re: [Ext2-devel] Re: [UPDATE] Directory index for ext2

2001-06-20 Thread Daniel Phillips
On Wednesday 20 June 2001 18:02, Theodore Tso wrote: > On Wed, Jun 20, 2001 at 03:59:58PM +0100, Tony Gale wrote: > > The main problem I have with this is that e2fsck doesn't know how to > > deal with it - at least I haven't found a version that will. This makes > > it rather difficult to use,

Re: [Ext2-devel] Re: [UPDATE] Directory index for ext2

2001-06-20 Thread Theodore Tso
On Wed, Jun 20, 2001 at 03:59:58PM +0100, Tony Gale wrote: > > The main problem I have with this is that e2fsck doesn't know how to > deal with it - at least I haven't found a version that will. This makes > it rather difficult to use, especially for your root fs. Getting e2fsck to deal with

Re: [Ext2-devel] Re: [UPDATE] Directory index for ext2

2001-06-20 Thread Theodore Tso
On Wed, Jun 20, 2001 at 03:59:58PM +0100, Tony Gale wrote: The main problem I have with this is that e2fsck doesn't know how to deal with it - at least I haven't found a version that will. This makes it rather difficult to use, especially for your root fs. Getting e2fsck to deal with

Re: [Ext2-devel] Re: [UPDATE] Directory index for ext2

2001-06-20 Thread Daniel Phillips
On Wednesday 20 June 2001 18:02, Theodore Tso wrote: On Wed, Jun 20, 2001 at 03:59:58PM +0100, Tony Gale wrote: The main problem I have with this is that e2fsck doesn't know how to deal with it - at least I haven't found a version that will. This makes it rather difficult to use,