summaryrefslogtreecommitdiff
path: root/test/sys/devices/virtual/block
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-29 04:12:44 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-29 04:12:44 +0200
commitc7fcba1bf4d0da13b66396c08c0b5f62b25d0405 (patch)
treef85741e12b958c1430750355fb4f463e4f299df3 /test/sys/devices/virtual/block
parent438d4c3cd4b89381348f84ef9f8b8937814f8362 (diff)
test: replace ancient sysfs tree with recent one
Diffstat (limited to 'test/sys/devices/virtual/block')
-rw-r--r--test/sys/devices/virtual/block/fake!blockdev0/capability1
-rw-r--r--test/sys/devices/virtual/block/fake!blockdev0/dev1
-rw-r--r--test/sys/devices/virtual/block/fake!blockdev0/range1
-rw-r--r--test/sys/devices/virtual/block/fake!blockdev0/removable1
-rw-r--r--test/sys/devices/virtual/block/fake!blockdev0/ro1
-rw-r--r--test/sys/devices/virtual/block/fake!blockdev0/size1
-rw-r--r--test/sys/devices/virtual/block/fake!blockdev0/stat1
l---------test/sys/devices/virtual/block/fake!blockdev0/subsystem1
-rw-r--r--test/sys/devices/virtual/block/fake!blockdev0/uevent3
l---------test/sys/devices/virtual/block/loop0/bdi1
-rw-r--r--test/sys/devices/virtual/block/loop0/capability1
-rw-r--r--test/sys/devices/virtual/block/loop0/dev1
-rw-r--r--test/sys/devices/virtual/block/loop0/make-it-fail1
-rw-r--r--test/sys/devices/virtual/block/loop0/power/wakeup1
-rw-r--r--test/sys/devices/virtual/block/loop0/range1
-rw-r--r--test/sys/devices/virtual/block/loop0/removable1
-rw-r--r--test/sys/devices/virtual/block/loop0/ro1
-rw-r--r--test/sys/devices/virtual/block/loop0/size1
-rw-r--r--test/sys/devices/virtual/block/loop0/stat1
l---------test/sys/devices/virtual/block/loop0/subsystem1
-rw-r--r--test/sys/devices/virtual/block/loop0/uevent3
l---------test/sys/devices/virtual/block/loop1/bdi1
-rw-r--r--test/sys/devices/virtual/block/loop1/capability1
-rw-r--r--test/sys/devices/virtual/block/loop1/dev1
-rw-r--r--test/sys/devices/virtual/block/loop1/make-it-fail1
-rw-r--r--test/sys/devices/virtual/block/loop1/power/wakeup1
-rw-r--r--test/sys/devices/virtual/block/loop1/range1
-rw-r--r--test/sys/devices/virtual/block/loop1/removable1
-rw-r--r--test/sys/devices/virtual/block/loop1/ro1
-rw-r--r--test/sys/devices/virtual/block/loop1/size1
-rw-r--r--test/sys/devices/virtual/block/loop1/stat1
l---------test/sys/devices/virtual/block/loop1/subsystem1
-rw-r--r--test/sys/devices/virtual/block/loop1/uevent3
l---------test/sys/devices/virtual/block/loop2/bdi1
-rw-r--r--test/sys/devices/virtual/block/loop2/capability1
-rw-r--r--test/sys/devices/virtual/block/loop2/dev1
-rw-r--r--test/sys/devices/virtual/block/loop2/make-it-fail1
-rw-r--r--test/sys/devices/virtual/block/loop2/power/wakeup1
-rw-r--r--test/sys/devices/virtual/block/loop2/range1
-rw-r--r--test/sys/devices/virtual/block/loop2/removable1
-rw-r--r--test/sys/devices/virtual/block/loop2/ro1
-rw-r--r--test/sys/devices/virtual/block/loop2/size1
-rw-r--r--test/sys/devices/virtual/block/loop2/stat1
l---------test/sys/devices/virtual/block/loop2/subsystem1
-rw-r--r--test/sys/devices/virtual/block/loop2/uevent3
l---------test/sys/devices/virtual/block/loop3/bdi1
-rw-r--r--test/sys/devices/virtual/block/loop3/capability1
-rw-r--r--test/sys/devices/virtual/block/loop3/dev1
-rw-r--r--test/sys/devices/virtual/block/loop3/make-it-fail1
-rw-r--r--test/sys/devices/virtual/block/loop3/power/wakeup1
-rw-r--r--test/sys/devices/virtual/block/loop3/range1
-rw-r--r--test/sys/devices/virtual/block/loop3/removable1
-rw-r--r--test/sys/devices/virtual/block/loop3/ro1
-rw-r--r--test/sys/devices/virtual/block/loop3/size1
-rw-r--r--test/sys/devices/virtual/block/loop3/stat1
l---------test/sys/devices/virtual/block/loop3/subsystem1
-rw-r--r--test/sys/devices/virtual/block/loop3/uevent3
l---------test/sys/devices/virtual/block/loop4/bdi1
-rw-r--r--test/sys/devices/virtual/block/loop4/capability1
-rw-r--r--test/sys/devices/virtual/block/loop4/dev1
-rw-r--r--test/sys/devices/virtual/block/loop4/make-it-fail1
-rw-r--r--test/sys/devices/virtual/block/loop4/power/wakeup1
-rw-r--r--test/sys/devices/virtual/block/loop4/range1
-rw-r--r--test/sys/devices/virtual/block/loop4/removable1
-rw-r--r--test/sys/devices/virtual/block/loop4/ro1
-rw-r--r--test/sys/devices/virtual/block/loop4/size1
-rw-r--r--test/sys/devices/virtual/block/loop4/stat1
l---------test/sys/devices/virtual/block/loop4/subsystem1
-rw-r--r--test/sys/devices/virtual/block/loop4/uevent3
l---------test/sys/devices/virtual/block/loop5/bdi1
-rw-r--r--test/sys/devices/virtual/block/loop5/capability1
-rw-r--r--test/sys/devices/virtual/block/loop5/dev1
-rw-r--r--test/sys/devices/virtual/block/loop5/make-it-fail1
-rw-r--r--test/sys/devices/virtual/block/loop5/power/wakeup1
-rw-r--r--test/sys/devices/virtual/block/loop5/range1
-rw-r--r--test/sys/devices/virtual/block/loop5/removable1
-rw-r--r--test/sys/devices/virtual/block/loop5/ro1
-rw-r--r--test/sys/devices/virtual/block/loop5/size1
-rw-r--r--test/sys/devices/virtual/block/loop5/stat1
l---------test/sys/devices/virtual/block/loop5/subsystem1
-rw-r--r--test/sys/devices/virtual/block/loop5/uevent3
l---------test/sys/devices/virtual/block/loop6/bdi1
-rw-r--r--test/sys/devices/virtual/block/loop6/capability1
-rw-r--r--test/sys/devices/virtual/block/loop6/dev1
-rw-r--r--test/sys/devices/virtual/block/loop6/make-it-fail1
-rw-r--r--test/sys/devices/virtual/block/loop6/power/wakeup1
-rw-r--r--test/sys/devices/virtual/block/loop6/range1
-rw-r--r--test/sys/devices/virtual/block/loop6/removable1
-rw-r--r--test/sys/devices/virtual/block/loop6/ro1
-rw-r--r--test/sys/devices/virtual/block/loop6/size1
-rw-r--r--test/sys/devices/virtual/block/loop6/stat1
l---------test/sys/devices/virtual/block/loop6/subsystem1
-rw-r--r--test/sys/devices/virtual/block/loop6/uevent3
l---------test/sys/devices/virtual/block/loop7/bdi1
-rw-r--r--test/sys/devices/virtual/block/loop7/capability1
-rw-r--r--test/sys/devices/virtual/block/loop7/dev1
-rw-r--r--test/sys/devices/virtual/block/loop7/make-it-fail1
-rw-r--r--test/sys/devices/virtual/block/loop7/power/wakeup1
-rw-r--r--test/sys/devices/virtual/block/loop7/range1
-rw-r--r--test/sys/devices/virtual/block/loop7/removable1
-rw-r--r--test/sys/devices/virtual/block/loop7/ro1
-rw-r--r--test/sys/devices/virtual/block/loop7/size1
-rw-r--r--test/sys/devices/virtual/block/loop7/stat1
l---------test/sys/devices/virtual/block/loop7/subsystem1
-rw-r--r--test/sys/devices/virtual/block/loop7/uevent3
l---------test/sys/devices/virtual/block/md0/bdi1
-rw-r--r--test/sys/devices/virtual/block/md0/capability1
-rw-r--r--test/sys/devices/virtual/block/md0/dev1
-rw-r--r--test/sys/devices/virtual/block/md0/make-it-fail1
-rw-r--r--test/sys/devices/virtual/block/md0/md/array_state1
-rw-r--r--test/sys/devices/virtual/block/md0/md/chunk_size1
-rw-r--r--test/sys/devices/virtual/block/md0/md/component_size1
-rw-r--r--test/sys/devices/virtual/block/md0/md/degraded1
l---------test/sys/devices/virtual/block/md0/md/dev-sda9/block1
-rw-r--r--test/sys/devices/virtual/block/md0/md/dev-sda9/errors1
-rw-r--r--test/sys/devices/virtual/block/md0/md/dev-sda9/offset1
-rw-r--r--test/sys/devices/virtual/block/md0/md/dev-sda9/size1
-rw-r--r--test/sys/devices/virtual/block/md0/md/dev-sda9/slot1
-rw-r--r--test/sys/devices/virtual/block/md0/md/dev-sda9/state1
-rw-r--r--test/sys/devices/virtual/block/md0/md/layout1
-rw-r--r--test/sys/devices/virtual/block/md0/md/level1
-rw-r--r--test/sys/devices/virtual/block/md0/md/metadata_version1
-rw-r--r--test/sys/devices/virtual/block/md0/md/mismatch_cnt1
-rw-r--r--test/sys/devices/virtual/block/md0/md/raid_disks1
l---------test/sys/devices/virtual/block/md0/md/rd11
-rw-r--r--test/sys/devices/virtual/block/md0/md/reshape_position1
-rw-r--r--test/sys/devices/virtual/block/md0/md/resync_start1
-rw-r--r--test/sys/devices/virtual/block/md0/md/safe_mode_delay1
-rw-r--r--test/sys/devices/virtual/block/md0/md/suspend_hi1
-rw-r--r--test/sys/devices/virtual/block/md0/md/suspend_lo1
-rw-r--r--test/sys/devices/virtual/block/md0/md/sync_action1
-rw-r--r--test/sys/devices/virtual/block/md0/md/sync_completed1
-rw-r--r--test/sys/devices/virtual/block/md0/md/sync_force_parallel1
-rw-r--r--test/sys/devices/virtual/block/md0/md/sync_max1
-rw-r--r--test/sys/devices/virtual/block/md0/md/sync_min1
-rw-r--r--test/sys/devices/virtual/block/md0/md/sync_speed1
-rw-r--r--test/sys/devices/virtual/block/md0/md/sync_speed_max1
-rw-r--r--test/sys/devices/virtual/block/md0/md/sync_speed_min1
-rw-r--r--test/sys/devices/virtual/block/md0/power/wakeup1
-rw-r--r--test/sys/devices/virtual/block/md0/range1
-rw-r--r--test/sys/devices/virtual/block/md0/removable1
-rw-r--r--test/sys/devices/virtual/block/md0/ro1
-rw-r--r--test/sys/devices/virtual/block/md0/size1
l---------test/sys/devices/virtual/block/md0/slaves/sda91
-rw-r--r--test/sys/devices/virtual/block/md0/stat1
l---------test/sys/devices/virtual/block/md0/subsystem1
-rw-r--r--test/sys/devices/virtual/block/md0/uevent3
147 files changed, 167 insertions, 0 deletions
diff --git a/test/sys/devices/virtual/block/fake!blockdev0/capability b/test/sys/devices/virtual/block/fake!blockdev0/capability
new file mode 100644
index 0000000000..f599e28b8a
--- /dev/null
+++ b/test/sys/devices/virtual/block/fake!blockdev0/capability
@@ -0,0 +1 @@
+10
diff --git a/test/sys/devices/virtual/block/fake!blockdev0/dev b/test/sys/devices/virtual/block/fake!blockdev0/dev
new file mode 100644
index 0000000000..2ad787a87a
--- /dev/null
+++ b/test/sys/devices/virtual/block/fake!blockdev0/dev
@@ -0,0 +1 @@
+711:0
diff --git a/test/sys/devices/virtual/block/fake!blockdev0/range b/test/sys/devices/virtual/block/fake!blockdev0/range
new file mode 100644
index 0000000000..d00491fd7e
--- /dev/null
+++ b/test/sys/devices/virtual/block/fake!blockdev0/range
@@ -0,0 +1 @@
+1
diff --git a/test/sys/devices/virtual/block/fake!blockdev0/removable b/test/sys/devices/virtual/block/fake!blockdev0/removable
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/fake!blockdev0/removable
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/fake!blockdev0/ro b/test/sys/devices/virtual/block/fake!blockdev0/ro
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/fake!blockdev0/ro
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/fake!blockdev0/size b/test/sys/devices/virtual/block/fake!blockdev0/size
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/fake!blockdev0/size
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/fake!blockdev0/stat b/test/sys/devices/virtual/block/fake!blockdev0/stat
new file mode 100644
index 0000000000..ddf0f2a1f7
--- /dev/null
+++ b/test/sys/devices/virtual/block/fake!blockdev0/stat
@@ -0,0 +1 @@
+ 0 0 0 0 0 0 0 0 0 0 0
diff --git a/test/sys/devices/virtual/block/fake!blockdev0/subsystem b/test/sys/devices/virtual/block/fake!blockdev0/subsystem
new file mode 120000
index 0000000000..b257cfc23c
--- /dev/null
+++ b/test/sys/devices/virtual/block/fake!blockdev0/subsystem
@@ -0,0 +1 @@
+../../../../class/block \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/fake!blockdev0/uevent b/test/sys/devices/virtual/block/fake!blockdev0/uevent
new file mode 100644
index 0000000000..70997d361b
--- /dev/null
+++ b/test/sys/devices/virtual/block/fake!blockdev0/uevent
@@ -0,0 +1,3 @@
+MAJOR=7
+MINOR=0
+DEVTYPE=disk
diff --git a/test/sys/devices/virtual/block/loop0/bdi b/test/sys/devices/virtual/block/loop0/bdi
new file mode 120000
index 0000000000..18ceac07e2
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop0/bdi
@@ -0,0 +1 @@
+../../bdi/7:0 \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/loop0/capability b/test/sys/devices/virtual/block/loop0/capability
new file mode 100644
index 0000000000..f599e28b8a
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop0/capability
@@ -0,0 +1 @@
+10
diff --git a/test/sys/devices/virtual/block/loop0/dev b/test/sys/devices/virtual/block/loop0/dev
new file mode 100644
index 0000000000..63cbc465cd
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop0/dev
@@ -0,0 +1 @@
+7:0
diff --git a/test/sys/devices/virtual/block/loop0/make-it-fail b/test/sys/devices/virtual/block/loop0/make-it-fail
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop0/make-it-fail
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop0/power/wakeup b/test/sys/devices/virtual/block/loop0/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop0/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/virtual/block/loop0/range b/test/sys/devices/virtual/block/loop0/range
new file mode 100644
index 0000000000..d00491fd7e
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop0/range
@@ -0,0 +1 @@
+1
diff --git a/test/sys/devices/virtual/block/loop0/removable b/test/sys/devices/virtual/block/loop0/removable
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop0/removable
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop0/ro b/test/sys/devices/virtual/block/loop0/ro
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop0/ro
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop0/size b/test/sys/devices/virtual/block/loop0/size
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop0/size
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop0/stat b/test/sys/devices/virtual/block/loop0/stat
new file mode 100644
index 0000000000..ddf0f2a1f7
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop0/stat
@@ -0,0 +1 @@
+ 0 0 0 0 0 0 0 0 0 0 0
diff --git a/test/sys/devices/virtual/block/loop0/subsystem b/test/sys/devices/virtual/block/loop0/subsystem
new file mode 120000
index 0000000000..b257cfc23c
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop0/subsystem
@@ -0,0 +1 @@
+../../../../class/block \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/loop0/uevent b/test/sys/devices/virtual/block/loop0/uevent
new file mode 100644
index 0000000000..70997d361b
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop0/uevent
@@ -0,0 +1,3 @@
+MAJOR=7
+MINOR=0
+DEVTYPE=disk
diff --git a/test/sys/devices/virtual/block/loop1/bdi b/test/sys/devices/virtual/block/loop1/bdi
new file mode 120000
index 0000000000..c909eb9ec2
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop1/bdi
@@ -0,0 +1 @@
+../../bdi/7:1 \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/loop1/capability b/test/sys/devices/virtual/block/loop1/capability
new file mode 100644
index 0000000000..f599e28b8a
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop1/capability
@@ -0,0 +1 @@
+10
diff --git a/test/sys/devices/virtual/block/loop1/dev b/test/sys/devices/virtual/block/loop1/dev
new file mode 100644
index 0000000000..084aafd011
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop1/dev
@@ -0,0 +1 @@
+7:1
diff --git a/test/sys/devices/virtual/block/loop1/make-it-fail b/test/sys/devices/virtual/block/loop1/make-it-fail
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop1/make-it-fail
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop1/power/wakeup b/test/sys/devices/virtual/block/loop1/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop1/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/virtual/block/loop1/range b/test/sys/devices/virtual/block/loop1/range
new file mode 100644
index 0000000000..d00491fd7e
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop1/range
@@ -0,0 +1 @@
+1
diff --git a/test/sys/devices/virtual/block/loop1/removable b/test/sys/devices/virtual/block/loop1/removable
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop1/removable
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop1/ro b/test/sys/devices/virtual/block/loop1/ro
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop1/ro
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop1/size b/test/sys/devices/virtual/block/loop1/size
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop1/size
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop1/stat b/test/sys/devices/virtual/block/loop1/stat
new file mode 100644
index 0000000000..ddf0f2a1f7
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop1/stat
@@ -0,0 +1 @@
+ 0 0 0 0 0 0 0 0 0 0 0
diff --git a/test/sys/devices/virtual/block/loop1/subsystem b/test/sys/devices/virtual/block/loop1/subsystem
new file mode 120000
index 0000000000..b257cfc23c
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop1/subsystem
@@ -0,0 +1 @@
+../../../../class/block \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/loop1/uevent b/test/sys/devices/virtual/block/loop1/uevent
new file mode 100644
index 0000000000..735db02c53
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop1/uevent
@@ -0,0 +1,3 @@
+MAJOR=7
+MINOR=1
+DEVTYPE=disk
diff --git a/test/sys/devices/virtual/block/loop2/bdi b/test/sys/devices/virtual/block/loop2/bdi
new file mode 120000
index 0000000000..5ab426c8de
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop2/bdi
@@ -0,0 +1 @@
+../../bdi/7:2 \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/loop2/capability b/test/sys/devices/virtual/block/loop2/capability
new file mode 100644
index 0000000000..f599e28b8a
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop2/capability
@@ -0,0 +1 @@
+10
diff --git a/test/sys/devices/virtual/block/loop2/dev b/test/sys/devices/virtual/block/loop2/dev
new file mode 100644
index 0000000000..665a343e7d
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop2/dev
@@ -0,0 +1 @@
+7:2
diff --git a/test/sys/devices/virtual/block/loop2/make-it-fail b/test/sys/devices/virtual/block/loop2/make-it-fail
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop2/make-it-fail
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop2/power/wakeup b/test/sys/devices/virtual/block/loop2/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop2/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/virtual/block/loop2/range b/test/sys/devices/virtual/block/loop2/range
new file mode 100644
index 0000000000..d00491fd7e
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop2/range
@@ -0,0 +1 @@
+1
diff --git a/test/sys/devices/virtual/block/loop2/removable b/test/sys/devices/virtual/block/loop2/removable
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop2/removable
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop2/ro b/test/sys/devices/virtual/block/loop2/ro
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop2/ro
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop2/size b/test/sys/devices/virtual/block/loop2/size
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop2/size
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop2/stat b/test/sys/devices/virtual/block/loop2/stat
new file mode 100644
index 0000000000..ddf0f2a1f7
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop2/stat
@@ -0,0 +1 @@
+ 0 0 0 0 0 0 0 0 0 0 0
diff --git a/test/sys/devices/virtual/block/loop2/subsystem b/test/sys/devices/virtual/block/loop2/subsystem
new file mode 120000
index 0000000000..b257cfc23c
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop2/subsystem
@@ -0,0 +1 @@
+../../../../class/block \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/loop2/uevent b/test/sys/devices/virtual/block/loop2/uevent
new file mode 100644
index 0000000000..6d170d368a
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop2/uevent
@@ -0,0 +1,3 @@
+MAJOR=7
+MINOR=2
+DEVTYPE=disk
diff --git a/test/sys/devices/virtual/block/loop3/bdi b/test/sys/devices/virtual/block/loop3/bdi
new file mode 120000
index 0000000000..756b9c2cf5
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop3/bdi
@@ -0,0 +1 @@
+../../bdi/7:3 \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/loop3/capability b/test/sys/devices/virtual/block/loop3/capability
new file mode 100644
index 0000000000..f599e28b8a
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop3/capability
@@ -0,0 +1 @@
+10
diff --git a/test/sys/devices/virtual/block/loop3/dev b/test/sys/devices/virtual/block/loop3/dev
new file mode 100644
index 0000000000..62f686140a
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop3/dev
@@ -0,0 +1 @@
+7:3
diff --git a/test/sys/devices/virtual/block/loop3/make-it-fail b/test/sys/devices/virtual/block/loop3/make-it-fail
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop3/make-it-fail
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop3/power/wakeup b/test/sys/devices/virtual/block/loop3/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop3/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/virtual/block/loop3/range b/test/sys/devices/virtual/block/loop3/range
new file mode 100644
index 0000000000..d00491fd7e
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop3/range
@@ -0,0 +1 @@
+1
diff --git a/test/sys/devices/virtual/block/loop3/removable b/test/sys/devices/virtual/block/loop3/removable
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop3/removable
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop3/ro b/test/sys/devices/virtual/block/loop3/ro
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop3/ro
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop3/size b/test/sys/devices/virtual/block/loop3/size
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop3/size
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop3/stat b/test/sys/devices/virtual/block/loop3/stat
new file mode 100644
index 0000000000..ddf0f2a1f7
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop3/stat
@@ -0,0 +1 @@
+ 0 0 0 0 0 0 0 0 0 0 0
diff --git a/test/sys/devices/virtual/block/loop3/subsystem b/test/sys/devices/virtual/block/loop3/subsystem
new file mode 120000
index 0000000000..b257cfc23c
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop3/subsystem
@@ -0,0 +1 @@
+../../../../class/block \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/loop3/uevent b/test/sys/devices/virtual/block/loop3/uevent
new file mode 100644
index 0000000000..e6bbabc43d
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop3/uevent
@@ -0,0 +1,3 @@
+MAJOR=7
+MINOR=3
+DEVTYPE=disk
diff --git a/test/sys/devices/virtual/block/loop4/bdi b/test/sys/devices/virtual/block/loop4/bdi
new file mode 120000
index 0000000000..48969485be
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop4/bdi
@@ -0,0 +1 @@
+../../bdi/7:4 \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/loop4/capability b/test/sys/devices/virtual/block/loop4/capability
new file mode 100644
index 0000000000..f599e28b8a
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop4/capability
@@ -0,0 +1 @@
+10
diff --git a/test/sys/devices/virtual/block/loop4/dev b/test/sys/devices/virtual/block/loop4/dev
new file mode 100644
index 0000000000..684e7ade03
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop4/dev
@@ -0,0 +1 @@
+7:4
diff --git a/test/sys/devices/virtual/block/loop4/make-it-fail b/test/sys/devices/virtual/block/loop4/make-it-fail
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop4/make-it-fail
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop4/power/wakeup b/test/sys/devices/virtual/block/loop4/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop4/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/virtual/block/loop4/range b/test/sys/devices/virtual/block/loop4/range
new file mode 100644
index 0000000000..d00491fd7e
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop4/range
@@ -0,0 +1 @@
+1
diff --git a/test/sys/devices/virtual/block/loop4/removable b/test/sys/devices/virtual/block/loop4/removable
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop4/removable
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop4/ro b/test/sys/devices/virtual/block/loop4/ro
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop4/ro
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop4/size b/test/sys/devices/virtual/block/loop4/size
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop4/size
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop4/stat b/test/sys/devices/virtual/block/loop4/stat
new file mode 100644
index 0000000000..ddf0f2a1f7
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop4/stat
@@ -0,0 +1 @@
+ 0 0 0 0 0 0 0 0 0 0 0
diff --git a/test/sys/devices/virtual/block/loop4/subsystem b/test/sys/devices/virtual/block/loop4/subsystem
new file mode 120000
index 0000000000..b257cfc23c
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop4/subsystem
@@ -0,0 +1 @@
+../../../../class/block \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/loop4/uevent b/test/sys/devices/virtual/block/loop4/uevent
new file mode 100644
index 0000000000..dd9b914b9c
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop4/uevent
@@ -0,0 +1,3 @@
+MAJOR=7
+MINOR=4
+DEVTYPE=disk
diff --git a/test/sys/devices/virtual/block/loop5/bdi b/test/sys/devices/virtual/block/loop5/bdi
new file mode 120000
index 0000000000..28a54a9841
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop5/bdi
@@ -0,0 +1 @@
+../../bdi/7:5 \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/loop5/capability b/test/sys/devices/virtual/block/loop5/capability
new file mode 100644
index 0000000000..f599e28b8a
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop5/capability
@@ -0,0 +1 @@
+10
diff --git a/test/sys/devices/virtual/block/loop5/dev b/test/sys/devices/virtual/block/loop5/dev
new file mode 100644
index 0000000000..9028bbffdb
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop5/dev
@@ -0,0 +1 @@
+7:5
diff --git a/test/sys/devices/virtual/block/loop5/make-it-fail b/test/sys/devices/virtual/block/loop5/make-it-fail
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop5/make-it-fail
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop5/power/wakeup b/test/sys/devices/virtual/block/loop5/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop5/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/virtual/block/loop5/range b/test/sys/devices/virtual/block/loop5/range
new file mode 100644
index 0000000000..d00491fd7e
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop5/range
@@ -0,0 +1 @@
+1
diff --git a/test/sys/devices/virtual/block/loop5/removable b/test/sys/devices/virtual/block/loop5/removable
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop5/removable
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop5/ro b/test/sys/devices/virtual/block/loop5/ro
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop5/ro
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop5/size b/test/sys/devices/virtual/block/loop5/size
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop5/size
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop5/stat b/test/sys/devices/virtual/block/loop5/stat
new file mode 100644
index 0000000000..ddf0f2a1f7
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop5/stat
@@ -0,0 +1 @@
+ 0 0 0 0 0 0 0 0 0 0 0
diff --git a/test/sys/devices/virtual/block/loop5/subsystem b/test/sys/devices/virtual/block/loop5/subsystem
new file mode 120000
index 0000000000..b257cfc23c
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop5/subsystem
@@ -0,0 +1 @@
+../../../../class/block \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/loop5/uevent b/test/sys/devices/virtual/block/loop5/uevent
new file mode 100644
index 0000000000..83a31c4f74
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop5/uevent
@@ -0,0 +1,3 @@
+MAJOR=7
+MINOR=5
+DEVTYPE=disk
diff --git a/test/sys/devices/virtual/block/loop6/bdi b/test/sys/devices/virtual/block/loop6/bdi
new file mode 120000
index 0000000000..bf36ddae30
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop6/bdi
@@ -0,0 +1 @@
+../../bdi/7:6 \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/loop6/capability b/test/sys/devices/virtual/block/loop6/capability
new file mode 100644
index 0000000000..f599e28b8a
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop6/capability
@@ -0,0 +1 @@
+10
diff --git a/test/sys/devices/virtual/block/loop6/dev b/test/sys/devices/virtual/block/loop6/dev
new file mode 100644
index 0000000000..fc5d660a44
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop6/dev
@@ -0,0 +1 @@
+7:6
diff --git a/test/sys/devices/virtual/block/loop6/make-it-fail b/test/sys/devices/virtual/block/loop6/make-it-fail
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop6/make-it-fail
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop6/power/wakeup b/test/sys/devices/virtual/block/loop6/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop6/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/virtual/block/loop6/range b/test/sys/devices/virtual/block/loop6/range
new file mode 100644
index 0000000000..d00491fd7e
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop6/range
@@ -0,0 +1 @@
+1
diff --git a/test/sys/devices/virtual/block/loop6/removable b/test/sys/devices/virtual/block/loop6/removable
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop6/removable
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop6/ro b/test/sys/devices/virtual/block/loop6/ro
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop6/ro
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop6/size b/test/sys/devices/virtual/block/loop6/size
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop6/size
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop6/stat b/test/sys/devices/virtual/block/loop6/stat
new file mode 100644
index 0000000000..ddf0f2a1f7
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop6/stat
@@ -0,0 +1 @@
+ 0 0 0 0 0 0 0 0 0 0 0
diff --git a/test/sys/devices/virtual/block/loop6/subsystem b/test/sys/devices/virtual/block/loop6/subsystem
new file mode 120000
index 0000000000..b257cfc23c
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop6/subsystem
@@ -0,0 +1 @@
+../../../../class/block \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/loop6/uevent b/test/sys/devices/virtual/block/loop6/uevent
new file mode 100644
index 0000000000..f4428d9334
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop6/uevent
@@ -0,0 +1,3 @@
+MAJOR=7
+MINOR=6
+DEVTYPE=disk
diff --git a/test/sys/devices/virtual/block/loop7/bdi b/test/sys/devices/virtual/block/loop7/bdi
new file mode 120000
index 0000000000..b8918dde28
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop7/bdi
@@ -0,0 +1 @@
+../../bdi/7:7 \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/loop7/capability b/test/sys/devices/virtual/block/loop7/capability
new file mode 100644
index 0000000000..f599e28b8a
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop7/capability
@@ -0,0 +1 @@
+10
diff --git a/test/sys/devices/virtual/block/loop7/dev b/test/sys/devices/virtual/block/loop7/dev
new file mode 100644
index 0000000000..5d4edd3ce1
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop7/dev
@@ -0,0 +1 @@
+7:7
diff --git a/test/sys/devices/virtual/block/loop7/make-it-fail b/test/sys/devices/virtual/block/loop7/make-it-fail
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop7/make-it-fail
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop7/power/wakeup b/test/sys/devices/virtual/block/loop7/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop7/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/virtual/block/loop7/range b/test/sys/devices/virtual/block/loop7/range
new file mode 100644
index 0000000000..d00491fd7e
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop7/range
@@ -0,0 +1 @@
+1
diff --git a/test/sys/devices/virtual/block/loop7/removable b/test/sys/devices/virtual/block/loop7/removable
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop7/removable
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop7/ro b/test/sys/devices/virtual/block/loop7/ro
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop7/ro
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop7/size b/test/sys/devices/virtual/block/loop7/size
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop7/size
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/loop7/stat b/test/sys/devices/virtual/block/loop7/stat
new file mode 100644
index 0000000000..ddf0f2a1f7
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop7/stat
@@ -0,0 +1 @@
+ 0 0 0 0 0 0 0 0 0 0 0
diff --git a/test/sys/devices/virtual/block/loop7/subsystem b/test/sys/devices/virtual/block/loop7/subsystem
new file mode 120000
index 0000000000..b257cfc23c
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop7/subsystem
@@ -0,0 +1 @@
+../../../../class/block \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/loop7/uevent b/test/sys/devices/virtual/block/loop7/uevent
new file mode 100644
index 0000000000..7209ef3d6b
--- /dev/null
+++ b/test/sys/devices/virtual/block/loop7/uevent
@@ -0,0 +1,3 @@
+MAJOR=7
+MINOR=7
+DEVTYPE=disk
diff --git a/test/sys/devices/virtual/block/md0/bdi b/test/sys/devices/virtual/block/md0/bdi
new file mode 120000
index 0000000000..e4fd778bea
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/bdi
@@ -0,0 +1 @@
+../../bdi/9:0 \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/md0/capability b/test/sys/devices/virtual/block/md0/capability
new file mode 100644
index 0000000000..f599e28b8a
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/capability
@@ -0,0 +1 @@
+10
diff --git a/test/sys/devices/virtual/block/md0/dev b/test/sys/devices/virtual/block/md0/dev
new file mode 100644
index 0000000000..3dd777e840
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/dev
@@ -0,0 +1 @@
+9:0
diff --git a/test/sys/devices/virtual/block/md0/make-it-fail b/test/sys/devices/virtual/block/md0/make-it-fail
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/make-it-fail
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/md0/md/array_state b/test/sys/devices/virtual/block/md0/md/array_state
new file mode 100644
index 0000000000..8312630207
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/array_state
@@ -0,0 +1 @@
+clean
diff --git a/test/sys/devices/virtual/block/md0/md/chunk_size b/test/sys/devices/virtual/block/md0/md/chunk_size
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/chunk_size
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/md0/md/component_size b/test/sys/devices/virtual/block/md0/md/component_size
new file mode 100644
index 0000000000..cad9317825
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/component_size
@@ -0,0 +1 @@
+9767424
diff --git a/test/sys/devices/virtual/block/md0/md/degraded b/test/sys/devices/virtual/block/md0/md/degraded
new file mode 100644
index 0000000000..d00491fd7e
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/degraded
@@ -0,0 +1 @@
+1
diff --git a/test/sys/devices/virtual/block/md0/md/dev-sda9/block b/test/sys/devices/virtual/block/md0/md/dev-sda9/block
new file mode 120000
index 0000000000..c633a674f2
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/dev-sda9/block
@@ -0,0 +1 @@
+../../../../../pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda9 \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/md0/md/dev-sda9/errors b/test/sys/devices/virtual/block/md0/md/dev-sda9/errors
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/dev-sda9/errors
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/md0/md/dev-sda9/offset b/test/sys/devices/virtual/block/md0/md/dev-sda9/offset
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/dev-sda9/offset
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/md0/md/dev-sda9/size b/test/sys/devices/virtual/block/md0/md/dev-sda9/size
new file mode 100644
index 0000000000..80892c8881
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/dev-sda9/size
@@ -0,0 +1 @@
+23438720
diff --git a/test/sys/devices/virtual/block/md0/md/dev-sda9/slot b/test/sys/devices/virtual/block/md0/md/dev-sda9/slot
new file mode 100644
index 0000000000..d00491fd7e
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/dev-sda9/slot
@@ -0,0 +1 @@
+1
diff --git a/test/sys/devices/virtual/block/md0/md/dev-sda9/state b/test/sys/devices/virtual/block/md0/md/dev-sda9/state
new file mode 100644
index 0000000000..964991008d
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/dev-sda9/state
@@ -0,0 +1 @@
+in_sync
diff --git a/test/sys/devices/virtual/block/md0/md/layout b/test/sys/devices/virtual/block/md0/md/layout
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/layout
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/md0/md/level b/test/sys/devices/virtual/block/md0/md/level
new file mode 100644
index 0000000000..341b806e6c
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/level
@@ -0,0 +1 @@
+raid1
diff --git a/test/sys/devices/virtual/block/md0/md/metadata_version b/test/sys/devices/virtual/block/md0/md/metadata_version
new file mode 100644
index 0000000000..2c4a1a017f
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/metadata_version
@@ -0,0 +1 @@
+0.90
diff --git a/test/sys/devices/virtual/block/md0/md/mismatch_cnt b/test/sys/devices/virtual/block/md0/md/mismatch_cnt
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/mismatch_cnt
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/md0/md/raid_disks b/test/sys/devices/virtual/block/md0/md/raid_disks
new file mode 100644
index 0000000000..0cfbf08886
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/raid_disks
@@ -0,0 +1 @@
+2
diff --git a/test/sys/devices/virtual/block/md0/md/rd1 b/test/sys/devices/virtual/block/md0/md/rd1
new file mode 120000
index 0000000000..f414d06453
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/rd1
@@ -0,0 +1 @@
+dev-sda9 \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/md0/md/reshape_position b/test/sys/devices/virtual/block/md0/md/reshape_position
new file mode 100644
index 0000000000..621e94f0ec
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/reshape_position
@@ -0,0 +1 @@
+none
diff --git a/test/sys/devices/virtual/block/md0/md/resync_start b/test/sys/devices/virtual/block/md0/md/resync_start
new file mode 100644
index 0000000000..93221a2954
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/resync_start
@@ -0,0 +1 @@
+18446744073709551615
diff --git a/test/sys/devices/virtual/block/md0/md/safe_mode_delay b/test/sys/devices/virtual/block/md0/md/safe_mode_delay
new file mode 100644
index 0000000000..4faa381f80
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/safe_mode_delay
@@ -0,0 +1 @@
+0.201
diff --git a/test/sys/devices/virtual/block/md0/md/suspend_hi b/test/sys/devices/virtual/block/md0/md/suspend_hi
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/suspend_hi
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/md0/md/suspend_lo b/test/sys/devices/virtual/block/md0/md/suspend_lo
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/suspend_lo
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/md0/md/sync_action b/test/sys/devices/virtual/block/md0/md/sync_action
new file mode 100644
index 0000000000..5a5e41c8f4
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/sync_action
@@ -0,0 +1 @@
+idle
diff --git a/test/sys/devices/virtual/block/md0/md/sync_completed b/test/sys/devices/virtual/block/md0/md/sync_completed
new file mode 100644
index 0000000000..cd2858796d
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/sync_completed
@@ -0,0 +1 @@
+0 / 19534848
diff --git a/test/sys/devices/virtual/block/md0/md/sync_force_parallel b/test/sys/devices/virtual/block/md0/md/sync_force_parallel
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/sync_force_parallel
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/md0/md/sync_max b/test/sys/devices/virtual/block/md0/md/sync_max
new file mode 100644
index 0000000000..355295a05a
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/sync_max
@@ -0,0 +1 @@
+max
diff --git a/test/sys/devices/virtual/block/md0/md/sync_min b/test/sys/devices/virtual/block/md0/md/sync_min
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/sync_min
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/md0/md/sync_speed b/test/sys/devices/virtual/block/md0/md/sync_speed
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/sync_speed
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/md0/md/sync_speed_max b/test/sys/devices/virtual/block/md0/md/sync_speed_max
new file mode 100644
index 0000000000..ba1ff86e53
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/sync_speed_max
@@ -0,0 +1 @@
+200000 (system)
diff --git a/test/sys/devices/virtual/block/md0/md/sync_speed_min b/test/sys/devices/virtual/block/md0/md/sync_speed_min
new file mode 100644
index 0000000000..406019d218
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/md/sync_speed_min
@@ -0,0 +1 @@
+1000 (system)
diff --git a/test/sys/devices/virtual/block/md0/power/wakeup b/test/sys/devices/virtual/block/md0/power/wakeup
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/power/wakeup
@@ -0,0 +1 @@
+
diff --git a/test/sys/devices/virtual/block/md0/range b/test/sys/devices/virtual/block/md0/range
new file mode 100644
index 0000000000..d00491fd7e
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/range
@@ -0,0 +1 @@
+1
diff --git a/test/sys/devices/virtual/block/md0/removable b/test/sys/devices/virtual/block/md0/removable
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/removable
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/md0/ro b/test/sys/devices/virtual/block/md0/ro
new file mode 100644
index 0000000000..573541ac97
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/ro
@@ -0,0 +1 @@
+0
diff --git a/test/sys/devices/virtual/block/md0/size b/test/sys/devices/virtual/block/md0/size
new file mode 100644
index 0000000000..f50f9f358c
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/size
@@ -0,0 +1 @@
+19534848
diff --git a/test/sys/devices/virtual/block/md0/slaves/sda9 b/test/sys/devices/virtual/block/md0/slaves/sda9
new file mode 120000
index 0000000000..ccc05e002b
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/slaves/sda9
@@ -0,0 +1 @@
+../../../../pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda9 \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/md0/stat b/test/sys/devices/virtual/block/md0/stat
new file mode 100644
index 0000000000..4510288568
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/stat
@@ -0,0 +1 @@
+ 60 0 480 0 0 0 0 0 0 0 0
diff --git a/test/sys/devices/virtual/block/md0/subsystem b/test/sys/devices/virtual/block/md0/subsystem
new file mode 120000
index 0000000000..b257cfc23c
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/subsystem
@@ -0,0 +1 @@
+../../../../class/block \ No newline at end of file
diff --git a/test/sys/devices/virtual/block/md0/uevent b/test/sys/devices/virtual/block/md0/uevent
new file mode 100644
index 0000000000..bed44e5181
--- /dev/null
+++ b/test/sys/devices/virtual/block/md0/uevent
@@ -0,0 +1,3 @@
+MAJOR=9
+MINOR=0
+DEVTYPE=disk