Hi, maybe it would be a good idea to put back this defines at least as comments to freeramdisk.c. This would improve the readability of the code. Ciao, Tito /* From linux/fs.h */ /*#define BLKFLSBUF _IO(0x12,97)*/ /* From <linux/fd.h> */ /*#define FDFLUSH _IO(2,0x4b)*/