I want to download and package the source code of FreeBSD kernel in windows. But its official website does not provide it, and it does not seem to be available on the Internet.
Next I will provide a simple method to download all its source code in Windows:
First, go to the official FTP directory below:
For example: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/7.0-RELEASE/src (other versions can be found in a similar directory)
The kernel source code is in this directory, but you will find that there are only a lot? ",". B? "The end of the file, but there is no packaging file.
No matter what, download all the files, and then:
Open the windows command line, CD to your download directory, and run the Copy command as follows:
Eg. Copy SSYS .?? /B ssys.tar. bz
Or: Copy SSYS .?? /B ssys.tar.bz2
Use winrarto open your ssys.tar.bz(or ssys.tar.bz2) file, and all source code files are close at hand.
========================================================== ==============================================
Appendix: FreeBSD source code directory description
Bin/ |
In/BinSource code of the file in |
Contrib/ |
Source code maintained by other development organizations |
Crypto/ |
Source Code related to Cryptography |
ETC/ |
In/EtcSource code of the file in |
Games/ |
In/Usr/gamesSource code of the file in |
GNU/ |
Tools authorized by GNU Public License |
Include/ |
In/Usr/includeSource code of the file in |
Kerberos5/ |
Source code of Kerberos version 5th |
LIB/ |
In/Usr/libSource code of the file in |
Libexec/ |
In/Usr/libexecSource code of the file in |
Release/ |
Used to create a freebsd release file |
Rescue/ |
System Construction/RescueTools in |
Sbin/ |
In/SbinSource code of the file in |
Secure/ |
Source code of freesec |
Share/ |
In/Usr/shareSource code of the file in |
Sys/ |
Source code file of the kernel |
Tools/ |
Tools used to maintain and automatically test FreeBSD |
USR. bin/ |
In/Usr/binSource code of the file in |
USR. sbin/ |
In/Usr/sbinSource code of the file in |