[geeks] Odd NAS behavior with file restores...

Liam Proven lproven at gmail.com
Mon Nov 1 15:14:30 CDT 2021


On Sat, 30 Oct 2021 at 18:50, Nathan Raymond <nraymond at gmail.com> wrote:
>  Does anyone have any ideas what those
> 659 bytes of metadata might be? I know that Synology uses the Netatalk open
> source implementation of the AFP protocol. Not sure offhand what they use
> for SMB.

Netatalk is AFAIK the _only_ FOSS implementation of Appletalk.
Similarly, Synology almost certainly uses Samba for SMB.

Over afp: (Appletalk File Protocol) drive shares, macOS (i.e. Mac OS
X) and native Mac apps use file forks to store additional metadata.
This should be invisible from any other OS.

Over smb: (Server Message Block, i.e. MS LanManager, later branded
"CIFS") shares, it uses hidden files. The .DS_Store file is often seen
if a Mac has mounted some media:
https://en.wikipedia.org/wiki/.DS_Store

Other files' metadata is stored in what are called "AppleDouble" files:
https://en.wikipedia.org/wiki/AppleSingle_and_AppleDouble_formats

e.g. a macOS file called `ReadMe.RTF` would have a companion metadata
file called `._ReadMe.RTF`.

It should not, AFAIK, under any circumstances be added to the file
itself unless you're accessing the media over AFP.

-- 
Liam Proven ~ Profile: https://about.me/liamproven
Email: lproven at cix.co.uk ~ gMail/gTalk/FB: lproven at gmail.com
Twitter/LinkedIn: lproven ~ Skype: liamproven
UK: (+44) 7939-087884 ~ Czech [+ WhatsApp/Telegram/Signal]: (+420) 702-829-053


More information about the geeks mailing list