Case preservation

The lowercase "a" and uppercase "A" are the two case variants of the first letter in the English alphabet.

In file systems, case preservation is the preservation of the letter case (uppercase or lowercase) of letters in file names. If an attempt is made to create a file named "ThisIsAFile" on a file system that preserves letter case, the file's name will be "ThisIsAFile", rather than, for example, "thisisafile" or "THISISAFILE".

In contrast, a file system that does not preserve letter case will typically store letters in file names either as all lowercase or as all uppercase, and the letter case information will thus be lost. If an attempt is made to create a file named "ThisIsAFile" on a file system that does not preserve letter case, the file's name will be "thisisafile" if letters are stored as all lowercase or "THISISAFILE" if letters are stored as all uppercase.

Combinations of preservation and sensitivity

Case-preserving, case-insensitive

It is possible and common for a system to be case-insensitive, yet case-preserving. This combination is often considered most natural for people to understand, because most people prefer using the correct capitalization but will still recognize others. For example, a reference to the "uNiTeD states oF AMERICA" is understood to mean the United States of America, even though the capitalization is incorrect.

Most of the file systems in macOS, current versions of Microsoft Windows, and all versions of Amiga OS are case-preserving and case-insensitive. Since they are case-insensitive, any combination of lowercase or uppercase letters can be used when referring a file, so that a file named "ThisIsAFile" can be referred to as "thisisafile", "THISISAFILE", "thisISaFILE", and so on. However, since they are case-preserving, when a file is created, the file name will be stored in the combination of lower and upper case letters specified, so that if a file is created as "ThisIsAFile", the name of the file will be "ThisIsAFile" rather than, for example, "thisisafile" or "THISISAFILE".

This means that one cannot save two files with the same name in the same place if the only difference in their file names is capitalization (lowercase or uppercase letters). For example, one cannot have files named readme.txt and Readme.tXT in the same folder.

Non-case-preserving, case-insensitive

A system that is non-case-preserving is necessarily also case-insensitive.

This applies, for example, to Identifiers (column and table names) in some relational databases (for example DB2, Interbase/Firebird, Oracle and Snowflake[1]), unless the identifier is specified within double quotation marks (in which case the identifier becomes case-sensitive).[2]

In a non-case-preserving system, arbitrary capitalization may be used by the system for storage and display, such as for example all letters being store in lowercase (or alternatively all in uppercase). For example, in Oracle Database, a table created with the name CustomersRegion1 will be stored as CUSTOMERSREGION1 (unless it is created under the name "CustomersRegion1", which means that the identifier will be treated as case-sensitive, and therefore must be referenced with that exact casing).

Case-sensitive (results in case-preservation)

Most of the file systems in Unix-like systems other than macOS, such as file systems in Linux, are case-sensitive. This means that there can be two files in the same folder whose only difference is capitalization. For example, readme.txt and Readme.tXT can be found in the same folder.

Examples of file systems

Some examples of file systems with various case-sensitivity and case-preservation are:

Case-sensitive Case-insensitive
Case-preserving UFS, ext3, ext4, HFS Plus (optional), NTFS (in Unix-like systems), APFS (optional) VFAT, FAT32 which is basically always used with long filename support, NTFS, HFS Plus (default), APFS (default)
Non-case-preserving Impossible FAT12, FAT16 only when without long filename support

References

  1. ^ "Identifier requirements | Snowflake Documentation". docs.snowflake.com. Retrieved 2024-02-08.
  2. ^ "Database identifiers, quoting and case sensitivity". Lorenzo Alberton. Retrieved 2024-02-08.

Read other articles:

Atami 熱海市Kota BenderaLambangLokasi Atami di Prefektur ShizuokaNegara JepangWilayahChūbuPrefektur ShizuokaPemerintahan • Wali kotaSakae SaitōLuas • Total61,78 km2 (23,85 sq mi)Populasi (Oktober 1, 2020) • Total34.233 • Kepadatan554,1/km2 (1,435/sq mi)Zona waktuUTC+09:00Kode pos413-8550Simbol  • PohonAtamizakura • BungaPrunus mume • BurungLarus canusNomor tele...

 

G. G. Anderson (2005) G. G. Anderson (* 4. Dezember 1949 in Eschwege; eigentlich Gerd Grabowski) ist ein deutscher Komponist, Musikproduzent und Schlagersänger. Inhaltsverzeichnis 1 Leben 2 Werk 3 Auszeichnungen 4 Privates 5 Diskografie 6 Weblinks Leben Gerd Grabowski absolvierte nach seinem Abschluss der Realschule eine Ausbildung zum Elektriker. Nebenbei arbeitete er von Anfang an als Sänger und Schlagzeuger. Seine musikalische Laufbahn begann 1964 als Bandmitglied bei „The Rackets“, ...

 

Cabinet of Kurt Georg KiesingerCabinet Kiesinger7th Cabinet of the Federal Republic of Germany1 December 1966 – 20 October 1969(until 22 October 1969 as caretaker government)Date formed1 December 1966Date dissolved22 October 1969(2 years, 10 months and 3 weeks)People and organisationsPresidentHeinrich Lübke (until 30 June 1969)Gustav Heinemann (from 1 July 1969)ChancellorKurt Georg KiesingerVice-ChancellorWilly BrandtMember partyChristian Democratic UnionSocial Democratic Pa...

The Decantae were a people of ancient Britain, known only from a single mention of them by the geographer Ptolemy c. 150. From his general description and the approximate locations of their neighbors, their territory was along the western coast of the Moray Firth, in the area of the Cromarty Firth. Ptolemy does not provide them with a town or principal place. The name has a base either in the Celtic root *deko-, meaning good or the best.[1] or *dekan- meaning ten. There were similarly...

 

British greyhound racing venue Monmore Green StadiumLocationWolverhampton, EnglandCoordinates52°34′37.71″N 2°6′6.73″W / 52.5771417°N 2.1018694°W / 52.5771417; -2.1018694Operated byEntain (Ladbrokes Coral)Date opened1928Race typeGreyhound racingOfficial website Monmore Green Stadium is a greyhound racing and former motorcycle speedway stadium located in Wolverhampton.[1] The stadium has private suites, a restaurant and a number of bars. The venue is ...

 

An dro auf dem Festival Cornouaille in Quimper. Der An Dro (bretonisch: Die Drehung) ist ein bretonischer Reihen- oder Kreistanz im 2/4 Takt aus der Region von Vannes. Es ist ein üblicher Branle Double mit Armbewegungen als Besonderheit. Seine Dynamik geht von der ein- und ausdrehenden Armbewegung der untergefassten Tänzer aus. Von den Schritten her ist der An Dro mit Pilé-menu und Tour verwandt. Wurde der An Dro zu Anfang des 20. Jahrhunderts noch im geschlossenen Kreis getanzt, ist seine...

Swedish physician Hedda AnderssonBorn24 April 1861Malmö, SwedenDied7 September 1950Lund, SwedenAlma materLund UniversityOccupationPhysicianKnown forSecond university-educated woman physician in Sweden Hedda Albertina Andersson (24 April 1861, in Malmö – 7 September 1950, in Lund), was a Swedish physician. She was the second female student at Lund University and the second university-educated woman physician in Sweden.[1] Life Hedda Andersson was the daughter of a male la...

 

Vườn quốc gia VillarricaIUCN loại II (Vườn quốc gia)Núi lửa Villarrica nhìn từ phía đông namVị tríAraucanía và Los Ríos, ChileThành phố gần nhấtPucónTọa độ39°25′N 71°56′T / 39,417°N 71,933°T / -39.417; -71.933Diện tích630 km2 (243 dặm vuông Anh)[1]Thành lập1940[1]Lượng khách115.761[2] (năm 2012)Cơ quan quản lýTổng công ...

 

12th-century Anglo-Norman nobleman and earl Centres of the feudal barony ofMiles of Gloucester Miles FitzWalter of Gloucester, 1st Earl of Hereford (died 24 December 1143) (alias Miles of Gloucester[1]) was a great magnate based in the west of England. He was hereditary Constable of England[a] and Sheriff of Gloucestershire. He inherited vast landholdings in Wales from his wife Sibyl de Neufmarché (whose father had conquered the independent kingdom of Brycheiniog (Brecknocksh...

American Hockey League team in Des Moines, Iowa Iowa WildCityDes Moines, IowaLeagueAmerican Hockey LeagueConferenceWesternDivisionCentralFounded1994 (In the IHL)Operated2013–presentHome arenaWells Fargo ArenaColorsForest green, Iron Range red, harvest gold, Minnesota wheat, white         Owner(s)Minnesota Sports and EntertainmentGeneral managerMichael Murray[1]Head coachBrett McLeanCaptainDakota MermisMediaBally Sports NorthKXNOAHL.TV (Internet)Affiliat...

 

The Green Mask is the name of two comic book superheroes, both published by Fox Feature Syndicate. Both are in the public domain with some of the original stories having been reprinted by AC Comics. Michael Shelby Comics character The Green MaskThe first Green MaskPublication informationPublisherFox Feature SyndicateFirst appearanceMystery Men Comics #1 (August 1939)Created byWalter Frehm (art)In-story informationAlter egoMichael Shelby (originally Selby)PartnershipsDominoAbilitiesSuperhuman ...

 

For other films, see Dost 1989 Indian filmDostDirected byK. Murali Mohana RaoWritten byKader Khan (dialogue)Screenplay byM. D. SunderProduced byA. SuryanarayanaBhanodaya ProductionsStarringMithun ChakrabortyAmalaCinematographyV. S. R. SwamyEdited byJ. Narasimha RaoMusic byR. D. BurmanRelease date4 August 1989 (1989-08-04)Running time160 minutes[1]CountryIndiaLanguageHindi Dost (transl. Friend) is a 1989 Hindi film directed by K. Murali Mohana Rao and produced by A...

Staf Komunikasi dan Elektronika Angkatan UdaraLambang TNI Angkatan UdaraDibentuk13 September 2021Negara IndonesiaTipe unitUnsur Pembantu PimpinanBagian dari TNI Angkatan UdaraJulukanSkomlekauBaret BIRU Situs webtni-au.mil.idTokohAskomlekMarsekal Muda TNI Hari MursantoWaaskomlekMarsekal Pertama TNI Ir. Teguh Darmawan, M.T. Staf Komunikasi dan Elektronika Angkatan Udara disingkat Skomlekau adalah unsur pembantu pimpinan TNI Angkatan Udara yang bertugas membantu Kepala Staf Angkat...

 

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Kiltartan – news · newspapers · books · scholar · JSTOR (June 2020) (Learn how and when to remove this template message) Kiltartan Castle Kiltartan is a barony and civil parish in County Galway, Ireland. The southern portion of this barony was formerly known as...

 

Road running race in the United Kingdom Bath Half MarathonDateMarchLocationBath, United KingdomEvent typeRoadDistanceHalf marathonEstablished1981; 42 years ago (1981)Course recordsMen's: 1:01:45 (2016) Robert Wambua Mbithi Women's: 1:09.27 (2007) Liz YellingOfficial sitebathhalf.co.uk Participants11,693 (in 2015)[1] The Bath Half Marathon (also known as the BATHALF) is an annual road running half marathon held in Bath, England, normally on the second or third Sunday ...

American rodeo sports cowboy and oil field worker Cowboy Morgan Evans14-year-old Charlie Morgan EvansBorn19 February 1903Archer County, Texas, U.S.DiedApril 15, 1969 (age 66)Bonham, TexasEducationHuff Community Elementary, and Wichita Falls, TexasOccupation(s)Rancher, Roughneck, Oilman, Rodeo Bull rider and 1928 World Champion BulldoggerKnown for1928 world Bulldogging champ, Bull rider, Rancher, Oil production Roughneck and Drilling Foreman, Christian Baptist 33°SpouseAllie Odessa Jarvi...

 

FestinaThe Festina–Lotus at the 1993 Paris–NiceTeam informationUCI codeFESRegisteredSpain (1989–1992)Andorra (1993–1994, 1996)France (1995, 1997–2001)Founded1989 (1989)Disbanded2001Discipline(s)RoadKey personnelGeneral managerMiguel Moreno Cachinero (1989–1993) Bruno Roussel (1994–1998)Juan Fernández Martín (1999–2001)Team name history19891990–19921993–19992000–2001Lotus–ZahorLotus–FestinaFestina–LotusFestina Festina (cycling team) jerseyJersey Festina was a...

 

Australian politician Peter AndrenAMMember of the Australian Parliamentfor CalareIn office2 March 1996 – 17 October 2007Preceded byDavid SimmonsSucceeded byJohn Cobb Personal detailsBorn(1946-08-28)28 August 1946Gulargambone, New South WalesDied3 November 2007(2007-11-03) (aged 61)NationalityAustralianPolitical partyIndependentSpouse Jenny Price ​(divorced)​ChildrenGreg, JoshAlma materMacquarie UniversityOccupationTeacher, journalist Peter James Andren ...

Pennsylvania's 67 counties This is a list of school districts in the Commonwealth of Pennsylvania, a U.S. state. The article for each Pennsylvania county with more than one school district includes a map showing all public school districts in the county. There are approximately 500 public school districts in Pennsylvania as of 2023. Intermediate Unit 1 Fayette County Albert Gallatin Area School District (Third Class) Brownsville Area School District (Third Class; also extends into Washington...

 

Ice hockey team in Třinec, Czech RepublicHC Oceláři TřinecCityTřinec, Czech RepublicLeagueCzech ExtraligaFounded1929 (1929)Home arenaWerk Arena (capacity: 5,400)ColoursRed, white   PresidentJán ModerHead coach Zdeněk MotákCaptain Petr VránaWebsitehcocelari.cz HC Oceláři Třinec (Třinec Steelers) is a Czech ice hockey team from Třinec who play in the Czech Extraliga, the top tier of Czech ice hockey. Their home arena is the Werk Arena. The team's main sponsors are t...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!