Can you check whether this happens from /dev/urandom as well?
It does:
finsdb137@root dd if=/dev/urandom of=oub bs=128k count=1 while true
do
ls -s oub
sleep 1
done
0+1 records in
0+1 records out
1 oub
1 oub
1 oub
1 oub
1 oub
4 oub
4 oub
4 oub
4 oub
4 oub
I think for the cleanness of the experiment, you should also include
sync after the dd's, to actually commit your file to the pool.
OK that 'fixes' it:
finsdb137@root dd if=/dev/random of=ob bs=128k count=1 sync while true
do
ls -s ob
sleep 1
done
0+1 records in
0+1 records out
4 ob
While this isn't causing me any problems, I'm curious as to why this is
happening...:
$ dd if=/dev/random of=ob bs=128k count=1 while true
do
ls -s ob
sleep 1
done
0+1 records in
0+1 records out
1 ob
1 ob
1 ob
1 ob
1 ob
1 ob
1 ob
1 ob
1 ob
1 ob
1 ob
1
On 08/03/2012 03:18 PM, Justin Stringfellow wrote:
While this isn't causing me any problems, I'm curious as to why this is
happening...:
$ dd if=/dev/random of=ob bs=128k count=1 while true
Can you check whether this happens from /dev/urandom as well?
--
Saso
2012-08-03 17:18, Justin Stringfellow пишет:
While this isn't causing me any problems, I'm curious as to why this is
happening...:
$ dd if=/dev/random of=ob bs=128k count=1 while true
do
ls -s ob
sleep 1
done
0+1 records in
0+1 records out
1 ob
...
I was expecting the '1', since