Formatting FAT32 in Linux

If you want to fomat a drive with FAT32 in Linux, like a camera card, use can use the command:

sudo mkdosfs -F 32 /dev/sde1

Obviously change /dev/sde1 to match which drive you want to format.

Getting Rid of Reserve Space On EXT3 Drives

Just a quick tip, by default when drives are formatted with EXT3 in Linux they reserve 5% of the drive for root, if you have a storage drive that root doesn't need to write to you can get rid of that reserve by using:

sudo tune2fs /dev/sdd1 -m 0

Obviously change /dev/sdd1 to match your hard drive. You can do this while the drive is mounted.

Error Reporting Error

 

 

 

 

 

 

 

 

 

 

 

 

Check out the error Torvan managed to get when his hard drive committed suicide.

dfin

The 'dfin' script is a BASH script that runs at the end of downloading/extracting in SABnzbdPLUS and is meant to rename TV shows to the same name they are posted on newzbin as, and then move the video file into the correct folder, and clean up any lingering superfluous files. I've only used it in linux, it will probably work just fine in OS X and probably in Windows using cygwin. Requires BASH and sed. You must change the 'complete' and 'dest' variables to match your setup.

You can download the most recent release here:
http://source.cyphen.net/dfin/trunk/dfin

SVN

There's a few links to SVN repositories for a couple programs that someone might find useful. They're not exactly documented, considering thus far I'm the only person to ever use them, so you'll have to poke around a bit if you want to understand what's going on. If you have any questions, feel free to get on IRC and ask me.

Using chown

If you can't access files on your *nix or OS X boxen since they're owned by other people (such as root) you can change the permissions of those files with this simple command.

Formats

Since I seem to get this asked a lot, here's my list of favorite formats:

BSOD

Check out the STOP code my coworker got.

Fixing an Xbox 360

So Friday I finally convinced myself to buy an Xbox 360, considering there were I few games I'd really like to play and now I've got a pretty decent 52" Sharp 1080p LCD HDTV. I went one of the 24 hour wal-mart's here in town since it was about 10:30 at night when I got there, and first off there was only the Halo 3 edition and the Arcade edition, neither of which I wanted. I asked one of the sales clerks if they had the regular pro edition anywhere, so I got told someone would check the back.

Cyphen.net relaunch

As you might have noticed, Cyphen.net went through a complete redesign from the ground up. I've swiched the backend from a heavily hacked up wordpress install to a Drupal based site, with a few modules to do what I think I need. The redesign took me seven hours total, but the site
went live in five. Considering I've never used Drupal before I think that's pretty good so far! If you're curious about the modules I'm using feel free to drop me a line; Likewise, if you have any Drupal modules or site changes to suggest please let me know!

Syndicate content