LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 11: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 11:22 AM.
 
Old 03-19-2007, 02:26 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
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, 05:43 PM   #3
AdaHacker
Member
 
Registered: Oct 2001
Location: Brockport, NY
Distribution: Kubuntu
Posts: 384

Rep: Reputation: 31
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, 07:22 PM   #4
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
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, 05: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


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


All times are GMT -5. The time now is 03:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration