В Wed, 28 Aug 2013 19:43:08 -0500
Glenn Washburn <[email protected]> пишет:

> Hola,
> 
> I'm trying to get grub to read an xz-compressed memdisk, but grub does
> not automatically decode it.  Apparently there is a transparent file
> decompressor for xz, but that won't work on devices.
> 
> What would be a better way to implement this: some sort of device
> filter, or something specific to mkimage that compresses the memdisk
> when -C is used?
> 

Filter would need decompress the whole device every time single bit is
accessed (or implement intricate caching) so it makes really no sense.

Is it possible to reliably detect compressed memdisk? If yes, just add
detection to memdisk.c.

_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to