tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pax -rw choking on 256-byte filename
In article <aIEP6Yntm20BWsPs%trav.math.uni-bonn.de@localhost>,
Edgar Fuß <ef%math.uni-bonn.de@localhost> 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
Home |
Main Index |
Thread Index |
Old Index