I said I'd never blog

DeforaOS, NetBSD, reverse-engineering and stuff

Older stuff...

PDF files may tell you more than they look
Fri Sep 28 21:28:09 CEST 2007

This is probably known stuff, but PDF files (according to my understanding of the 1.3 specification here) can be altered by applications simply by appending new PDF objects (and a new cross-reference), which can override already defined objects. This means that applications updating a file (and not re-generating it entirely) may leave precedent revisions untouched.

It seems to be overly simple to determine if a file has been updated this way: look for the "%%EOF" string, reproduce the file as many times as it appears, and truncate incrementally right after each occurence of the string. Ready, set, grep...

Some multi-head sweetness
Tue Sep 25 17:53:33 CEST 2007

I just managed to get multi-head working on my NetBSD/sparc64 box. It's an Ultra 60, now equipped with an additional video card on its UPA bus. There was a trick involved though: I had to create the /dev/fb1 device node, like this:

# mknod -m 666 /dev/fb1 c 22 1
I made it!
Thu Sep 13 01:52:47 CEST 2007

...to the NetBSD 5.0 code changes list :)

Now I just need some time for some wmhdaps fun...

Come back...
Creative Commons License