BmapCopy: add a /dev/null quirk
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 14 Dec 2012 16:12:07 +0000 (18:12 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 14 Dec 2012 16:15:19 +0000 (18:15 +0200)
commit79f80883389dcd27ef0ee1f79c9431d834aa03c4
tree8ff4104db75adb5ff735af67375c23ce5e4401b5
parentc94f763283c55e73ec32947c31a6f4f2e89b2764
BmapCopy: add a /dev/null quirk

It is sometimes useful to copy to /dev/null, e.g., for benchmarking. Hoever,
the /dev/null character device does not support 'fsync()', so bmaptool dies.

Intorduce a quirk for this situation.

Change-Id: Ic61bf86ad5a4e112d7ccd82aa41114dc8b207361
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
bmaptools/BmapCopy.py