Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

mkfile equiv. on AIX?

0 views
Skip to first unread message

Kevin R. Pacek

unread,
Jan 15, 2003, 1:43:23 PM1/15/03
to
Need to create an empty 5mb file for a backup test script. We use
mkfile on Solaris and prealloc on HP. Is there a similar command on
AIX 3 or 4?

Thx
-krp

Richard D. Latham

unread,
Jan 16, 2003, 12:52:18 AM1/16/03
to

Hmmm. Wouldn't dd if=/dev/null of=file_name bs=512 count= ( you do the
math ) work ?

--
Richard D. Latham
richard...@verizon.net (home)
lat...@us.ibm.com (work)

Klaus Oberle

unread,
Jan 16, 2003, 8:52:14 AM1/16/03
to
/dev/null won't work. You might use this to create a 5mb file:

dd if=/dev/zero of=5mbfile bs=1048576 count=5

/klaus


"Richard D. Latham" <lat...@us.ibm.com> schrieb im Newsbeitrag
news:uwul5k...@us.ibm.com...

0 new messages