Sorry I was too quick. It seems on kFreeBSD, major numbers are assigned dynamicaly, so hardcoding it to 234 doesn't help. Here's a new patch. This one adds portable code to gather the major number dynamicaly when required: http://glibc-bsd.alioth.debian.org/patches/xorg/xwrapper_major_number.diff -- Robert Millan