Skip to content

Instantly share code, notes, and snippets.

@vookimedlo
Created January 11, 2025 19:33
Show Gist options
  • Save vookimedlo/0ec800d758573525a93b7c811279aa54 to your computer and use it in GitHub Desktop.
Save vookimedlo/0ec800d758573525a93b7c811279aa54 to your computer and use it in GitHub Desktop.
Bonjour record adisk adVF values

Taken from http://netatalk.sourceforge.net/wiki/index.php/Bonjour_record_adisk_adVF_values via the https://web.archive.org/web/20140421030824/http://netatalk.sourceforge.net:80/wiki/index.php/Bonjour_record_adisk_adVF_values

Bonjour record adisk adVF values

Starting with 10.9 TM requires the _adisk._tcp service name to exactly match the regular AFP _afpovertcp._tcp service name. Prior OSX versions didn't have that requirement.

List of adVF Bonjour records values:

  • 0x01 = Volume supports AFP
  • 0x02 = unknown, never reported to be set from any Apple device, frequently found in may howtos on the Web
  • 0x10 = Disable ability to supply a username in connection dialog, used by Airport Basestations
  • 0x20 = unkown, set by OS X Server and Time Capsule for TM disks
  • 0x80 = Volume is a TM destination (Reference: TMNIS)
  • 0x100 = Connecting to share prompts for username + password, no additional share with loginname visible in finder

Netatalk uses the same records as OS X Server:

sys=waMa=0,adVF=0x100,adVU=UUID (UUID is a 16 byte UUID as hexstring)
dkN=adVF=0xa1,... (N is an increasing number starting with 0)

Netatalk publishes adisk records only for AFP volumes configured as TM destinations, this it the same behaviour found with OS X Server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment