cpio -l fails to revert to copy-mode
Pietro Cerutti
gahr at FreeBSD.org
Sun Jun 22 22:01:55 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Tim Kientzle wrote:
|> |> ~> cpio -dumpl /tmp/
|> |> test
|> |> cpio: Can't create '/tmp/test': Cross-device link: Cross-device link
|> |
|> | Try the following patch ...
|>
|> .... that doesn't seem to work.
|>
|> The file is created on the target directory, but it's empty...
|
| I just committed a fix that seems to fully address
| this.
Hi, the diff looks OK to me. I was hacking something similar, and trying
to understand how to get back to the previous state if set_hardlink /
clone failed. To clone the entry is a smart solution :)
| Let me know if you see anything else.
I'll test and let you know, but it seems fine to me.
Thanks!
|
| Tim
- --
Pietro Cerutti
gahr at FreeBSD.org
PGP Public Key:
http://gahr.ch/pgp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
iEYEAREKAAYFAkhey8QACgkQwMJqmJVx944UwACdG5d1bdwITCz8SjknCBaa7swI
3qYAoMlPlqrK67EccS7LbsdtcYmPQZHa
=gFvN
-----END PGP SIGNATURE-----
More information about the freebsd-current
mailing list