Re: ext2 feature request

2000-05-02 Thread Guest section DW
On Sun, Apr 30, 2000 at 05:09:56PM +1000, Andrew Clausen wrote: I was just thinking, there is a Linux extended partition (0x85). Could we use that? It would probably screw up fdisk, but everyone will be using parted anyway ;-) (Seriously: we could change fdisk) No. 85 and F and 5 are just

Re: ext2 feature request

2000-05-01 Thread Lennert Buytenhek
Hi, On Mon, 1 May 2000, Stephen C. Tweedie wrote: Is it possible to have a gap between the super-block and the start of group 0's metadata? Yes. It's called the "s_first_data_block" field in the ext2 superblock, and lets you offset the data zone from the start of the filesystem.

Re: ext2 feature request

2000-05-01 Thread tytso
Date: Mon, 1 May 2000 21:29:42 +0200 (MEST) From: Lennert Buytenhek [EMAIL PROTECTED] Eeeeh. not quite. Because we reserve the first 1024 bytes of an ext2 fs for putting the boot loader, we put the superblock at offset 1024. For 1k blocks, this means the superblock ends up

Re: ext2 feature request

2000-05-01 Thread Andrew Clausen
[EMAIL PROTECTED] wrote: The answer to that is pretty simple --- you create a compatible filesystem feature, and indicate the number of "extra" saved blocks in the superblock. Old e2fsck's who don't know about the compatible filesystem features will refuse to touch the filesystem, so they

Re: ext2 feature request

2000-04-30 Thread Guest section DW
On Sat, Apr 29, 2000 at 05:18:21PM +1000, Andrew Clausen wrote: Guest section DW wrote: This type already exists - it is called extended partition. For each logical partition you can choose the offset yourself. (And never mind cylinder boundaries - geometry is out.) This won't work in

Re: ext2 feature request

2000-04-30 Thread Andrew Clausen
Guest section DW wrote: Let me partially contradict you. DOS can handle 23 of these partitions. In the above I did not necessarily mean "outer extended" - the "inner extended" also work. Thus, as soon as something lives inside the outer extended partition, that is, as soon as something is a

Re: ext2 feature request

2000-04-29 Thread Andrew Clausen
Alexander Viro wrote: ... _that_ (offset being not a multiple of block size) would require changes in fs/buffer.c and drivers/block/ll_rw_blk.c and frankly, I don't see the point - extra overhead for everyone, and what for? Hmmm, it does look like it would mess everything up :-( I know this

Re: ext2 feature request

2000-04-29 Thread Guest section DW
On Sat, Apr 29, 2000 at 11:02:10PM +1000, Andrew Clausen wrote: I know this is messy, but: it's probably possible to fake it at the partition table end. I.e., have some magic partition type that has some header, saying where the "real" start of the partition is, etc. Argghh. Forget it.

Re: ext2 feature request

2000-04-29 Thread Andrew Clausen
Guest section DW wrote: This type already exists - it is called extended partition. For each logical partition you can choose the offset yourself. (And never mind cylinder boundaries - geometry is out.) This won't work in general, because DOS expects only one extended partition. We need

Re: ext2 feature request

2000-04-28 Thread Alexander Viro
On Fri, 28 Apr 2000, Andrew Clausen wrote: Hi all, Is it possible to have a gap between the super-block and the start of group 0's metadata? This would be REALLY useful, for: Yes, but... [snip] the first block on the old partition is now the 50.25th block in the new one. Obviously,