[an error occurred while processing this directive]
Frequently Asked Questions for FreeBSD 2.X
: Miscellaneous Questions
: How do I split up large binary files into smaller 240k files like the distribution does?
Previous: I would like to track changes to current and do not have net access. Is there any way besides downloading the whole tree?
Next: <XXX> I've had a couple of system panics and would like to be able browse the system dumps. The normal kernel is stripped and I don't want to run a bloated kernel. What can I do?
7.16. How do I split up large binary files into smaller 240k files like the distribution does?
Newer BSD based systems have a ``-b
'' option to split that
allows them to split files on arbitary byte bondaries.
Here is an example from /usr/src/Makefile
.
bin-tarball:
(cd ${DISTDIR}; \
tar cf - . \
gzip --no-name -9 -c | \
split -b 240640 - \
${RELEASEDIR}/tarballs/bindist/bin_tgz.)
Frequently Asked Questions for FreeBSD 2.X
: Miscellaneous Questions
: How do I split up large binary files into smaller 240k files like the distribution does?
Previous: I would like to track changes to current and do not have net access. Is there any way besides downloading the whole tree?
Next: <XXX> I've had a couple of system panics and would like to be able browse the system dumps. The normal kernel is stripped and I don't want to run a bloated kernel. What can I do?
[an error occurred while processing this directive]