Writing an mtd user module
David Woodhouse
dwmw2 at infradead.org
Mon Sep 9 03:35:23 EDT 2002
mtd at mcmen.demon.co.uk said:
> What was wrong, the documentation on the websiste or my
> interpretation of it? Am I to take it the notification functions are
> irrelevant except when devfs is being used?
The notification functions are irrelevant if you don't want to be notified
when new devices are added or when devices go away.
In the case of the mtdblock device, yes that means they're irrelevant when
devfs is not used. Only in the case where devfs is used do you need to do
anything (change contents of /dev/mtdblock/) on addition/removal of devices.
You probably want something like JFFS2's read_super() or get_sb() functions
to allow you to mount a single device.
--
dwmw2
More information about the linux-mtd
mailing list