Search Results

Search: Posts Made By: kernel11
2,850
Posted By Chubler_XL
This should work in most shells (not csh): ...
This should work in most shells (not csh):

i=1
while [ $i -lt 100 ]
do
dd if=/dev/zero of=50gb_$i.img bs=5gb count=10
let i=i+1
done

Edit: Nice solution Corona688, and I agree...
2,850
Posted By Corona688
I don't think you want to use a 5 gigabyte block...
I don't think you want to use a 5 gigabyte block size! That may require dd to allocate 5 gigabytes of memory :eek:

I'd also worry about the system not being able to delete the file once the disk...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 03:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy