[CentOS] mount -o loop question.

Nux! nux at li.nux.ro
Wed Oct 24 05:16:23 EDT 2012


On 23.10.2012 14:08, Robert Nichols wrote:
> On 10/23/2012 03:44 AM, Banyan He wrote:
>> btw, here is the way to append more bytes on the tail,
>>
>> dd if=/dev/zero of=myfile bs=1 count=no_of_bytes seek=$(stat -c%s 
>> myfile)
>
> Sounds like a hard way to do
>      dd conv=notrunc oflag=append if=/dev/zero ...

Still looks hard. Try:

man truncate
man qemu-img

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


More information about the CentOS mailing list