cpio -dumpl damages the files?

Tim Kientzle kientzle at freebsd.org
Wed Jul 2 03:26:39 UTC 2008


Vladimir Grebenschikov wrote:
> On Tue, 2008-07-01 at 08:56 -0700, Tim Kientzle wrote:
> 
>>Try adding the following to the above condition:
>>
>>     && archive_entry_filetype(entry) != AE_IFLNK
> 
> I guess it will work. I just wander about other AE_IF* that may not pass
> link(2).

Perhaps cpio -dumpl should only try to hardlink regular files?

That would be an easy change.

Tim


More information about the freebsd-current mailing list