Re: cpio -l fails to revert to copy-mode

From: Pietro Cerutti <gahr_at_FreeBSD.org>
Date: Mon, 23 Jun 2008 00:01:41 +0200
-----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-----
Received on Sun Jun 22 2008 - 20:01:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:32 UTC