KyleMacLean.comKyleMacLean.com

« February 2004 | April 2004 »

March 22, 2004

Pilate at Call the Office

Posted at 12:09 PM in Music.

Had everyone up (Greg, Amanda, Kaitlin) to see Pilate at Call the Office. Matt Mays & El Torpedo opened for them. Interestingly enough, Matt Mays kind of stole the show - Pilate is great, but they're very mellow, and call the office really needs a pumped up show.

Nonetheless, Into Your Hideout live was sensational. Pics to follow.


March 6, 2004

Using a USB Memory Key

Posted at 3:14 PM in FreeBSD Manual.

FreeBSD is a weird OS, I'll give you that. I still can't get my Nvidia TNT2 video card working, but my Lexar Jumpdrive is working fine. I came across this script on the net and modified it to mnt the USB memory key to the /mnt/lexar directory.

#!/usr/bin/perl -w

use strict;

# If no arguments are given, print a brief help message
if (!defined($ARGV[0]))
{
print "\n";
print "Help:\n";
print "Lexar Jumpdrive mounting script\n";
print "\n";
print "You must provide one of the following arguments:\n";
print "m Mounts the Jumpdrive.\n";
print "u UnMounts the Jumpdrive.\n";
print "\n";
print "Example: lexar m\n";
print "\n";
}

# m mounts the jumpdrive
elsif ($ARGV[0] eq "m")
{
# mounting the jumpdrive at /mnt/lexar
# this can be set to whatever you like
system "/sbin/mount -t msdos /dev/da0s1 /mnt/lexar";
print "Jumpdrive mounted at /mnt/lexar.\n";
}

elsif ($ARGV[0] eq "u")
{
# umounts the jumpdrive
system "/sbin/umount /mnt/lexar";
print "Jumpdrive unmounted.\n";
}

This does a great job of mounting the drive. Adding:

alias lexar perl /usr/local/scripts/lexar
(alter this to point to whatever path your scripts are at) to your .cshrc file will allow for quick and easy access to your Lexar Jump Drive in FreeBSD.


Style select: Green Blue

  • Resources
  • About
  • Resume
  • RSS FeedFeed
  • XHTML 1.0
  • CSS
  • Creative Commons License
  • Site Search: