FG

Unable to preserve hard links. Why?

Fresh3 days ago
Mar 15, 20262638 views
Confidence Score0%
0%

Problem

I'm trying to create a Makefile that would automate remastering Knoppix distribution. I'm trying to copy filesystem from the read-only compressed loop device to normal filesystem to be able to modify it and then compress it to replace the old one. That's what Knoppix remastering is all about. I hav…

Error Output

$ ls -li */bin/dnsdomainname
   10419 -rwxr-xr-x 4 root root 12992 2010-01-19 10:40 KNOPPIX_V6.2.1CD-2010-01-31-EN.cloop/bin/dnsdomainname
10641687 -…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Unable to preserve hard links. Why?

Low Risk

Use an archive format like cpio or tar to preserve hard links. See and . Also, only preserves hard links if you use or . [EDIT] All tools on Unix detect hard links by looking at the inode number (first number in output of ). If the number is differe…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment