[PATCH v2] mtd-utils: integck: add support for volume specific power-cut test

Artem Bityutskiy dedekind1 at gmail.com
Wed May 28 02:30:53 PDT 2014

On Wed, 2014-05-28 at 08:40 +0000, Mats Kärrman wrote:
> On Tuesday, May 27, 2014 4:55 PM, Artem Bityutskiy wrote:
> > How about this compromise solution which should be simple enough to
> > implement, but I am not sure it is good enough to you.
> > 
> > Change -p so that it takes an _argument_. The argument should be a path
> > to the debugfs file which controls the power cuts emulation. This can be
> > either global or the per-FS switch.
> > 
> > All the test will do is writing '1' to this file as soon as it starts,
> > and as soon as it mounts or re-mounts the FS.
> > 
> > Now, it is your choice which file path to give - the global or the
> > per-FS.
> I guess you mean something in the line of
> http://comments.gmane.org/gmane.linux.drivers.mtd/47872

Yes, but without introducing a new option, but just changing the old one
and add the path argument there.

Best Regards,
Artem Bityutskiy

More information about the linux-mtd mailing list