Archive for August, 2007

Quickly create files of a specific size for tests

Sometimes I’ve had to create files to test transfer speeds between points.. sure you could transfer that 650 meg iso image of freebsd, or you could create a “blank” file..

dd if=/dev/zero of=linux.ex2 bs=1024 count=131072

creates 128mb blank file

dd if=/dev/random of=linux.ex2 bs=1024 count=131072

creates 128mb file with random characters in it

for example.. play around with the count numbers in bytes and your set.

Comments

Freebsd ports tree… and updating it

I admit I’m a lazy person, so i love using the freebsd ports tree for software installs.. but when you don’t update it suddenly your left stuck without a source code file to install…

i’ve done updates using:

portsnap fetch update

give it a shot.

Comments

· Next entries »