Results 1 to 6 of 6

Thread: [SOLVED] Script help

  1. #1
    Join Date
    Jan 2006
    Beans
    192
    Distro
    Ubuntu 8.04 Hardy Heron

    [SOLVED] Script help

    We have a machine here that I need to fill up 1.1 TB quick so that we can test our monitoring capability. So I figured download Ubuntu DVD and fill up the partition that way. Now I tried to write a script that would simply run through a while loop 300 times, and rename copy the file UbuntuDVD1, 2, 3 etc. But it didn't work. Can someone help me with this?

  2. #2
    Join Date
    Apr 2007
    Beans
    14,781

    Re: Script help

    Why don't you just write a script to make large files?

  3. #3
    Join Date
    Jan 2006
    Beans
    192
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Script help

    How do I do that? Either way will work

  4. #4
    Join Date
    Feb 2008
    Location
    Cape Town, South Africa
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Script help

    Quote Originally Posted by LaRoza View Post
    Why don't you just write a script to make large files?
    That seems to be the OP's question...

    I remember something about a a `dd` command that you could copy from /dev/zero or /dev/nrandom.

    But you would have to google the exact place to copy form

  5. #5
    Join Date
    Feb 2008
    Location
    Cape Town, South Africa
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Script help

    Quote Originally Posted by dicecca112 View Post
    How do I do that? Either way will work
    http://wiki.linuxquestions.org/wiki/...ty_disk_images
    http://maarten.lippmann.us/?page_id=116

    Try those for a starting point.

  6. #6
    Join Date
    Jan 2006
    Beans
    192
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Script help

    totally forgot about dd, I know how to do it now, thanks guys

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •