Re: [OpenWrt-Devel] [PATCH] mtd -n from r24132 has backwards logic

2010-11-24 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yeah, see https://dev.openwrt.org/changeset/24134 . -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkztPEcACgkQdputYINPTPMScgCfY6YLDt2XCQfdLzKWljacdg2W bXQAo

[OpenWrt-Devel] [PATCH] mtd -n from r24132 has backwards logic

2010-11-24 Thread Mark Mentovai
r24132 (https://dev.openwrt.org/ticket/8308) introduced the -n flag for mtd, which is supposed to bypass the erase step. It appears that the logic used to do this is backwards, and that erasing will actually be bypassed unless -n is given. Lots and lots of things will break. (no_erase) needs to ch