Skip to main content


This is the story.

Few days ago one of my friends wanted to use a case-insensitive file system under GNU/Linux. Neither he nor I felt like Samba at that time. So he asked me to produce a FAT32 (because things were easy) by resizing his Swap.

I just did a swapoff, used parted to resize the partition and created a new one, changed the ID to FAT32. Then I did a mkswap and a swapon on the Swap to activate swapping back. After that I used mkfs.vfat –F 32 to create a FAT32. I also edited fstab to set uid=xxx,gid=xxx,umask=xxx, and fat=32,owner as mount options. Issued mount –a. Everything was done.

To test I created a file called “test” by touch. Did a ls –hal. Things were fine. Then I used vi TeST, entered some gibberish and saved it. Did another ls –hal. Oops! I got problems. The file was now named TeST.

So I thought maybe I should create the file system using DOS. I grabbed my UBCD (Ultimate Boot CD v 3.3), booted from FreeDOS, did a formatting. Got back to Linux and followed the testing a few times with a different file names, like sss. Yes! I got it this time. So I handed the system back to my friend and thought he would live happily ever after.

Few hours passed seamlessly. Then I found my friend looking at me startled. When I got back to his system I did a test again. No way! The file qqq turned into QqQ. Same things (working fine – not working – working fine – not working) kept happening for several times until we called it a finish.

That’s it. Anyway my friend found things up to the mark. So things got sorted out. But one thing I dislike is when software act inconsistently like that. Maybe afterall it was because VFAT was case-preserving even when it was case-insensitive. But, then why it worked fine sometimes. I’ll look in to it later.

As for me I’m living happily ever after in real world and in cyber world. Well, that was until my friend started bugging me regarding Samba sometime later.


Popular posts from this blog

Howto Install Docky on Fedora

If you know me personally, then you know that I'm a big fan of GNOME Do. As a keyboard savvy person I use Do extensively. Do is an application launcher similar to the Mac app Quicksilver. However the GNOME Do team has been putting a lot of research and development into it from the initiation. Result: probably the best application launcher out there for any platform.
Some months ago, Do included an interesting theme called Docky which made the launcher acts as a dock (a la Mac, Avant, Cairo Dock, etc.). With the integration of GNOME Do, there's no need to say that Docky was super cool. And it started gaining features in a high speed. Ultimately Docky was getting so developed that it became a separate project.
Installing GNOME Do on a Fedora system is as easy as: $ sudo yum install gnome-do
There are some packages with the names starting from gnome-do-plugins*. With the addition of these GNOME Do can truly enhance your desktop experience. Give it a fair try, I'm pretty sure you&…

Howto Migrate from Thunderbird to Evolution

I know some of you are asking why, rather than how, regarding migration from Mozilla Thunderbird to Evolution. Maybe that's why there are lot of Evolution to Thunderbird migration guides, but not many vice-versa. Fear not, here is a guide, to assist who dare to migrate from Thunderbird to Evolution. The techniques described here are tested with the newer versions of both the software, namely Thunderbird and Evolution 2.10.2. On higher versions also this should work without an issue.

I think Mozilla people are doing a wonderful job with both Firefox and Thunderbird. From my point of view Firefox is the best general purpose web browser around. It beats most proprietary browser in speed, stability, security, modularity, etc. (and don't start commenting the so and so browsers are greater or so and so is cool too. I know they may be, Fx is simply my choice. This also applies to any comparisons with Evolution too :) However Fxs' counterpart in e mail business, is not yet …

Howto setup a MySQL Connector/J 5.1 for Tomcat on Linux

Again, I'm not switching to Java. :) For clarity, I'm helping one of my online buddies to setup and use Ruby even as I write this. This work was something I had to do for a Rails project which used JSPs and stuff with a MySQL database over JDBC. The application setup was quite interesting calling JSPs to work with a Rails webapp.

Actually the following things are found on the Internet. I cannot remember all the sources I looked at, but one was the MySQLs own documentation and Apache Tomcat documentations. So if this works (which in my case did), credit should not be mine. :)

Here's the setup.
GNU/Linux (in my case CentOS 5, although should work with any Linux distro)Apache Tomcat (5.5.25, should work with Tomcat 5.5 range)Sun JDK (1.6.0_04)MySQL (5.0.22)MySQL Connector/J (5.1)

1. I assume that Java is setup (See my previous post for more details on setting up Java manually), and your MySQL is running on the same host on port 3306. Please replace your actual settings if they ar…