In article <aiep6yntm20bw...@trav.math.uni-bonn.de>,
Edgar Fuß  <e...@math.uni-bonn.de> wrote:
>I tried to copy a tree with pax -wr -pe that included a 256-byte filename.
>I got an error
>       pax: cannot create <destination dir>/./<dirs>/<long filename>.mInz1u
>(File name too long)
>Why does pax try to create the destination with a random-looking suffix?

So that it can atomically overwrite the destination using rename(2).
While it is convenient to just tack a suffix to get a unique name, it
should be careful not to exceed the filesystem limits. File a PR.

christos


Reply via email to