LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: *Malcolm McGrath - Ardec - MIS <mmcgrath@ardec.com.au>
  To  : jonathan soong <jon.soong@imvs.sa.gov.au>
  Date: Thu, 23 Jan 2003 15:50:21 +1030

Re: test files

jonathan soong wrote:

> Hi, this is an easy one
>
> I needed to create some junk files to test some network drive 
> performance and stability.
>
> I was planning on using "dd" to create arbitraty sized file (500K to 
> 20Meg)..
>
> Now when i did this using: dd if=/dev/zero of=new_file seek=100 
> count=1 bs=2325566
>
> I was wondering if it was possible to create a file of size 2325566K 
> that wasn't actually empty, but was filled with junk data. 


I have not properly tested this but I believe that it should work.

dd if=/dev/random of=new_file seek=100 count=1 bs=2325566 ???

M


-- 
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.openprojects.net
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page