Welcome |
---|
Welcome to refracta You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today! |
dd if=/dev/zero | pv | of=${LOOP_FILENAME} bs=1M count=${SIZE}
dd if=/dev/zero | pv | of=testloop bs=1M count=1000
0B 0:00:00 [ 0B/s] [<=>
dd bs=1M count=1000 if=/dev/zero | bar -of testloop
SIZE=50
# no progress bar without this if IO redirection to a log
# exec 2>&1
:~$ dd 'if=/dev/zero' bs=1024 count=${SIZE}000 |pv -fprt -s ${SIZE}m |dd of=loopfile bs=1024 count=${SIZE}000
50000+0 records in
50000+0 records out
51200000 bytes (51 MB) copied, 0.634875 s, 80.6 MB/s
0:00:00 [76.7MB/s] [====================================================> ] 97%
50000+0 records in
50000+0 records out
51200000 bytes (51 MB) copied, 0.636096 s, 80.5 MB/s
As a pmount alternative, check out the udevil package provided by the spacefm authordzz wrote:while on the case of alternatives, watch out for pmount.. it's unmaintained for 3 years and might disappear.
:~$ udevil mount /dev/sdc1 /media/zmount
Mounted /dev/sdc1 at /media/zmount
Users browsing this forum: No registered users and 0 guests