LinuxQuestions.org
Help answer threads with 0 replies.
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 05-06-2004, 06:48 PM   #1
kofrad
LQ Newbie
 
Registered: May 2004
Location: South Florida
Distribution: Gentoo 1.4
Posts: 18

Rep: Reputation: 0
Files Rename on boot


I am running ZipSlack 9.1 on /dev/hda1 which is my C: drive which contains windows xp. I was working on connecting to the internet with linux and couldnt figure it out, so I decided to go into windows and download some packages for my distro and them boot into linux and install the packages. I downloaded many packages that I needed and upon booting into linux, I found all the files were renamed to something weird like BZIP2-#1.$00 and the original filename was bzip2-1.0.2-i386-4.tgz with some of the files, I could rename them in windows and they would stay as long as they were short filenames. This is really bothering me, is there any way I could fix this? I heard something about putting ZipSlack to it's own partition because of something with the other files from windows. Could someone please help me out?
 
Old 05-07-2004, 02:40 AM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
As I recall, DOS/windows has an odd way of allowing files to have long filenames.

All files are allowed to be eight characters followed by a period and three more letters. No longer. If you open a DOS prompt and look at your long-named files with the dir command, you'll see the same shortened names.

The long names are kind of 'virtual names' that windows shows you when you use the appropriate software to view the file names.

So the problem is, Windows is renaming your files to fit it's own way of doing things. Try just saving the downloads with names of no more than eight characters
 
Old 05-07-2004, 04:50 AM   #3
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
The strange file names that you're seeing aren't due to the NTFS (windows) filesystem, but rather to the UMSDOS filesystem on which Zipslack resides. So you don't want to copy files into your C:\linux directory while in windows, because the UMSDOS filsystem has to 'synchronize' on boot up, which leads to odd names.

I haven't worked with Zipslack for a few years, but there used to be a /DOS directory that was configured to give access to your host filesystem. Check to see if there is such an animal, then navigate through the directory structure to find your packages with the right names.

As I say, it's been a while, and this may no longer exist with NTFS formatted disks because there's no safe way for Linux to write to NTFS (yet). However, if the kernel is properly compiled, Linux has no problem reading from NTFS.

Enjoy!
--- Cerbere
 
  


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
how to rename many similar files? NightStranger Linux - Newbie 7 10-04-2006 02:43 AM
rename files allelopath Linux - General 5 07-05-2005 03:00 AM
quick rename many files cadj Programming 7 12-29-2004 04:14 AM
rename all files in my directory BabaKali Linux - Newbie 2 11-10-2004 04:27 PM
Can not rename files. Maximus2000 Linux - General 0 04-22-2004 01:36 PM

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

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