inside the mind of a linux admin

How to resize /tmp/tmpDSK to 1Gb

Sizes does matter!

# umount -l /tmp
# dd if=/dev/zero of=/usr/tmpDSK bs=1024 count=1024000
# mkfs.ext3 /usr/tmpDSK
# mount -o loop,rw,noexec,nosuid /usr/tmpDSK /tmp

Related Posts

synergy: How to enable crypto (encryption) and generate SSL certificate

The newer Linux versions of the popular mouse/keyboard sharing application “synergy” now has built in encryption. Here’s how to configure it: Just simply passing the –enable-crypto flag on your synergy server without having a proper SSL certificate will result in the inability to connect to clients and generate an error message similar to this in […]

Read More

Change Number Pad Delete (dot) key from a comma in Ubuntu Linux

I recently purchased a new keyboard and updated to the latest Ubuntu, I’m also an avid user of the number pad for quick input when dealing with spreadsheets or accounting. I found that my num pad’s delete key (“.”) was outputting a comma (“,”) instead. Pretty annoying? I agree, but this can be very easily […]

Read More

1 Comment

  • techno182 on Friday, December 25, 2009

    I want to quote your post in my blog. It can?
    And you et an account on Twitter?

Leave a Reply

Your email address will not be published. Required fields are marked *

Twitter: kireguy

Tweeter button Facebook button Myspace button