Working with Ubuntu: Infinitely Recursive Directory Structure on Windows

If you are working in dual boot mode on Ubuntu with Windows, it might be quite tempting to use Windows drive as the shared drive to work on the same thing so that you can switch between OS based on your convenience. If you are working on a source code, you definitely would like to do that. However it creates some undesirable situations which are sometimes very hard to debug.

Yesterday after I was done working on my project on Ubuntu, I switched to Vista and I could see infinitely recursive directory (whole C drive) structure on Windows. If you delete it, you might lose entire OS. I googled but could not figure out why it happened. Finally went back to Ubuntu again and saw that it has created C:/Users/AppData/… structure for one of the Java application I was working on. The structure became C: — > Users –> AppData on file system. The “C:” means C drive on Windows and Windows doesn’t allow you to create this kind of directory while you are on Windows. But on Ubuntu I could meddle with Windows file-system. I removed this directory structure from Ubuntu and it worked.

The moral of the story is to use Windows shared drive mostly for read-only purposes. It will be better to have your working environment entirely on Ubuntu only.

Posted in Ubuntu

Leave a Reply

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

*

CommentLuv badge

Welcome to Sampreshan
Technology Strategist, Speaker, Scrum/XP/Agile Trainer Coach and Trainer
Your interest areas
Follow

Get every new post on this blog delivered to your Inbox.

Join other followers: