ioctl(MEMGETINFO): Inappropriate ioctl for device
Lorenzo Orsatti
lorenzo.orsatti at gmail.com
Thu Nov 24 09:18:45 EST 2005
Hallo,
Trying to format a DiskOnChip 2000 with the nftl_format, I obtain:
/mnt/usb1 # ./nftl_format /dev/doc
$Id: nftl_format.c,v 1.24 2005/11/07 11:15:13 gleixner Exp $
ioctl(MEMGETINFO): Inappropriate ioctl for device
where /dev/doc is a block device and it has major 93 and minor 0.
I use a Vanilla kernel 2.6.10 with the NAND drivers installed.
What is the cause? What should I do?
TIA
Lorenzo
More information about the linux-mtd
mailing list