LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-02-2005, 02:13 PM   #1
mehlkelm
Member
 
Registered: Apr 2003
Location: Basel, Switzerland
Distribution: Ubuntu, OS X
Posts: 77

Rep: Reputation: 15
a fat filename problem


I created a folder in nautilus called "R.E.M." on a fat partition. This folder bhaves really strange:
Code:
zozi@eris:/mnt/media/psycho neu$ ls
R.E.M.
zozi@eris:/mnt/media/psycho neu$ ls -l
ls: R.E.M.: No such file or directory
total 0
zozi@eris:/mnt/media/psycho neu$ cd "R.E.M."
bash: cd: R.E.M.: No such file or directory
zozi@eris:/mnt/media/psycho neu$ mv R.E.M. REM
mv: cannot stat `R.E.M.': No such file or directory
How can I access / rename / delete this funny directory?

stefan
 
Old 05-02-2005, 03:00 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
What filesystem is it using according to
mount
?


Make sure you mount it as vfat, not FAT16


Cheers,
Tink
 
Old 05-02-2005, 03:33 PM   #3
mehlkelm
Member
 
Registered: Apr 2003
Location: Basel, Switzerland
Distribution: Ubuntu, OS X
Posts: 77

Original Poster
Rep: Reputation: 15
Looks OK to me:

/dev/sda2 on /mnt/media type vfat (rw,noexec,nosuid,nodev,utf8,umask=0000,user=zozi)
 
Old 05-02-2005, 04:01 PM   #4
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
what does
Code:
ls -l
say?
 
Old 05-02-2005, 04:13 PM   #5
mehlkelm
Member
 
Registered: Apr 2003
Location: Basel, Switzerland
Distribution: Ubuntu, OS X
Posts: 77

Original Poster
Rep: Reputation: 15
Re: a fat filename problem

Quote:
Originally posted by mehlkelm

Code:
zozi@eris:/mnt/media/psycho neu$ ls
R.E.M.
zozi@eris:/mnt/media/psycho neu$ ls -l
ls: R.E.M.: No such file or directory
total 0
..the error looks as if I would have asked explicitly for "R.E.M."
It finds the file and then cannot display information about it under the given name.
 
Old 05-02-2005, 04:49 PM   #6
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
thats a big problem, see if you can delete the file?

hmm, try mounting the device with default options, sometimes some of those options can produce errors like this.
 
Old 05-02-2005, 05:00 PM   #7
mehlkelm
Member
 
Registered: Apr 2003
Location: Basel, Switzerland
Distribution: Ubuntu, OS X
Posts: 77

Original Poster
Rep: Reputation: 15
Mounted with defaults:
Code:
/dev/sda2 on /mnt/tmp type vfat (rw)
Trying to delete the strange folders whole parent directory:
Code:
eris:/mnt/tmp# rm -r /mnt/tmp/psycho\ neu/
rm: cannot lstat `/mnt/tmp/psycho neu//R.E.M.': No such file or directory
Crazy...
 
Old 05-03-2005, 02:25 AM   #8
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
what about:

Code:
rm -fr /mnt/tmp/psycho\ neu/\/R.E.M
.... it is strange .. if nothing works, copy the file you want off it, then reformat ...
 
Old 05-03-2005, 11:44 AM   #9
mehlkelm
Member
 
Registered: Apr 2003
Location: Basel, Switzerland
Distribution: Ubuntu, OS X
Posts: 77

Original Poster
Rep: Reputation: 15
of course the rm -rf didn't work either.
I even plugged the disk (its an external harddrive) into windows, but it cant handle its own filesystem when it is needed..
 
  


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
is my filename cause my problem? veilig Programming 2 04-22-2006 10:32 AM
long filename problem slack66 Linux - Newbie 5 11-05-2005 03:30 AM
long filename problem slack66 Slackware 1 11-03-2005 10:19 PM
change uploaded files from filename.avi to filename.avi.html like www.rapidshare.de latheesan Linux - Newbie 3 06-16-2005 04:33 AM
i want to compile fat file system module and get fat.o working ramya272 Linux - Newbie 9 02-26-2004 11:41 AM

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

All times are GMT -5. The time now is 02:29 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
Open Source Consulting | Domain Registration