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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-24-2012, 06:07 PM
|
#1
|
Member
Registered: Mar 2006
Posts: 170
Rep:
|
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?
|
|
|
05-24-2012, 06:15 PM
|
#2
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
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?
|
|
|
05-24-2012, 06:19 PM
|
#3
|
Member
Registered: Mar 2006
Posts: 170
Original Poster
Rep:
|
It was on a flash drive.
|
|
|
05-24-2012, 06:31 PM
|
#4
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
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.
|
|
|
05-24-2012, 09:07 PM
|
#5
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,420
|
My reaction exactly as per TobiSGD
|
|
|
05-24-2012, 10:36 PM
|
#6
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,072
|
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.)
|
|
|
05-25-2012, 10:53 AM
|
#7
|
Member
Registered: Mar 2006
Posts: 170
Original Poster
Rep:
|
So, is there a better file system to use for flash drives?
|
|
|
05-25-2012, 11:01 AM
|
#8
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
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.
|
|
|
All times are GMT -5. The time now is 10:16 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|