Monthly Archives: August 2009

Mounting xen images

      1 Comment on Mounting xen images

Mounting images that contain only one partition is rather easy. But how to mount image with multiple partitions? kpartx is the solution! You can list all partitions within the image with kpartx can be used to create maps from the block devices And those maps can be mounted as usual

Java Generics and Comparables

      No Comments on Java Generics and Comparables

When designing a generic class which needs a parameter that is comparable you will probably end up with something like this: Unfortunately, using Comparable isn’t as “easy”. The Page interface described above can’t be instantiated for a type like java.sql.Time, which is not Comparable to itself, but to a supertype (i.e., java.sql.Time implements Comparable<java.util.Date>). David Hall suggests: “If you’re going… Read more »

Upgrading your BIOS on linux

      2 Comments on Upgrading your BIOS on linux

It was already quite some time ago that flashrom 0.9.0 was released by the coreboot-project developers, but anyway… Flashrom is a utility for identifying, reading, writing, verifying and erasing flash chips. Since Fedora already contains flashrom, there is no need to compile it yourself. Simply pull it from the repo: Usage is rather simple. For a list of all flags… Read more »