Re: bsd mkfile command in centos - a wish

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux