LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-24-2012, 06:07 PM   #1
Daravon
Member
 
Registered: Mar 2006
Posts: 170

Rep: Reputation: 15
I thought Linux was case-sensitive?


I have had this happen to me a couple times, though.


Code:
chaz@optimus:/media/CHAZFLASHDR$ mv TelTempControl.pdf telTempControl.pdf
mv: `TelTempControl.pdf' and `telTempControl.pdf' are the same file
Excuse me? Why does this happen? Is it a bug in gnu mv's regex?
 
Old 05-24-2012, 06:15 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
I just created a file named TelTempControl.pdf and tried your command, works fine here. May it be possible that the file resides on a partition with a filesystem that is not case-sensitive?
 
Old 05-24-2012, 06:19 PM   #3
Daravon
Member
 
Registered: Mar 2006
Posts: 170

Original Poster
Rep: Reputation: 15
It was on a flash drive.
 
Old 05-24-2012, 06:31 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
The type of drive tells us nothing about the file-system. Was it possibly formatted as FAT16/32? This filesystem is not case-sensitive, so Linux is not able to execute operations on it that need case-sensitivity.
 
Old 05-24-2012, 09:07 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,420

Rep: Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785
My reaction exactly as per TobiSGD
 
Old 05-24-2012, 10:36 PM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,072
Blog Entries: 4

Rep: Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073Reputation: 4073
File systems are (or are not...) case-sensitive.

Flash-drives are customarily initialized with FAT32, which is a case-insensitive file system. Linux, of course, understands this perfectly, and behaves appropriately.

(Incidentally: Windows is no slouch on this department, either. It, too, has "installable file system" (IFS) support, although FAT and NTFS are the only drivers that are installed by default.)
 
Old 05-25-2012, 10:53 AM   #7
Daravon
Member
 
Registered: Mar 2006
Posts: 170

Original Poster
Rep: Reputation: 15
So, is there a better file system to use for flash drives?
 
Old 05-25-2012, 11:01 AM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
If you want to use that device with Windows (Windows 2000 and later) machines also then NTFS is the way to go, otherwise I would use ext2/3/4 for it.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying files from case-sensitive Linux to case-insensitive Windows via CIFS? SlowCoder Linux - General 4 05-07-2008 08:03 PM
Can anyone solve this Case-Sensitive problem on Linux OS? yuvanth Linux - General 1 09-12-2007 07:17 AM
Linux case sensitive does not treat! mehjabin_25 Linux - Newbie 4 01-04-2006 08:53 AM
Why is linux case sensitive? Jestrik Linux - General 9 12-16-2003 08:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:16 PM.

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
Open Source Consulting | Domain Registration