Skip to contentSkip to conversation

runltp: bigger the supplied block device

PATCH In review DAN LI 2 participants 2 messages Sep 10, 2013

lore
Share & tools
lore

DAN LI

author
#0 lore raw

PATCH 1/1 runltp: bigger the supplied block device

To make a xfs filesystem, we need the device gets at least 4096 blocks.

---
 runltp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
runltp +2 -2
index e86f5c7..63c625f 100755
@@ -955,8 +955,8 @@ main()
 
 create_block()
 {
-    #create a block device with ext4 filesystem.
-    dd if=/dev/zero of=${TMP}/test.img bs=1kB count=10240
+    #create a block device
+    dd if=/dev/zero of=${TMP}/test.img bs=1kB count=20480
     if [ $? -ne 0 ]; then
         echo "Failed to create loopback device image, please check disk space and re-run"
         return 1
Signature · 12 lines
1.8.1

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
#1 lore raw

Hi!

Quoted 3 lines

To make a xfs filesystem, we need the device gets at least 4096 blocks.

Pushed, thanks.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list