[CentOS] bsd mkfile command in centos - a wish

2009-10-05 Thread aurfalien
I enjoy the convenience of mkfile command found in Irix and BSD based distros. This command allows me to make files of any size; usage: mkfile [-nv] size[b|k|m|g] filename ... I've looked here and there and can't seem to find it for Centos. Any one have ideas on were I can get at least the

Re: [CentOS] bsd mkfile command in centos - a wish

2009-10-05 Thread Les Mikesell
aurfal...@gmail.com wrote: I enjoy the convenience of mkfile command found in Irix and BSD based distros. This command allows me to make files of any size; usage: mkfile [-nv] size[b|k|m|g] filename ... I've looked here and there and can't seem to find it for Centos. Any one have

Re: [CentOS] bsd mkfile command in centos - a wish

2009-10-05 Thread aurfalien
Hi Les, Yes, I do run dd to create Xen image files but was hoping to use a more elegant solution. Looks like I'll continue with dd but if any one else has some secrets, please share. On Oct 5, 2009, at 11:10 AM, Les Mikesell wrote: aurfal...@gmail.com wrote: I enjoy the convenience of

Re: [CentOS] bsd mkfile command in centos - a wish

2009-10-05 Thread Tim Nelson
- aurfal...@gmail.com wrote: Hi Les, Yes, I do run dd to create Xen image files but was hoping to use a more elegant solution. Looks like I'll continue with dd but if any one else has some secrets, please share. Why not write a shell script called 'mkfile' that handles the

Re: [CentOS] bsd mkfile command in centos - a wish

2009-10-05 Thread Michel van Deventer
Hi, On Mon, 2009-10-05 at 11:14 -0700, aurfal...@gmail.com wrote: Hi Les, Yes, I do run dd to create Xen image files but was hoping to use a more elegant solution. Looks like I'll continue with dd but if any one else has some secrets, please share. qemu-img create -f fmt imagefile

Re: [CentOS] bsd mkfile command in centos - a wish

2009-10-05 Thread aurfalien
Hi Tim, You know, I didn't even think of that one. Thanks for the idea. On Oct 5, 2009, at 11:18 AM, Tim Nelson wrote: - aurfal...@gmail.com wrote: Hi Les, Yes, I do run dd to create Xen image files but was hoping to use a more elegant solution. Looks like I'll continue with dd but

Re: [CentOS] bsd mkfile command in centos - a wish

2009-10-05 Thread aurfalien
Hi Michel, Indeed, excellent idea! Thanks! On Oct 5, 2009, at 11:22 AM, Michel van Deventer wrote: Hi, On Mon, 2009-10-05 at 11:14 -0700, aurfal...@gmail.com wrote: Hi Les, Yes, I do run dd to create Xen image files but was hoping to use a more elegant solution. Looks like I'll

Re: [CentOS] bsd mkfile command in centos - a wish - SOLVED

2009-10-05 Thread aurfalien
Hi all, As I sat down to write it and started to struggle a bit (of course), I found this, tested and it works. http://ca-linux.org/?p=58 Its a bash script for mkfile. I'm always testing fs/net perf and like the flex of having a simple command like mkfile. On Oct 5, 2009, at 11:22 AM,

Re: [CentOS] bsd mkfile command in centos - a wish

2009-10-05 Thread Christoph Maser
Am Montag, den 05.10.2009, 20:22 +0200 schrieb Michel van Deventer: Hi, On Mon, 2009-10-05 at 11:14 -0700, aurfal...@gmail.com wrote: Hi Les, Yes, I do run dd to create Xen image files but was hoping to use a more elegant solution. Looks like I'll continue with dd but if any one

Re: [CentOS] bsd mkfile command in centos - a wish

2009-10-05 Thread aurfalien
Hi Chris, I'm actually just needing to create files of various sizes, not to be used in Xen tho. More for testing I/O chars of various thing. On Oct 5, 2009, at 4:11 PM, Christoph Maser wrote: Am Montag, den 05.10.2009, 20:22 +0200 schrieb Michel van Deventer: Hi, On Mon, 2009-10-05 at

Re: [CentOS] bsd mkfile command in centos - a wish

2009-10-05 Thread Les Mikesell
aurfal...@gmail.com wrote: Hi Chris, I'm actually just needing to create files of various sizes, not to be used in Xen tho. More for testing I/O chars of various thing. Just recall your last dd command back to the command line (ctl-r dd) and edit the number you put at the end for the

Re: [CentOS] bsd mkfile command in centos - a wish

2009-10-05 Thread aurfalien
well, i actually found this; http://ca-linux.org/?p=58 hope its helpful to others. its a bash script doing dd, but in a more friendly way. On Oct 5, 2009, at 4:35 PM, Les Mikesell wrote: aurfal...@gmail.com wrote: Hi Chris, I'm actually just needing to create files of various sizes, not