Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.system > #109287
| From | nospam <nospam@nospam.invalid> |
|---|---|
| Newsgroups | comp.sys.mac.system |
| Subject | Re: APFS on HDD |
| Date | 2017-10-01 21:10 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <011020172110504375%nospam@nospam.invalid> (permalink) |
| References | <oqr3at$6d4$1@dont-email.me> <1nd7pub.1p1k0xux560thN%nmassello@yahoo.com> <oqrhel$jkr$1@gioia.aioe.org> <59d15fb2$0$29825$b1db1813$e2fc663e@news.astraweb.com> <1nd9lgd.1cknrg6116x4c3N%dempson@actrix.gen.nz> |
In article <1nd9lgd.1cknrg6116x4c3N%dempson@actrix.gen.nz>, David Empson <dempson@actrix.gen.nz> wrote: > > One possible reason for APFS compatibility problems in an application > which only uses high level APIs is if the application is assuming > behaviour of certain calls based on how they behave for HFS+. > > A prime example is the readdir() C library function which is used to > iterate through a directory. > > On an HFS+ volume it returns directory entries sorted by name, because > that is the natural sort order of the HFS+ catalog tree. > > On a FAT32 volume it returns directory entries in the order the files > were created (or with insertions after a file was deleted and another > added which reused that entry). > > On an APFS volume it returns directory entries in a hash order, because > that is the order APFS uses for its directories. > > An application which has only been tested on HFS+ volumes may be making > a false assumption that readdir() returns a sorted list of filenames. It > does not specify the output order. > > With hashed output on APFS this could result in problems like an > application trying to process a directory thinking that a previously > located file is missing, because it doesn't appear before one which it > expects to have come later in the assumed sort order. > > This could be particularly nasty for things like directory sync > utilities because they could try to sync an apparent deletion, when the > file is actually still there, just later in the list. apple has long said never to rely on the order of file enumeration. it's also a bad idea for other file systems too.
Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
APFS on HDD me@home.spamsucks.ca (Király) - 2017-10-01 15:58 +0000
Re: APFS on HDD Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-10-01 12:33 -0400
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-01 12:39 -0400
Re: APFS on HDD Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-10-01 12:43 -0400
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-01 13:18 -0400
Re: APFS on HDD Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-10-01 14:11 -0400
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-01 14:18 -0400
Re: APFS on HDD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2017-10-01 14:45 -0400
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-01 14:55 -0400
Re: APFS on HDD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2017-10-01 15:08 -0400
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-01 15:10 -0400
Re: APFS on HDD Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-10-01 23:36 +0000
Re: APFS on HDD "J.Albert" <j.albert@nowhere.net> - 2017-10-01 22:11 -0400
Re: APFS on HDD Your Name <YourName@YourISP.com> - 2017-10-02 15:34 +1300
Re: APFS on HDD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2017-10-02 00:35 -0400
Re: APFS on HDD Your Name <YourName@YourISP.com> - 2017-10-02 18:39 +1300
Re: APFS on HDD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2017-10-02 04:00 -0400
Re: APFS on HDD Your Name <YourName@YourISP.com> - 2017-10-03 09:07 +1300
Re: APFS on HDD Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-10-03 02:51 +0000
Re: APFS on HDD Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-10-02 09:41 -0400
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-02 10:38 -0400
Re: APFS on HDD Alan Browne <alan.browne@freeluchvideotron.ca> - 2017-10-02 17:56 -0400
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-02 22:52 -0400
Re: APFS on HDD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2017-10-02 23:35 -0400
Re: APFS on HDD Savageduck <savageduck1@{REMOVESPAM}me.com> - 2017-10-02 22:18 -0700
Re: APFS on HDD android <here@there.was> - 2017-10-03 07:20 +0200
Re: APFS on HDD Alan Baker <alangbaker@telus.net> - 2017-10-03 12:01 -0700
Re: APFS on HDD Jolly Roger <jollyroger@pobox.com> - 2017-10-03 20:02 +0000
Re: APFS on HDD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2017-10-01 13:05 -0400
Re: APFS on HDD Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-10-01 23:38 +0000
Re: APFS on HDD Alan Browne <alan.browne@freeluchvideotron.ca> - 2017-10-01 12:38 -0400
Re: APFS on HDD nmassello@yahoo.com (Neill Massello) - 2017-10-01 10:59 -0600
Re: APFS on HDD Your Name <YourName@YourISP.com> - 2017-10-02 08:59 +1300
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-01 16:04 -0400
Re: APFS on HDD Krzysztof Mitko <invalid@kmitko.at.list.dot.pl> - 2017-10-01 22:53 +0200
Re: APFS on HDD Your Name <YourName@YourISP.com> - 2017-10-02 14:07 +1300
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-01 21:10 -0400
Re: APFS on HDD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2017-10-01 17:34 -0400
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-01 17:53 -0400
Re: APFS on HDD dempson@actrix.gen.nz (David Empson) - 2017-10-02 13:18 +1300
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-01 21:10 -0400
Re: APFS on HDD Jolly Roger <jollyroger@pobox.com> - 2017-10-02 03:07 +0000
Re: APFS on HDD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2017-10-02 00:30 -0400
Re: APFS on HDD Your Name <YourName@YourISP.com> - 2017-10-02 14:03 +1300
Re: APFS on HDD Jolly Roger <jollyroger@pobox.com> - 2017-10-02 03:11 +0000
Re: APFS on HDD nmassello@yahoo.com (Neill Massello) - 2017-10-02 04:56 -0600
Re: APFS on HDD Alan Baker <alangbaker@telus.net> - 2017-10-03 12:11 -0700
Re: APFS on HDD Jolly Roger <jollyroger@pobox.com> - 2017-10-03 20:03 +0000
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-03 16:48 -0400
Re: APFS on HDD Alan Baker <alangbaker@telus.net> - 2017-10-03 14:22 -0700
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-03 17:26 -0400
Re: APFS on HDD Alan Baker <alangbaker@telus.net> - 2017-10-03 14:33 -0700
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-03 17:47 -0400
Re: APFS on HDD Alan Baker <alangbaker@telus.net> - 2017-10-03 14:52 -0700
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-03 18:06 -0400
Re: APFS on HDD Alan Baker <alangbaker@telus.net> - 2017-10-03 15:18 -0700
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-03 18:33 -0400
Re: APFS on HDD Alan Baker <alangbaker@telus.net> - 2017-10-03 15:53 -0700
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-03 19:16 -0400
Re: APFS on HDD Alan Baker <alangbaker@telus.net> - 2017-10-03 16:25 -0700
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-03 21:06 -0400
Re: APFS on HDD Alan Baker <alangbaker@telus.net> - 2017-10-06 15:56 -0700
Re: APFS on HDD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2017-10-03 22:07 -0400
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-03 22:43 -0400
Re: APFS on HDD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2017-10-04 22:20 -0400
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-04 22:23 -0400
Re: APFS on HDD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2017-10-05 02:45 -0400
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-05 09:49 -0400
Re: APFS on HDD Savageduck <savageduck1@{REMOVESPAM}me.com> - 2017-10-05 14:08 -0700
Re: APFS on HDD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2017-10-05 18:23 -0400
Re: APFS on HDD Jolly Roger <jollyroger@pobox.com> - 2017-10-06 01:26 +0000
Re: APFS on HDD Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-10-05 18:40 +0000
Re: APFS on HDD Savageduck <savageduck1@{REMOVESPAM}me.com> - 2017-10-05 14:03 -0700
Re: APFS on HDD Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-10-01 23:39 +0000
Re: APFS on HDD Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-10-01 23:33 +0000
Re: APFS on HDD me@home.spamsucks.ca (Király) - 2017-10-03 03:01 +0000
Re: APFS on HDD Leonard Blaisdell <leoblaisdell@sbcglobal.net> - 2017-10-03 00:41 -0700
Re: APFS on HDD JF Mezei <jfmezei.spamnot@vaxination.ca> - 2017-10-03 14:00 -0400
Re: APFS on HDD nospam <nospam@nospam.invalid> - 2017-10-03 14:04 -0400
Re: APFS on HDD Jolly Roger <jollyroger@pobox.com> - 2017-10-03 20:00 +0000
Re: APFS on HDD Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-10-03 17:10 +0000
Re: APFS on HDD ggrandish@gmail.com - 2017-10-03 12:05 -0700
Re: APFS on HDD Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-10-03 23:18 +0000
csiph-web