LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-19-2007, 10:04 AM   #1
amn
LQ Newbie
 
Registered: Mar 2007
Posts: 17

Rep: Reputation: 0
Question Duplicate filenames in kernel source bz2 archive


Hello all,

While browsing the the linux kernel source archive "linux-2.6.20.3.tar.bz2" with WinRAR on Windows, i have discovered several duplicate filenames in same folder(s):

/linux-2.6.20.3/include/linux/netfilter/xt_dccp.h

is present two times for the same name, not to mention a "xt_DSCP.h" (note the capitals)

There are many other duplicate filenames.

What does this all mean? Maybe i am not supposed to browse/extract the kernel sources with WinRAR (which DOES support bz2 and tar as far as I can see), or with a Windows box, on an NTFS volume?

I am confused. I will be compiling it on a Linux box, granted, but I wanted to browse the sources before i dive in to it..

UPD: Resolved. there were no two xt_dscp.h. My eyes went bad on me: it was a xt_dscp.h and xt_dccp.h. Concerning capital letter distinction, as in xt_dscp.h vs xt_DSCP.h which DO exist, i am guessing Linux filesystems are case sensitive with filenames, while NTFS / WinRAR is NOT.

Last edited by amn; 03-19-2007 at 10:22 AM.
 
Old 03-19-2007, 01:26 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Correct, filenames are case sensitive. And unless I'm mistaken, they are also case sensitive on Windows.
The filesystem in question should make no difference, however I would not personally put 100% faith in the extracted archive if extracted with Win-anything. Fine for having a browse around, but please do extract it with a Linux tool when you are ready to work on it
 
Old 03-19-2007, 04:43 PM   #3
AdaHacker
Member
 
Registered: Oct 2001
Location: Brockport, NY
Distribution: Kubuntu
Posts: 384

Rep: Reputation: 32
Quote:
Originally Posted by GrapefruiTgirl
And unless I'm mistaken, they are also case sensitive on Windows.
You are mistaken. Windows preserves case, but is not case-sensitive. It will store upper, lower, and mixed-case names as just as you entered them, but FOO.TXT, Foo.Txt, and foo.txt all refer to the same file.

It is possible to configure some (newer?) versions of Windows to use case-sensitive paths, but this has never been the default.
 
Old 03-19-2007, 06:22 PM   #4
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Is that right? WOW <scratches head> as long as I've used Windoze, I think I've never made that distinction ; learn something new every day!!
'Course, it's been like 3 months now since I've sat in front of a Windoze machine since switching to Linux, so maybe I've started forgetting already
Thanks for making that clear, AdaHacker.
Sasha
 
Old 03-20-2007, 04:49 AM   #5
amn
LQ Newbie
 
Registered: Mar 2007
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks guys.

Yes, indeed, it seems that either NTFS is case-aware, as opposed to case-sensitive (it is not), or that the extraction software - WinRAR, which i think is fairly compliant and stable piece of work, ignores case upon extracting files (which I dont think it does, since it merely follows the file catalog rules in the archive file).

And, yes, i AM going to use Linux to extract kernel sources when compiling :-)
 
  


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 make a multivolume bz2 archive like winrar does? kornerr Linux - General 2 03-21-2006 04:29 AM
How to list the files in my tar.bz2 archive ??? merlin23 Linux - Newbie 13 12-14-2004 08:50 AM
Extracting tar.bz2 archive through console grim_chel Linux - Newbie 3 06-28-2004 11:27 AM
How to? compile and install from source? (tar.*/gz2/bz2) entob Slackware 9 03-30-2004 06:23 PM
How can I open .bz2 files (the Kernel) fedivh Linux - General 11 12-22-2003 02:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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