LinearTapeFileSystem / ltfs

Reference implementation of the LTFS format Spec for stand alone tape drive
BSD 3-Clause "New" or "Revised" License
256 stars 77 forks source link

Treat errno 95 as non-ltfs destination (Fix #236) #243

Closed softloft38p-michael closed 3 years ago

softloft38p-michael commented 3 years ago

Summary of changes

This pull request includes following changes or fixes.

Description

This changes the behavior of ltfs_ordered_copy when xattr is not supported on the destination filesystem. Instead of failing the copy, it disables the -p flag and continues on without attempting to preserve attributes. Previously, users would be unable to copy to a non-ltfs filesystem that does not support xattr. Now, users can still perform the copy, but without the additional metadata added by -p.

Fixes #236

Type of change

Checklist:

piste-jp commented 3 years ago

@softloft38p-michael ,

Thank you very much for your PR ! It looks great to me.