Re: AFP functions 76 and 79
Re: AFP functions 76 and 79
- Subject: Re: AFP functions 76 and 79
- From: Quinn <email@hidden>
- Date: Mon, 21 Apr 2008 10:07:07 +0100
At 19:34 -0400 25/3/08, Alex deVries wrote:
What are AFP functions 76 and 79? I see both of them in my network
traces (76 on volume mount, 79 when I call 'fcntl(fd,F_FULLFSYNC)' ).
They appear to have been introduced in 10.5, but they don't appear
in the AFP 3.2 documentation.
There is no AFP 3.2. The fact that the documentation version number
got revved but the the protocol version number didn't is a bug in the
documentation.
With regards recently added AFP commands:
o AFP command 75 is FPAccess, which is the last command documented in
the public spec
o AFP command 76 is a private command used by Spotlight; this is
unlikely to ever be documented.
o AFP command 77 is not used.
o AFP command 78 is FPSyncDir. You get this by calling fcntl
F_FULLFSYNC on a directory. The command layout is:
byte CommandCode
byte Pad
short VolumeID
long DirectoryID
o AFP command 79 is for FPSyncFork. You get this, as you worked out,
by calling fcntl F_FULLFSYNC on a file. The command layout is:
byte CommandCode
byte Pad
short OForkRefNum
I've filed a bug to get 78 and 79 documented.
<rdar://problem/5876926> Document AFP commands added in 10.5
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden