Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #109198

Re: APFS - not case sensitive?

From Lewis <g.kreme@gmail.com.dontsendmecopies>
Newsgroups comp.sys.mac.system
Subject Re: APFS - not case sensitive?
Date 2017-09-27 21:35 +0000
Organization Miskatonic U
Message-ID <slrnoso6ds.1j2e.g.kreme@snow.local> (permalink)
References <0001HW.1F7BCC18002198DD7000070682CF@news.eternal-september.org> <59cc05e4$0$39067$b1db1813$32d1605b@news.astraweb.com>

Show all headers | View raw


In message <59cc05e4$0$39067$b1db1813$32d1605b@news.astraweb.com> JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
> On 2017-09-27 08:07, Krzysztof Mitko wrote:

>> Is it because my disk was converted from case-insensitive HFS+, or is it a 
>> default APFS setting?

> Not sure. However, case insensituve APFS is not 100% same as case
> insensitive HFS+ because of different character sets being used and more
> extensive mapping of lower/upper case characters.

Both HFS+ and APFS use Unicode for their character sets, though APFS
uses a much newer version of Unicode and actaully writes the UTF-8
characters as the filename.

> So in HFS, it is possible to have 2 files exist because the upper case
> character in the second file is considered to be different, whereas in
> APFS, it will know that both are the same character (lower/upper case).

You are confused, as usual. APFS does not prevent 'similar' characters.
You can have a file named resume and one named résumé and another named
resumé all in the same directory. the normalization has to do with
matching all three of those file to "resume" because it knows that é and
e should be treated "the same".

$ ls -lsn
total 0
0 -rw-r--r--  1 501  20     0B Sep 27 15:28 resume
0 -rw-r--r--  1 501  20     0B Sep 27 15:28 resumé
0 -rw-r--r--  1 501  20     0B Sep 27 15:28 résumé

> This has impacts more outside of latin characters where HFS had very
> limited "knowledge" of lower/upper case mappings.

This is not true. The characters and scripts added since Unicode 3.2 are
largely historical (Egyptian Hieroglyphs, Sumaritan, etc) or sets with
no similarity to the Latin alphabet. And of course, lots of emoji.

-- 
NOBODY LIKES SUNBURN SLAPPERS Bart chalkboard Ep. 7F23

Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

APFS - not case sensitive? Krzysztof Mitko <invalid@kmitko.at.list.dot.pl> - 2017-09-27 14:07 +0200
  Re: APFS - not case sensitive? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-09-27 12:42 +0000
    Re: APFS - not case sensitive? Krzysztof Mitko <invalid@kmitko.at.list.dot.pl> - 2017-09-27 16:00 +0200
  Re: APFS - not case sensitive? JF Mezei <jfmezei.spamnot@vaxination.ca> - 2017-09-27 16:09 -0400
    Re: APFS - not case sensitive? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-09-27 21:35 +0000
      Re: APFS - not case sensitive? JF Mezei <jfmezei.spamnot@vaxination.ca> - 2017-09-27 18:04 -0400
        Re: APFS - not case sensitive? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-09-27 22:24 +0000
        Re: APFS - not case sensitive? "Andre G. Isaak" <agisaak@gm.invalid> - 2017-09-27 20:34 -0600
    Re: APFS - not case sensitive? "Andre G. Isaak" <agisaak@gm.invalid> - 2017-09-27 20:51 -0600
      Re: APFS - not case sensitive? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-09-28 15:52 +0000
        Re: APFS - not case sensitive? "Andre G. Isaak" <agisaak@gm.invalid> - 2017-09-28 12:21 -0600
          Re: APFS - not case sensitive? JF Mezei <jfmezei.spamnot@vaxination.ca> - 2017-09-28 18:32 -0400
            Re: APFS - not case sensitive? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-09-28 22:47 +0000

csiph-web