xfstests: support post-udev device mapper nodes
authorChristoph Hellwig <hch@lst.de>
Wed, 4 May 2011 14:28:32 +0000 (16:28 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 4 May 2011 14:28:32 +0000 (16:28 +0200)
commit0a818862bb74932e15971ec8bedb55765ec3a3f6
treee70d8922e00d512e21de55a101ff7b8a97e988c0
parent7656052d6b073563531c17a59f23d3a2a1a91b7d
xfstests: support post-udev device mapper nodes

Because of udevs complaining device mapper now creates /dev/dm-N as the real
device nodes, and just symlinks the /dev/mapper/ names to it.  This would be
easy if everything used the /dev/mapper clear names, but most system utilities
translate them back to the /dev/mapper/ names and thus confuse various test
cases.  Add support to _is_block_dev to read symlinks, and add documentation
on how to run xfstests on device mapper volumes.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
README.device-mapper [new file with mode: 0644]
common.rc