We've come across "user.XrdCks.adler32" extended attributes on some files. Turns out that these get created when running xrdadler32 against a file, and that subsequent xrdadler32 runs will just return the stored checksum (instead of recomputing the checksum).

This behaviour (and in particular the fact that this command persistently changes file state, at least for local files) isn't really obvious from the documentation:

$ man xrdadler32
NAME
       xrdadler32 - compute and display an adler32 checksum

SYNOPSIS
       xrdadler32 [file]


DESCRIPTION
       The xrdadler32 utiliity computes and displays an adler32 checksum value for a file.  Usage synopsis can be displayed by typing "xrdadler32 -h".  Currently, only the usage synopsis is available as documentation.
[..]

$ xrdadler32 -h
Usage: xrdadler32 file. Calculating adler32 checksum of a given file.
A file can be local file, stdin (if omitted), or root URL (including via XROOTD_VMP)

Would it perhaps be possible to document the caching behaviour?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"xrdadler32: document use of stored checksum in file attributes (#966)"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/966"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/966", "url": "https://github.com/xrootd/xrootd/issues/966", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1