Re: CBD Compressed Block Device, New embedded block device

From: Alexey Dobriyan
Date: Sat Jan 21 2006 - 16:46:12 EST


On Sun, Jan 22, 2006 at 12:46:52AM -0800, Shaun Savage wrote:
> Here is a patch for 2.6.14.5 of CBD
> CBD is a compressed block device that is designed to shrink the file
> system size to 1/3 the original size. CBD is a block device on a file
> system so, it also allows for in-field upgrade of file system. If
> necessary is also allows for secure booting, with a GRUB patch.
> +/*
> + * IOCTL stuff, maybe new file

/dev/null ?

> + switch (cmd) {
> + case HDIO_GETGEO:
> + {
> + struct hd_geometry loc;
> + loc.heads = 4;
> + loc.sectors = 32;
> + loc.cylinders = cbd->nr_sections;
> + loc.start = 0;
> + return _COPYOUT(loc);
> + }

Already in generic code.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/