On Thu, 8 Jul 2010, Anonymous wrote:

Warren Block <wbl...@wonkity.com> writes:

The FreeBSD livefs ISO filesystem hides hard links, so they can't be
accurately copied.

Use `tar cf - | tar xf -' to copy them.

That was my first thought, too. Well, second thought, after 'rsync -aH'.

But the mounted ISO filesystem doesn't show hard links as hard links:

# ls -li /mnt/rescue
416796 -r-xr-xr-x  414 root  wheel  4367520 Jun  9 14:49 [
399564 -r-xr-xr-x  414 root  wheel  4367520 Jun  9 14:49 atacontrol
399690 -r-xr-xr-x  414 root  wheel  4367520 Jun  9 14:49 atmconfig
399816 -r-xr-xr-x  414 root  wheel  4367520 Jun  9 14:49 badsect
...

And rsync or tar never see a hard link to copy.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to