On Wed, 23 Aug 2000, Jim Gettys wrote:
> I've just received a report of someone (who will remain anonymous) who
> noticed that our distribution attempts to mount /dev/flash6, and tried
> writing bits into that flash partition.
Do you have some sample code I could look at that writes to MTD Flash
devices? We compiled support in for MTD and CFI/Intel parts (and I edited
the header files so things match our hardware) and I would like to write
our bootloader & kernel/RAMDISK to flash.
I know the code is more than likely simple (open the device in RW mode,
etc etc) but I'd rather have code that works than damage my Flash parts.
If there is anyone else who has code that talks to MTD/CFI devices, I'd
like to hear about it. I don't recall seeing a device in the /dev tree,
but I'm sure MKNOD with the right parameters would take care of that, no?
Thanks,
Vasant.
Received on Wed Aug 23 13:58:23 2000
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:40 EDT