Opened 8 years ago

Closed 8 years ago

#52463 closed defect (fixed)

afsctool doesn't work on Sierra

Reported by: szhorvat (Szabolcs Horvát) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: sierra Cc:
Port: afsctool

Description

afsctool, as currently included in MacPorts, no longer works on Sierra. Trying to apply compression to any folder results in

> afsctool -c .
No compressable files in folder

There seems to be a fix here:

https://github.com/jrk/afsctool/commits/master

However, I haven't tested it.

This issue is to request an update to a Sierra-compatible version of afsctool.

Change History (2)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Cc: raimue@… removed
Owner: changed from macports-tickets@… to raimue@…

comment:2 Changed 8 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

In 61c2f8de/macports-ports:

afsctool: support compression on macOS 10.12

The undocumented f_type returned by statfs(2) for HFS+ filesystems has
changed to 23 in macOS 10.12 Sierra. Without a source release of XNU on
opensource.apple.com, I have to guess this is the intended change.

Unconditionally applying the patch as the change will still work with
older releases where f_type is 17 and it is unlikely 23 would refer to
anything else.

Closes: #52463

Note: See TracTickets for help on using tickets.