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: > aurfalien@xxxxxxxxx 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 ideas on were I can get at least the source for it? >> >> I got something off a BSD ports page but its for BSD type systems. > > dd's syntax is a little weird but it should do the job: > > dd if=/dev/zero of=your_filename bs=1K count=size_in_KB > > == > Les Mikesell > lesmikesell@xxxxxxxxx > > > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos