mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
|
||||
To use xfstests on device mapper always use the /dev/mapper/<name> symlinks,
|
||||
not the /dev/dm-* devices, or the symlinks created by LVM.
|
||||
|
||||
For example:
|
||||
|
||||
TEST_DEV=/dev/mapper/test
|
||||
SCRATCH_DEV=/dev/mapper/scratch
|
||||
Reference in New Issue
Block a user