filling file system (was: Re: stupid unix commands)

Jim Harkins jharkins at sagpd1.UUCP
Sat May 5 08:46:16 AEST 1990


In article <8170008 at hpfcdq.HP.COM> benji at hpfcdq.HP.COM (Jeff Benjamin) writes:
>Waitaminit -- I actually found a use for yes.  I was doing some testing
>where I needed to fill up the file system (though this is certainly not
>a common thing to do on purpose :-).  My method for doing this was
>
>yes "A nice long string here...." > file
>
>and viola!  Mbytes of file space gone in seconds!


My favorite is to go into a directory for which you want to create a tar
file, then type 'tar cfx * > foo' (I don't remember the actual tar flags
and the manuals in the other room).  What this will do is read stuff from
the top of foo, write it to the end of foo, read more from the top of foo,
write it, etc etc.  Oh well, experience is what allows us to recognize a
mistake when we make it again.


-- 
jim		jharkins at sagpd1

My new investment plan GUARENTEES a 50% rate of return!  Just mail me $10,000
and I promise you'll get $5,000 back.



More information about the Comp.unix.questions mailing list