Changing to a char *

David Woodhouse dwmw2 at
Mon Jul 3 13:09:08 EDT 2000

jgg at said:
> Hmmm. How about a char * ?
> That might be best.

Argh. The MEMGETINFO ioctl returns the first part of the struct mtd_info, 
which used to contain the actual name of the device, but now just holds a 
pointer to it.

For now, I've just shifted the name field out of the part which is available
to the user - if anyone cares, you'll have to code up a MEMGETNAME ioctl
which nicely and safely passes back the variable-length name. 

Of course, I'm still screwed because I can't currently compile armv4l 
binaries for my test board, so I can't update my utils to reflect that.

Could anyone compile the contents of the util/ directory for armv4l and 
mail them to dwmw2 at


To unsubscribe, send "unsubscribe mtd" to majordomo at

More information about the linux-mtd mailing list