cpio and hard links
freebsd at edvax.de
Sun Jul 27 21:22:42 UTC 2014
On Sun, 27 Jul 2014 14:03:44 -0700, Ronald F. Guilmette wrote:
> For the the cpio program that is part of FreeBSD, is there any option
> which would have the effect of causing cpio to only archive a single
> instance of the data associated with each unique inode... as tar apparently
> does, by default?
>From reading "man cpio", I don't see that option mentioned.
The only related option is -L, but it is to be used for symbolic
links (and turns them into regular files). If you need this
functionality, you'll probably be better off with tar, or you
put tar archives into a cpio pipeline...
Keep in mind not all archiving, compressing and transmission
tools share the same amount of dedication toward the file system
features (links, modes, user:group, permissions, attributes
and so on). In case of cpio, I just think the requested feature
simply is not part of what cpio can do (unlike tar, as you've
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions