LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-03-2009, 01:58 AM   #1
manorina
LQ Newbie
 
Registered: Jan 2008
Location: Eastern Australia
Distribution: Mint 6, 7, Ubuntu 9.04
Posts: 18

Rep: Reputation: 1
Getting short file names on mounted VFAT file system?


Is it possible to force Linux to read or list the short file names on a VFAT mounted filesystem? It seems that when mounting a VFAT media device, Linux will always preferentially list the long file name entry rather than the shortname (8.3 format) entry.

My particular problem is that I'm wanting to get the short file names of a MS-DOS filesystem (the hard drive on my ancient mp3 player, (Creative Zen Neeon) so that I can make m3u lists that my mp3 player will understand. It cannot interpret long file names in an m3u list.
 
Old 09-03-2009, 02:51 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
Nope. The default behaviour for a mounted VFAT filesystem is "if a long name for a file exists, it will always be preferred display" (from man mount). However, Linux provides the mdir command from the mtools package: it does not work as the old MS-DOS command dir, anyway. In fact to list the content of a mounted VFAT, you have to edit the file /etc/mtools.conf and change the path of the C: device with that actually used.
 
  


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
vFat Partition on dsl not showing captitals in file names linuxmandrake DamnSmallLinux 1 04-05-2008 03:58 AM
required package to mount vfat file system dissident_goodchild Linux - Software 3 11-21-2007 07:23 PM
what happens before the file system is mounted? ltordsen Linux - Hardware 6 10-07-2006 06:34 PM
How to mount my vfat file system? sathyguy Linux - Newbie 13 11-01-2005 04:08 AM
Second CD doesn't work - short file names auditude Slackware - Installation 4 02-09-2004 11:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:54 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