J. Hannken-Illjes <hann...@eis.cs.tu-bs.de> wrote: > What happens when libpuffs receives an unknown message (fallocate in > this case)?
The filesystem using libpuffs tells the kernel what operations should be sent to userland when it calls puffs_init(). It can be done - by setting the list of wanted operation, in which case the kernel never sends an unknown message, - by requesting all operations to be sent to userland. In that case an unknown operation is handled in src/lib/libpuffs/dispatcher.c:dispatch() default: printf("inval op %d\n", preq->preq_optype); error = EINVAL; break; -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org