Re: a few minor bugs in the D-L Manual
>>>>> Marco Amadori <email@example.com> writes:
>> Rather, it should look like:
>> $ dd if=/dev/null of=live-rw bs=1G seek=1 # for a 1G image file
>> $ ls -gGl live-rw
>> -rw-r--r-- 1 1073741824 ... live-rw
> This is bogus too as it creates a file big as all free space in the
> target devive...,
The size of the file would be 1 GiB exactly, if the target
filesystem has at least a few spare MiBs.
Did you note that I've changed /dev/zero to /dev/null?
> $ dd if=/dev/zero of=live-rw bs=1 count=1 seek=1G # for 1G +1 byte image
> And it is way faster.
I'm not completely sure on what you mean by ``faster'' here:
$ LC_ALL=C command time dd if=/dev/null of=live-rw bs=1G seek=1
0+0 records in
0+0 records out
0 bytes (0 B) copied, 4.6878e-05 seconds, 0.0 kB/s
0.00user 0.00system 0:00.00elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+233minor)pagefaults 0swaps