Date: Mon, 23 Jun 2008 00:01:41 +0200 From: Pietro Cerutti <gahr@FreeBSD.org> To: Tim Kientzle <kientzle@freebsd.org> Cc: Doug Barton <dougb@freebsd.org>, FreeBSD Current <current@freebsd.org> Subject: Re: cpio -l fails to revert to copy-mode Message-ID: <485ECBC5.3090002@FreeBSD.org> In-Reply-To: <485D42C2.2000000@freebsd.org> References: <485A9E7E.6050703@FreeBSD.org> <485B3F08.4010207@freebsd.org> <485B7300.3070405@FreeBSD.org> <485D42C2.2000000@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhey8QACgkQwMJqmJVx944UwACdG5d1bdwITCz8SjknCBaa7swI 3qYAoMlPlqrK67EccS7LbsdtcYmPQZHa =gFvN -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?485ECBC5.3090002>