ofgwrite from Betacentauri: Based upon: mtd-utils-native-1.4.9