Knowledge (XXG)

Case preservation

Source 📝

129: 32: 163:
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
201:
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
202:
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".
248:
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
205:
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.
160:(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". 177:
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
277:, 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. 164:
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.
480: 455: 1712: 1187: 1702: 873: 682: 49: 1324: 115: 990: 712: 672: 96: 261:, which means that the identifier will be treated as case-sensitive, and therefore must be referenced with that exact casing). 68: 1759: 53: 245:), unless the identifier is specified within double quotation marks (in which case the identifier becomes case-sensitive). 769: 75: 1707: 1123: 697: 1628: 1476: 1408: 702: 509: 182:
but will still recognize others. For example, a reference to the "uNiTeD states oF AMERICA" is understood to mean the
1513: 1503: 1493: 885: 475: 448: 234: 82: 42: 1578: 1431: 1334: 1279: 1154: 1010: 779: 183: 64: 1677: 1633: 1615: 1314: 1304: 759: 1523: 1488: 1426: 905: 725: 589: 519: 1659: 1568: 1518: 1461: 1207: 1177: 1128: 1080: 980: 953: 830: 720: 633: 524: 441: 368: 364: 338: 334: 1733: 1694: 1508: 1238: 1227: 1202: 1139: 843: 660: 650: 606: 571: 1738: 1684: 1623: 1212: 880: 821: 737: 414: 1728: 1590: 1553: 1466: 1192: 1182: 1167: 1108: 938: 601: 594: 581: 534: 390: 89: 1483: 1319: 1005: 975: 967: 836: 732: 707: 529: 350: 328: 222: 194: 1563: 1471: 1269: 919: 863: 552: 308: 226: 141: 20: 1672: 1585: 1093: 487: 238: 1573: 1558: 1498: 676: 547: 242: 179: 128: 1753: 1603: 1548: 1222: 1162: 1021: 1667: 1375: 963: 930: 868: 848: 286: 1365: 464: 157: 149: 31: 1643: 1441: 218: 1598: 1339: 1217: 948: 816: 811: 270: 137: 133: 214:
A system that is non-case-preserving is necessarily also case-insensitive.
1416: 1360: 1329: 1118: 943: 799: 692: 645: 539: 346: 320: 198: 1370: 1344: 1171: 804: 774: 665: 621: 230: 1380: 1289: 1284: 1088: 789: 1638: 1436: 1421: 1398: 1393: 1388: 1299: 1294: 1232: 1113: 1066: 1061: 1054: 1049: 1044: 1039: 995: 985: 890: 858: 752: 747: 742: 638: 566: 514: 274: 190: 16:
Text processing that preserves the original capitalization of text
1309: 1274: 1264: 1259: 1197: 1133: 1103: 1098: 1034: 1029: 1000: 909: 900: 853: 794: 764: 655: 626: 616: 611: 576: 558: 342: 324: 316: 312: 437: 433: 915: 895: 784: 686: 25: 341:
which is basically always used with long filename support,
289:
with various case-sensitivity and case-preservation are:
140:"A" are the two case variants of the first letter in the 291: 415:"Database identifiers, quoting and case sensitivity" 1721: 1693: 1658: 1614: 1532: 1454: 1407: 1353: 1248: 1153: 1079: 1019: 962: 929: 496: 391:"Identifier requirements | Snowflake Documentation" 56:. Unsourced material may be challenged and removed. 273:systems other than macOS, such as file systems in 229:names) in some relational databases (for example 186:, even though the capitalization is incorrect. 449: 265:Case-sensitive (results in case-preservation) 8: 168:Combinations of preservation and sensitivity 1536: 1252: 1016: 502: 456: 442: 434: 116:Learn how and when to remove this message 371:only when without long filename support 127: 382: 257:(unless it is created under the name 210:Non-case-preserving, case-insensitive 7: 54:adding citations to reliable sources 14: 173:Case-preserving, case-insensitive 30: 41:needs additional citations for 217:This applies, for example, to 1: 269:Most of the file systems in 189:Most of the file systems in 1629:Filesystem-level encryption 156:is the preservation of the 1776: 476:Comparison of file systems 18: 1539: 1255: 505: 471: 1579:Extended file attributes 1280:Compact Disc File System 327:(in Unix-like systems), 281:Examples of file systems 184:United States of America 19:Not to be confused with 1678:Installable File System 726:TiVo Media File System 590:Encrypting File System 197:, and all versions of 193:, current versions of 145: 1760:Computer file systems 721:Macintosh File System 131: 1734:GUID Partition Table 1081:Distributed parallel 829:Shared File System ( 358:Non-case-preserving 50:improve this article 1739:Apple Partition Map 1685:Virtual file system 1624:Access-control list 738:NetWare File System 65:"Case preservation" 1729:Master Boot Record 1554:Data deduplication 1193:Google File System 1109:Google File System 595:Extent File System 557:Byte File System ( 395:docs.snowflake.com 259:"CustomersRegion1" 253:will be stored as 235:Interbase/Firebird 146: 1747: 1746: 1654: 1653: 1544:Case preservation 1450: 1449: 1149: 1148: 1075: 1074: 837:Smart File System 375: 374: 300:Case-insensitive 285:Some examples of 195:Microsoft Windows 154:case preservation 126: 125: 118: 100: 1767: 1564:Execute in place 1537: 1270:Boot File System 1253: 1017: 553:Boot File System 503: 458: 451: 444: 435: 429: 428: 426: 425: 419:Lorenzo Alberton 411: 405: 404: 402: 401: 387: 305:Case-preserving 292: 260: 256: 255:CUSTOMERSREGION1 252: 251:CustomersRegion1 142:English alphabet 121: 114: 110: 107: 101: 99: 58: 34: 26: 21:Case sensitivity 1775: 1774: 1770: 1769: 1768: 1766: 1765: 1764: 1750: 1749: 1748: 1743: 1717: 1689: 1673:File system API 1650: 1610: 1586:File change log 1528: 1504:Record-oriented 1477:Self-certifying 1446: 1403: 1349: 1244: 1145: 1071: 1015: 958: 925: 498: 492: 488:Unix filesystem 467: 462: 432: 423: 421: 413: 412: 408: 399: 397: 389: 388: 384: 380: 283: 267: 258: 254: 250: 212: 175: 170: 122: 111: 105: 102: 59: 57: 47: 35: 24: 17: 12: 11: 5: 1773: 1771: 1763: 1762: 1752: 1751: 1745: 1744: 1742: 1741: 1736: 1731: 1725: 1723: 1719: 1718: 1716: 1715: 1713:Log-structured 1710: 1705: 1699: 1697: 1691: 1690: 1688: 1687: 1682: 1681: 1680: 1670: 1664: 1662: 1656: 1655: 1652: 1651: 1649: 1648: 1647: 1646: 1641: 1631: 1626: 1620: 1618: 1616:Access control 1612: 1611: 1609: 1608: 1607: 1606: 1601: 1593: 1588: 1583: 1582: 1581: 1574:File attribute 1571: 1566: 1561: 1559:Data scrubbing 1556: 1551: 1546: 1540: 1534: 1530: 1529: 1527: 1526: 1521: 1516: 1514:Steganographic 1511: 1506: 1501: 1496: 1494:Log-structured 1491: 1486: 1481: 1480: 1479: 1474: 1469: 1458: 1456: 1452: 1451: 1448: 1447: 1445: 1444: 1439: 1434: 1429: 1424: 1419: 1413: 1411: 1405: 1404: 1402: 1401: 1396: 1391: 1386: 1383: 1378: 1373: 1368: 1363: 1357: 1355: 1351: 1350: 1348: 1347: 1342: 1337: 1332: 1327: 1322: 1317: 1312: 1307: 1302: 1297: 1292: 1287: 1282: 1277: 1272: 1267: 1262: 1256: 1250: 1246: 1245: 1243: 1242: 1235: 1230: 1225: 1220: 1215: 1210: 1205: 1200: 1195: 1190: 1185: 1180: 1175: 1165: 1159: 1157: 1151: 1150: 1147: 1146: 1144: 1143: 1136: 1131: 1126: 1121: 1116: 1111: 1106: 1101: 1096: 1091: 1085: 1083: 1077: 1076: 1073: 1072: 1070: 1069: 1064: 1059: 1058: 1057: 1047: 1042: 1037: 1032: 1026: 1024: 1014: 1013: 1008: 1003: 998: 993: 988: 983: 978: 972: 970: 960: 959: 957: 956: 951: 946: 941: 935: 933: 927: 926: 924: 923: 913: 903: 898: 893: 888: 883: 878: 877: 876: 871: 861: 856: 851: 846: 841: 840: 839: 834: 824: 819: 817:Reliance Nitro 814: 809: 808: 807: 797: 792: 787: 782: 777: 772: 767: 762: 757: 756: 755: 745: 740: 735: 730: 729: 728: 723: 715: 710: 705: 700: 695: 690: 680: 677:Classic Mac OS 670: 669: 668: 658: 653: 648: 643: 642: 641: 631: 630: 629: 624: 619: 614: 604: 599: 598: 597: 592: 584: 579: 574: 569: 564: 563: 562: 555: 550: 548:Be File System 542: 537: 532: 527: 522: 517: 512: 506: 500: 494: 493: 491: 490: 485: 484: 483: 472: 469: 468: 463: 461: 460: 453: 446: 438: 431: 430: 406: 381: 379: 376: 373: 372: 362: 359: 355: 354: 332: 306: 302: 301: 298: 297:Case-sensitive 295: 282: 279: 266: 263: 211: 208: 180:capitalization 174: 171: 169: 166: 124: 123: 38: 36: 29: 15: 13: 10: 9: 6: 4: 3: 2: 1772: 1761: 1758: 1757: 1755: 1740: 1737: 1735: 1732: 1730: 1727: 1726: 1724: 1720: 1714: 1711: 1709: 1706: 1704: 1703:Cryptographic 1701: 1700: 1698: 1696: 1692: 1686: 1683: 1679: 1676: 1675: 1674: 1671: 1669: 1666: 1665: 1663: 1661: 1657: 1645: 1642: 1640: 1637: 1636: 1635: 1632: 1630: 1627: 1625: 1622: 1621: 1619: 1617: 1613: 1605: 1602: 1600: 1597: 1596: 1594: 1592: 1589: 1587: 1584: 1580: 1577: 1576: 1575: 1572: 1570: 1567: 1565: 1562: 1560: 1557: 1555: 1552: 1550: 1549:Copy-on-write 1547: 1545: 1542: 1541: 1538: 1535: 1531: 1525: 1522: 1520: 1517: 1515: 1512: 1510: 1507: 1505: 1502: 1500: 1497: 1495: 1492: 1490: 1487: 1485: 1482: 1478: 1475: 1473: 1470: 1468: 1465: 1464: 1463: 1460: 1459: 1457: 1453: 1443: 1440: 1438: 1435: 1433: 1430: 1428: 1425: 1423: 1420: 1418: 1415: 1414: 1412: 1410: 1406: 1400: 1397: 1395: 1392: 1390: 1387: 1384: 1382: 1379: 1377: 1374: 1372: 1369: 1367: 1364: 1362: 1359: 1358: 1356: 1352: 1346: 1343: 1341: 1338: 1336: 1333: 1331: 1328: 1326: 1323: 1321: 1318: 1316: 1313: 1311: 1308: 1306: 1303: 1301: 1298: 1296: 1293: 1291: 1288: 1286: 1283: 1281: 1278: 1276: 1273: 1271: 1268: 1266: 1263: 1261: 1258: 1257: 1254: 1251: 1247: 1241: 1240: 1236: 1234: 1231: 1229: 1226: 1224: 1221: 1219: 1216: 1214: 1211: 1209: 1206: 1204: 1201: 1199: 1196: 1194: 1191: 1189: 1186: 1184: 1181: 1179: 1176: 1173: 1169: 1166: 1164: 1161: 1160: 1158: 1156: 1152: 1142: 1141: 1137: 1135: 1132: 1130: 1127: 1125: 1122: 1120: 1117: 1115: 1112: 1110: 1107: 1105: 1102: 1100: 1097: 1095: 1092: 1090: 1087: 1086: 1084: 1082: 1078: 1068: 1065: 1063: 1060: 1056: 1053: 1052: 1051: 1048: 1046: 1043: 1041: 1038: 1036: 1033: 1031: 1028: 1027: 1025: 1023: 1022:wear leveling 1018: 1012: 1009: 1007: 1004: 1002: 999: 997: 994: 992: 989: 987: 984: 982: 979: 977: 974: 973: 971: 969: 965: 961: 955: 952: 950: 947: 945: 942: 940: 937: 936: 934: 932: 928: 921: 917: 914: 911: 907: 904: 902: 899: 897: 894: 892: 889: 887: 884: 882: 879: 875: 872: 870: 867: 866: 865: 862: 860: 857: 855: 852: 850: 847: 845: 842: 838: 835: 832: 828: 827: 825: 823: 820: 818: 815: 813: 810: 806: 803: 802: 801: 798: 796: 793: 791: 788: 786: 783: 781: 778: 776: 773: 771: 768: 766: 763: 761: 758: 754: 751: 750: 749: 746: 744: 741: 739: 736: 734: 731: 727: 724: 722: 719: 718: 716: 714: 711: 709: 706: 704: 701: 699: 696: 694: 691: 688: 684: 681: 678: 674: 671: 667: 664: 663: 662: 659: 657: 654: 652: 649: 647: 644: 640: 637: 636: 635: 632: 628: 625: 623: 620: 618: 615: 613: 610: 609: 608: 605: 603: 600: 596: 593: 591: 588: 587: 585: 583: 580: 578: 575: 573: 570: 568: 565: 560: 556: 554: 551: 549: 546: 545: 543: 541: 538: 536: 533: 531: 528: 526: 523: 521: 518: 516: 513: 511: 508: 507: 504: 501: 495: 489: 486: 482: 479: 478: 477: 474: 473: 470: 466: 459: 454: 452: 447: 445: 440: 439: 436: 420: 416: 410: 407: 396: 392: 386: 383: 377: 370: 366: 363: 360: 357: 356: 352: 348: 344: 340: 336: 333: 330: 326: 322: 318: 314: 310: 307: 304: 303: 299: 296: 294: 293: 290: 288: 280: 278: 276: 272: 264: 262: 246: 244: 240: 236: 232: 228: 224: 220: 215: 209: 207: 203: 200: 196: 192: 187: 185: 181: 172: 167: 165: 161: 159: 155: 151: 143: 139: 135: 130: 120: 117: 109: 106:February 2024 98: 95: 91: 88: 84: 81: 77: 74: 70: 67: –  66: 62: 61:Find sources: 55: 51: 45: 44: 39:This article 37: 33: 28: 27: 22: 1668:File manager 1543: 1237: 1138: 964:Flash memory 931:Optical disc 869:soft updates 849:Soup (Apple) 499:non-rotating 465:File systems 422:. Retrieved 418: 409: 398:. Retrieved 394: 385: 323:(optional), 287:file systems 284: 268: 247: 216: 213: 204: 188: 176: 162: 153: 150:file systems 147: 112: 103: 93: 86: 79: 72: 60: 48:Please help 43:verification 40: 1634:Permissions 1249:Specialized 481:distributed 361:Impossible 349:(default), 331:(optional) 219:Identifiers 158:letter case 1660:Interfaces 1644:Sticky bit 1524:Versioning 1489:Journaling 1432:Rubberhose 1228:SMB (CIFS) 1020:host-side 424:2024-02-08 400:2024-02-08 378:References 353:(default) 76:newspapers 1519:Synthetic 1462:Clustered 1409:Encrypted 1340:OverlayFS 949:ISO 13490 525:Amiga OFS 520:Amiga FFS 271:Unix-like 243:Snowflake 138:uppercase 134:lowercase 1754:Category 1604:Symbolic 1533:Features 1509:Semantic 1417:eCryptfs 1361:configfs 1330:SquashFS 1218:POHMELFS 1119:OrangeFS 944:ISO 9660 864:UFS/UFS2 812:Reliance 800:ReiserFS 646:Files-11 540:bcachefs 497:Disk and 347:HFS Plus 321:HFS Plus 199:Amiga OS 136:"a" and 1722:Layouts 1708:Default 1371:debugfs 1345:UnionFS 1239:more... 1172:OpenAFS 1140:more... 805:Reiser4 775:OpenZFS 666:HAMMER2 622:ext3cow 602:Episode 90:scholar 1595:Links 1569:Extent 1499:Object 1467:Global 1385:specfs 1381:procfs 1376:kernfs 1354:Pseudo 1335:UMSDOS 1290:Davfs2 1285:cramfs 1223:Hadoop 1203:Lustre 1089:BeeGFS 1055:NILFS2 790:QNX4FS 753:NILFS2 661:HAMMER 651:Fossil 239:Oracle 223:column 92:  85:  78:  71:  63:  1695:Lists 1639:Modes 1484:Flash 1455:Types 1437:SSHFS 1422:EncFS 1399:WinFS 1394:tmpfs 1389:sysfs 1366:devfs 1300:FTPFS 1295:EROFS 1233:SSHFS 1114:OCFS2 1067:UBIFS 1062:YAFFS 1050:NILFS 1045:LogFS 1040:JFFS2 996:EROFS 986:exFAT 891:Xiafs 874:WAPBL 859:UBIFS 770:OneFS 748:NILFS 743:Next3 733:MINIX 639:exFAT 567:Btrfs 535:AthFS 515:AdvFS 369:FAT16 365:FAT12 339:FAT32 275:Linux 227:table 191:macOS 97:JSTOR 83:books 1599:Hard 1591:Fork 1472:Grid 1325:MVFS 1320:NOVA 1315:LTFS 1310:Lnfs 1305:FUSE 1275:CDfs 1265:AXFS 1260:Aufs 1198:GPFS 1183:Coda 1134:Xsan 1124:PVFS 1104:GFS2 1099:CXFS 1094:Ceph 1035:JFFS 1030:CHFS 1011:NVFS 1001:F2FS 991:TFAT 976:APFS 966:and 910:z/OS 901:Xsan 886:WAFL 881:VxFS 854:Tux3 844:SNFS 826:SFS 795:ReFS 765:NTFS 717:MFS 703:HTFS 698:HPFS 693:HFS+ 656:GPFS 627:ext4 617:ext3 612:ext2 586:EFS 577:CXFS 572:CVFS 559:z/VM 544:BFS 530:APFS 510:ADFS 351:APFS 343:NTFS 335:VFAT 329:APFS 325:NTFS 317:ext4 313:ext3 241:and 225:and 132:The 69:news 1442:ZFS 1427:EFS 1213:NFS 1208:NCP 1188:DFS 1178:AFP 1168:AFS 1155:NAS 1129:QFS 1006:JFS 981:FAT 968:SSD 954:UDF 939:HSF 920:Sun 916:ZFS 906:zFS 896:XFS 822:RFS 785:QFS 780:PFS 760:NSS 713:LFS 708:JFS 687:MVS 683:HFS 673:HFS 634:FAT 607:ext 582:DFS 309:UFS 231:DB2 148:In 52:by 1756:: 1163:9P 831:VM 417:. 393:. 367:, 345:, 337:, 319:, 315:, 311:, 237:, 233:, 152:, 1174:) 1170:( 922:) 918:( 912:) 908:( 833:) 689:) 685:( 679:) 675:( 561:) 457:e 450:t 443:v 427:. 403:. 221:( 144:. 119:) 113:( 108:) 104:( 94:· 87:· 80:· 73:· 46:. 23:.

Index

Case sensitivity

verification
improve this article
adding citations to reliable sources
"Case preservation"
news
newspapers
books
scholar
JSTOR
Learn how and when to remove this message

lowercase
uppercase
English alphabet
file systems
letter case
capitalization
United States of America
macOS
Microsoft Windows
Amiga OS
Identifiers
column
table
DB2
Interbase/Firebird
Oracle
Snowflake

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.