-   Slackware (
-   -   Tilde name shortening (

steveel 11-19-2005 08:21 AM

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.

Alien Bob 11-19-2005 09:56 AM

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.


steveel 11-19-2005 10:38 AM

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?

piete 11-19-2005 12:24 PM

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.


/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.

Jeebizz 11-19-2005 03:36 PM

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

slackuser@slacker:~$ ls /fat32
06\ -\ LONELY\ ROLLING\ STAR.mp3*              kde/
3do/                                            kernel/*                            lbreakout2-2.5.2.tar.gz*
5715-TuxSplash.tar.gz*                          libdvdcss-1.2.8-i686-2jto.tgz**          linuxsettings/
6547-sub_zero.tar.gz*                          logs/
Allowed_Email_Adresses.txt*                    loveseeker.txt*
BitTorrent-4.0.4.tar.gz*                        lunarimages/*                                  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**                                  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*                    *
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*            *
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/***

And this is my floppy...

slackuser@slacker:~$ ls /mnt/floppy
3dolog~1/      grades/        method~1.txt*  picture.cs*    testqu~1.txt**  linux_~1.txt*  mp/            script~1.txt*

and this is what I have for fstab...

/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


MQMan 11-21-2005 02:44 AM

That looks like the floppy you have the files on was originally formatted with FAT.


dive 11-21-2005 04:55 AM

see it changing

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


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

changes anything

All times are GMT -5. The time now is 07:58 PM.