git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Cygwin: problem with renaming and case

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Mar 22, 2008, 20:18 UTC
Message-ID
<alpine.LFD.1.00.0803221312010.3020@woody.linux-foundation.org>
In-Reply-To
<47E564F5.6010005@iksz.hu>
On Sat, 22 Mar 2008, Nagy Bal?zs wrote:
Show 5 quoted lines
> 
> qmail-1.03 is one of the rare species which has two files which differ only in
> their case, namely INSTALL and install.  The first one contains the
> documentation, the latter one is compiled from source.  Apart from that I
> don't know any other affected projects.

The kernel has lots of them. Well, not "lots" (considering that it has 23000+ filenames), but something like 20+ names that exists in two forms with just different case.

Do
	git ls-files | tr '[A-Z]' '[a-z]' | sort | uniq -d
and you'll get
	include/linux/netfilter_ipv4/ipt_connmark.h
	include/linux/netfilter_ipv4/ipt_dscp.h
	include/linux/netfilter_ipv4/ipt_ecn.h
	include/linux/netfilter_ipv4/ipt_mark.h
	include/linux/netfilter_ipv4/ipt_tcpmss.h
	include/linux/netfilter_ipv4/ipt_tos.h
	include/linux/netfilter_ipv4/ipt_ttl.h
	include/linux/netfilter_ipv6/ip6t_hl.h
	include/linux/netfilter_ipv6/ip6t_mark.h
	include/linux/netfilter/xt_connmark.h
	include/linux/netfilter/xt_dscp.h
	include/linux/netfilter/xt_mark.h
	include/linux/netfilter/xt_rateest.h
	include/linux/netfilter/xt_tcpmss.h
	net/ipv4/netfilter/ipt_ecn.c
	net/ipv4/netfilter/ipt_ttl.c
	net/ipv6/netfilter/ip6t_hl.c
	net/netfilter/xt_connmark.c
	net/netfilter/xt_dscp.c
	net/netfilter/xt_mark.c
	net/netfilter/xt_rateest.c
	net/netfilter/xt_tcpmss.c

where you basically have the netfilter people using lower-case version for netfilter matching rules and the uppercase vesion for rewriting rules. Or something.

Admittedly the netfilter people _are_ strange, and we need to make sure that they take all their medication regularly or they do stupid things, but it does happen. The kernel people obviously expect people to use sane filesystems for kernel development..

			Linus
Previous: Nagy Balázs
Message 11 of 11 in “Cygwin: problem with renaming and case”
  1. FrankMar 21, 2008
  2. Linus TorvaldsMar 21, 2008
  3. Avery PennarunMar 21, 2008
  4. Linus TorvaldsMar 21, 2008
  5. Junio C HamanoMar 22, 2008
  6. Steffen ProhaskaMar 22, 2008
  7. Dmitry PotapovMar 21, 2008
  8. streamlake@tiscali.itMar 21, 2008
  9. Brian DessentMar 21, 2008
  10. Nagy BalázsMar 22, 2008
  11. Linus TorvaldsMar 22, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.