On Tuesday 15 March 2005 01:38 pm, Sascha Effert wrote: > Hello, > > I want to provide an own ioctl in a block_device. Therefor I added my > own ioctl-function in a gendisk. For testing I used a simple ramdisk > found in one of the books I use to learn: > > > static struct block_device_operations bdops = { > .owner = THIS_MODULE, > .ioctl = myioctl, > }; > I'm not sure what is the default behavior with null open and close operations for block devices, you should check that you are able to open the block device. tavi -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/