Trying to copy a directory mapped via pkg-fs this way:
cp -Rv /directory /anotherdirectory
results in message:
cp: Skipping file …
cp: ( File resides on different device )
Using pax for copying the same directory is OK:
pax -vrw /directory /anotherdirectory
Direct copying of the the same directory but from repository is OK
cp -Rv /pkg/repository/Retia/core… /anotherdirectory
Are there any limitations for cp for copying directories installed via
pkg-installer I have missed?
Jiri Kristek
RETIA, a.s.
Use the “-D” option in cp. This dates back to the days of QNX2
(yes, version two) when Dan wanted people to use cp for making
backups of their local drives. This will change some day
(probably sooner than later).
Daryl Low
Jiri Kristek <jkristek@retia.cz> wrote:
Trying to copy a directory mapped via pkg-fs this way:
cp -Rv /directory /anotherdirectory
results in message:
cp: Skipping file …
cp: ( File resides on different device )
Using pax for copying the same directory is OK:
pax -vrw /directory /anotherdirectory
Direct copying of the the same directory but from repository is OK
cp -Rv /pkg/repository/Retia/core… /anotherdirectory
Are there any limitations for cp for copying directories installed via
pkg-installer I have missed?
Jiri Kristek
RETIA, a.s.