Welcome

Pacific Simplicity is the home to my tech blog of sorts, aiming to assist and provide information easily to other Linux users and Open Source hackers out there.  It contains articles on Linux, system admin hints, scripting, programming embedded systems, OpenWRT and of course Drupal . Check it out and don't forget to comment!

Posted: Tue, 09/23/2014 - 12:44

Thanks to some interesting input, I decided that I should extend upon my file copy previous example. In case, you are wondering, I chose to use fwrite, fread etc.. on this application, but the same is possible with read/write to copy a "sparse file" or a file with "file holes"

As per input, here is how I create my sparse file using the dd command:

Posted: Fri, 09/19/2014 - 08:54

Interestingly enough, Ubuntu 14.01 was unable to recognize my all-in-one SD card reader (Nextech is the brand) despite working in Windows land. Dmesg output was stating errors and assuming that this is just a generic USB device, I wondered if there was something at play, such as SCSI. I was correct and here are the two changes that are needed to make it work.

sudo apt-get install udisks sg3-utils

Then add the following to /etc/modules.conf

Posted: Fri, 09/12/2014 - 19:01

Here is a simple C example that demonstrates using stat(), posix_fadvise() and assert() for a file copy, not that its not great for sparse files, but this example is! ;)

Posted: Sat, 09/06/2014 - 09:12

Here is a quick user guide that shows the command snippets demonstrating the basic functionality provided by an SVN repository. This page will be organized by usage scenarios such as "how do I check out code?" or "how do I add a new file and check it it?".

Assuming that you are using an already configured SVN repository and that you have been provided the SVN's address along with your user's credentials. However, credentials may not be required if you are checking -out source code from a public repository such as SourceForge, but may be required for check-in rights.

Posted: Thu, 07/24/2014 - 16:05

Here is my updated OpenWRT guide for the Ubiquity Router Station Pro - this includes wireless drivers and a minimal install (with optimization for performance set instead of size).