LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-07-2005, 06:12 PM   #1
phonecian
Member
 
Registered: Jul 2003
Location: Au
Distribution: SLES8, centOS 3.5 & 4 servers, xandros desktops
Posts: 95

Rep: Reputation: 15
Migrating from a Windows Application Server


We recently began to migrate our Lotus Notes domain from Windows to Linux. Mostly it has gone smoothly. However we have run into a problem with a Notes application in which the links are not working when parts of the application are called. The problem appears to be related to Linux case sensitivity (The application was written for Windows 5 years ago without a lot of attention to case consistency). Its a big application, too big to rewrite or to search through for every instance when a case problem might exist.
Is there some way to turn off case sensitivity in Linux?
Thanks for any advice
 
Old 04-07-2005, 06:26 PM   #2
Ben2210
Member
 
Registered: Feb 2004
Location: Toronto
Distribution: Arch
Posts: 146

Rep: Reputation: 16
I don't know if there's a way of disabling case sensitivity in linux, but I suggest that inside your source-code, you replace your calls to file-opening functions by wrappers automatically converting filenames to lowercase. Even in a large apps, if you use only a limited number of libraries, you probably don't use too many different file-opening functions, so that should be easy. Then recompile your application, and use a little script (don't know if you can easily do that in BASH, perhaps you will have to use PERL or any other programming language) to rename all your files to lowercase.
 
Old 04-07-2005, 06:32 PM   #3
Ben2210
Member
 
Registered: Feb 2004
Location: Toronto
Distribution: Arch
Posts: 146

Rep: Reputation: 16
Hey, I just found something interesting in "man mount"

It looks like many filesystems have mount options to disable case sensitivity. Can you tell us what filesystems you are using ?
 
Old 04-07-2005, 06:33 PM   #4
phonecian
Member
 
Registered: Jul 2003
Location: Au
Distribution: SLES8, centOS 3.5 & 4 servers, xandros desktops
Posts: 95

Original Poster
Rep: Reputation: 15
Thanks Ben, I'll pass this suggestion on to theapplications programming guys and see what they think.
 
Old 04-07-2005, 06:39 PM   #5
Ben2210
Member
 
Registered: Feb 2004
Location: Toronto
Distribution: Arch
Posts: 146

Rep: Reputation: 16
And what's your filesystem ? (If you're still interested in disabling sensitivity)
 
Old 04-07-2005, 06:43 PM   #6
phonecian
Member
 
Registered: Jul 2003
Location: Au
Distribution: SLES8, centOS 3.5 & 4 servers, xandros desktops
Posts: 95

Original Poster
Rep: Reputation: 15
Its Reiser FS. But its a relatively small thing to change that if there is another way to go
 
Old 04-07-2005, 07:13 PM   #7
Ben2210
Member
 
Registered: Feb 2004
Location: Toronto
Distribution: Arch
Posts: 146

Rep: Reputation: 16
If you don't need write access to the directory where your application has its files, choose between a NTFS partition, or simply make a Joliet ISO image of your application's directory and then mount it as a loopback device. That's the most elegant way, it doesn't require a separate partition, but it's totally read-only.

If you need write access to the application directory, either try NTFS (but NTFS write under Linux has the reputation of being dangerous for your NTFS partition, though it's maturing.) or go for FAT.

If you use FAT, then mount it as fat and it will be case-insensitive by default. I don't know what happens if you mount as vfat.

The mount option is
check=r for iso9660
posix=0 for ntfs
 
Old 04-07-2005, 11:11 PM   #8
phonecian
Member
 
Registered: Jul 2003
Location: Au
Distribution: SLES8, centOS 3.5 & 4 servers, xandros desktops
Posts: 95

Original Poster
Rep: Reputation: 15
thanks for this help Ben. Appreciate your interest. I think your first suggestion might be the most robust if that is possible in this case. Since there is a need for the app to write, it looks like we'll be back to using a fat partition. Or running a windows server until we can comb through the system and find all the case issues and modify them. But I'm going to suggest we try the wrappers first.
Cheers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating from Windows XP to Linux... big_lou Linux - Newbie 5 06-05-2005 08:16 PM
Migrating from Windows to Linux sandman867 Linux - Newbie 3 11-16-2004 03:02 AM
how i migrate windows application to Linux base application vandarakalpesh Linux - Software 0 06-26-2004 03:34 AM
Migrating from Windows to Fedora GingerWarrior Linux - Newbie 2 06-14-2004 09:09 AM
Migrating CVS to another Server? g!nux-one Linux - Software 1 01-21-2004 04:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration