LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-19-2005, 07:21 AM   #1
steveel
LQ Newbie
 
Registered: Nov 2005
Posts: 13

Rep: Reputation: 0
Tilde name shortening


I have installed several versions of slackware and keep finding that file names are truncated using the ~ (tilde?) character +1 ie all file names longer that (5?) letters are shortened to ***~1.** . Is there any way of forcing linux/Xwindows to use full filenames? Thanks.
 
Old 11-19-2005, 08:56 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Do you mount your Windows drives as FAT filesystems? You should mount them as type "vfat". The MSDOS display limits of 8.3 filenames will go away.

Eric
 
Old 11-19-2005, 09:38 AM   #3
steveel
LQ Newbie
 
Registered: Nov 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Setup does not ask what file type to use, it just says there are dos drives, and what name it should give. I am reluctant to go into fdisk on these files, in case of corrupting existing windows filesystems on a multiop setup.
Anyway, why should Linux care what dos systems are mounted when it is dealing with its own files in its own filesystem (ext3)? Is the conclusion I should not mount dos drives and then the problem goes away?
 
Old 11-19-2005, 11:24 AM   #4
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
The name shortening occurs under ext3 formatted drives? Are you certain?

You misunderstand, I think. Mounting the drive is not the same as formatting the drive.

The solution may be to go into the file /etc/fstab (file system table) and modify the lines relating to your Windows mount points, change the "auto", to "vfat" as below. That might help.

Code:
/dev/hdd   /mnt/windrive    vfat        default        0   0
Otherwise we will need some more information about your setup to help you sort out the problem!

- Piete.
 
Old 11-19-2005, 02:36 PM   #5
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Hrmm, well I have vfat set for my fat32 partition, and my floppy, and when I look through my fat32 mount the filenames are not truncated, but on my floppy it is...

A sample listing of my fat32 partition under linux
Code:
slackuser@slacker:~$ ls /fat32
06\ -\ LONELY\ ROLLING\ STAR.mp3*               kde/
3do/                                            kernel/
4883-MadSplash.zip*                             lbreakout2-2.5.2.tar.gz*
5715-TuxSplash.tar.gz*                          libdvdcss-1.2.8-i686-2jto.tgz*
6323-Chrono_Trigger_SplashScreen.zip*           linuxsettings/
6547-sub_zero.tar.gz*                           logs/
Allowed_Email_Adresses.txt*                     loveseeker.txt*
BitTorrent-4.0.4.tar.gz*                        lunarimages/
Codebook.zip*                                   macossounds/
Disclaimer.doc*                                 mainpageye.jpg*
Eric\ Crapton.m3u*                              math/
Fai\ Light.pls*                                 mos/
Japan-A-Radio.pls*                              mozilla-win32-1.7.8-installer.exe*
Jenny.txt*                                      mugu\ marauder/
Jump\ Drive/                                    novus\ ordo\ seclorum.jpg*
My\ Shared\ folder/                             ntlogo.gif*
NeroBurnRightsInstaller.exe*                    oglroids.tar*
NovusOrdoSeclorum.jpg*                          parted-1.6.11-i486-1.tgz*
Programming/                                    pdf/
RadioParadise.pls*                              peng-movie.4.gif*
Recycled/                                       penguin-icons-1.0.tgz*
Scph1001.zip*                                   pics/
SingASimpleSongFullVid.swf*                     powertweak-0.99.5.tar.gz*
Slackware\ Graphics\ and\ Link\ Banners.htm*    proftpd-1.2.10.tar.gz*
Slackware\ Graphics\ and\ Link\ Banners_files/  pspbrwse.jbf*
Slackware10.0\ Security/                        quicktimealt146.exe*
Solaris/                                        regina.txt*
Test_2_to_5_Permission_Slips_M1414.doc*         rootcolour*
Thunderbird\ Setup\ 1.0.2.exe*                  sierpinski.tar*
Trillian.Pro.v2.013.Cracked-ACME/               slackbook-2.0.pdf*
[savefile]050615201459_Sausage_-_By_Mike.mp3*   slackdvdinstructions.txt*
[savefile]050615203514_Peroum_Is_Poor_Guy.mp3*  slackpkg-1.2.2-noarch-4.tgz*
aimicons/                                       slackware-basics10.1.pdf*
allstars_0000.png*                              slackware.zip*
allstars_0001.png*                              sounds/
animaniacs/                                     spam_encoded_in_base64/
beetle11.wav*                                   sproing.tar*
blender/                                        streamtuner-0.99.99.tar.gz*
bookmarks.html*                                 streamtuninstall.log*
bootsect.lnx*                                   supertux-0.1.2-setup.exe*
bootsplash-3.1-i486-12pcx.tgz*                  tailmessage.txt*
bs_1.doc*                                       temp2/
buddy.txt*                                      tinydistros/
buttheadjeebus.png*                             tuxmad.bmp*
cd1.gif*                                        tuxracer-0.61-i486-3jw.tgz*
celestia-1.3.2.tar.gz*                          tuxracer-win32-0.61a/
celestia-win32-1.3.2.exe*                       tuxracer-win32-0.61a.zip*
cldpen01.exe*                                   tuxvacation.bmp*
corn.jpg*                                       tuxvacation2.bmp*
death.mp3*                                      untitled.txt*
djquesodiablo.jpg*                              wallpapers/
dmesg.txt*                                      weirdsong.txt*
email/                                          wgens211/
energybliss.jpg*                                winampxmmsskins.tar.gz*
eye.jpg*                                        windowsttf/
fall_course_syllabus.doc*                       xdesktopwaves-1.3.tar.gz*
fonts*                                          xmms-musepack-1.00.tar.gz*
fortunes/                                       xmmsplugins/
fortunes.tar.gz*                                xpm/
fractals/                                       yahoo.txt*
gaim-extprefs-0.5.tar.gz*                       zsnes/
galculator-1.2.5.tar.bz2*                       zsnes142src.tar.gz*
gens-rc2.tar.gz*                                zsnesw142/
gens-src-multiplatform-2005feb13.zip*           zsnesw142.zip*
icons_gif.zip*
And this is my floppy...
Code:
slackuser@slacker:~$ ls /mnt/floppy
3dolog~1/      grades/        method~1.txt*  picture.cs*    testqu~1.txt*
csharp~1.zip*  linux_~1.txt*  mp/            script~1.txt*
slackuser@slacker:~$
and this is what I have for fstab...
Code:
/dev/hda3        swap             swap        defaults                  0   0
/dev/hda2        /                reiserfs    defaults                  1   1
/dev/hda1        /ntfs            ntfs        ro,users,umask=000        0   0
/dev/hda4        /fat32           vfat        rw,users,umask=000        0   0
/dev/dvdrom      /mnt/dvdrom      iso9660     noauto,users,ro           0   0
/dev/sr0         /mnt/cdrw        iso9660     noauto,users,ro           0   0
/dev/sda1        /mnt/cpflash     vfat        noauto,users,rw           0   0
/dev/sdb1        /mnt/flashdrive  vfat        noauto,users,rw           0   0
/dev/fd0         /mnt/floppy      auto        noauto,users,rw           0   0
devpts           /dev/pts         devpts      gid=5,mode=620            0   0
proc             /proc            proc        defaults                  0   0
 
Old 11-21-2005, 01:44 AM   #6
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581

Rep: Reputation: 38
That looks like the floppy you have the files on was originally formatted with FAT.

Cheers,
Eddie
 
Old 11-21-2005, 03:55 AM   #7
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
see it changing

/dev/fd0 /mnt/floppy auto noauto,users,rw 0 0

to

/dev/fd0 /mnt/floppy vfat noauto,users,rw 0 0

changes anything
 
  


Reply



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
Shortening Network timeout on Boot... morrolan Linux - Software 3 09-14-2005 03:00 PM
editor saves duplicate file with tilde after it smaudlin Red Hat 2 12-29-2004 04:37 PM
Backup "tilde" files jrdioko Linux - Newbie 2 09-03-2004 01:41 PM
tilde in X nva Linux - General 2 06-30-2003 11:12 AM
Filenames with tilde rovoreed Programming 2 08-08-2001 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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