{"id":261025,"date":"2015-07-09T12:53:02","date_gmt":"2015-07-09T08:53:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=261025"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=261025","title":{"rendered":"\u041a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u0430\u044f \u0438\u043d\u0441\u0442\u0430\u043b\u043b\u044f\u0446\u0438\u044f FreeBSD 10 \u0434\u043b\u044f \u0446\u0435\u043d\u0442\u0440\u0430 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438"},"content":{"rendered":"<p>             \u041e\u0434\u043d\u0430\u0436\u0434\u044b \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0432 \u043f\u043e\u0434\u0447\u0438\u043d\u0451\u043d\u043d\u043e\u043c, \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u0438\u043c\u0435\u044e\u0449\u0435\u0439\u0441\u044f \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0446\u0435\u043d\u0442\u0440\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0434\u043b\u044f &#8216;\u0432\u044b\u0435\u0437\u0434\u043d\u043e\u0433\u043e&#8217; \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u2014 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0440\u0430\u0437\u044a\u0435\u0437\u0434\u043e\u0432. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0431\u044b\u043b\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0433\u043e \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u043c \u0438 \u0440\u0430\u0437\u0443\u043c\u043d\u043e, \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0446\u0435\u043b\u0435\u0439, \u0437\u0430\u0449\u0438\u0449\u0451\u043d\u043d\u044b\u043c. \u041f\u0440\u0438\u0435\u043c\u043b\u0435\u043c\u044b\u043c \u0431\u044b\u043b \u043f\u0440\u0438\u0437\u043d\u0430\u043d \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441 \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u043e\u0439 \u0444\u043b\u0435\u0448\u043a\u043e\u0439 \u0441 \u043a\u0430\u043a\u0438\u043c-\u043d\u0438\u0431\u0443\u0434\u044c *nix + openssl \u0438 \u0442\u0438\u043f\u043e\u0432\u044b\u043c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u2014 \u0438\u043c\u0435\u044e\u0449\u0438\u0439\u0441\u044f \u043f\u043e\u0434 \u0440\u0443\u043a\u043e\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c, \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0444\u043b\u0435\u0448\u043a\u0443, \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u0441\u044f \u0441 \u043d\u0435\u0451, \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c, \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c \u0444\u043b\u0435\u0448\u043a\u0443, \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440. \u0421\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u043a\u043b\u044e\u0447\u0438 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0426\u0421, \u0435\u0433\u043e \u0444\u0430\u0439\u043b\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438, \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0434\u043b\u044f \u0434\u0432\u0443\u0445\u0444\u0430\u043a\u0442\u043e\u0440\u043d\u043e\u0439 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0432\u044b\u043d\u0435\u0441\u0435\u043d\u044b \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u043d\u043e\u0441\u0438\u0442\u0435\u043b\u0438.<\/p>\n<p>  \u041d\u0430\u0447\u0430\u043b\u0441\u044f \u0432\u044b\u0431\u043e\u0440\u0430 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430 *nix. \u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u044b\u043b\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435:<\/p>\n<ul>\n<li>\u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u043c \u0432 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 OpenSSL<\/li>\n<li>\u043d\u0430\u043b\u0438\u0447\u0438\u0435 i386 \u0432\u0435\u0440\u0441\u0438\u0438. \u0413\u0438\u0433\u0430\u0431\u0430\u0439\u0442\u044b \u043f\u0430\u043c\u044f\u0442\u0438 \u043d\u0430\u043c \u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f, \u0430 \u0432\u043e\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043d\u0430 \u043d\u0435\u0442\u0431\u0443\u043a\u0435 \u0441 x86 Intel Atom \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u0430<\/li>\n<li>\u0437\u0430\u043f\u0443\u0441\u043a \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438\u0437 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438, \u043b\u0438\u0431\u043e \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u0438 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 r\/o \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432. \u0412 \u0438\u0434\u0435\u0430\u043b\u0435, \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u0444\u043b\u0435\u0448\u043a\u0438 \u043f\u0440\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0439 \u0437\u0430\u0449\u0438\u0442\u0435 \u043e\u0442 \u0437\u0430\u043f\u0438\u0441\u0438 (\u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 Qumo \u0441\u0435\u0440\u0438\u0438 Yin &#038; Yan)<\/li>\n<li>\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u043e\u0439 \u0438\u043d\u0441\u0442\u0430\u043b\u043b\u044f\u0446\u0438\u0438<\/li>\n<li>\u0436\u0435\u043b\u0430\u0442\u0435\u043b\u0435\u043d \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u0440\u043e\u043a \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0440\u0435\u043b\u0438\u0437\u0430<\/li>\n<\/ul>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0432 \u0444\u0438\u043d\u0430\u043b \u0432\u044b\u0448\u043b\u0438 \u0434\u0432\u0430 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430 \u2014 Alpine Linux \u0438 OpenBSD. \u0412\u0441\u0451 \u0431\u044b \u0445\u043e\u0440\u043e\u0448\u043e, \u0438 \u043d\u0435 \u0431\u044b\u043b\u043e \u0431\u044b \u0441\u043c\u044b\u0441\u043b\u0430 \u043f\u0438\u0441\u0430\u0442\u044c \u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u044e, \u043a\u0430\u043a \u0412\u041d\u0415\u0417\u0410\u041f\u041d\u041e \u0443\u0442\u043e\u0447\u043d\u0438\u043b\u0438\u0441\u044c \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u043a \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u2014 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u043f\u043e\u043b\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430 \u0432 Unicode \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u0438. \u041d\u0430 \u0432\u0432\u043e\u0434 \u0438 \u043d\u0430 \u0432\u044b\u0432\u043e\u0434.<\/p>\n<p>  \u041d\u0443 \u0432\u0441\u0451, \u043f\u0440\u0438\u043f\u043b\u044b\u043b\u0438. \u041e\u0431\u0430 \u0444\u0438\u043d\u0430\u043b\u0438\u0441\u0442\u0430 \u0432\u044b\u0431\u044b\u043b\u0438 \u0438\u0437 \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f. Alpine Linux \u0432 \u0441\u0438\u043b\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0439 \u0432 \u043d\u0451\u043c \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 C, \u0430 OpenBSD\u2026 \u043d\u0443, \u0443 \u043d\u0435\u0451 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u0438\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u044b. \u041e\u0434\u043d\u0430\u043a\u043e \u044d\u0442\u043e \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b\u043e \u0438\u043d\u0430\u0447\u0435 \u0432\u0437\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u043d\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u044b, \u0438 \u0432 \u0444\u0430\u0432\u043e\u0440\u0438\u0442\u0430\u0445 \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c FreeBSD. \u041a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0439 \u0434\u0440\u0430\u0439\u0432\u0435\u0440 vt (\u0440\u0430\u043d\u0435\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u043a\u0430\u043a newcons) \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 Unicode \u00ab\u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438\u00bb, \u0440\u0443\u0441\u0441\u043a\u0438\u0435 \u0448\u0440\u0438\u0444\u0442\u044b \u0438\u0434\u0443\u0442 \u0432 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0435, \u0432\u044b\u0448\u0435\u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043a\u0440\u0438\u0442\u0435\u0440\u0438\u0438 \u0432 \u0441\u0443\u043c\u043c\u0435 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u043e\u043b\u043d\u043e. \u0411\u043e\u043d\u0443\u0441\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043e\u0444\u0444\u043b\u0430\u0439\u043d\u043e\u0432\u043e\u0433\u043e \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0433\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043d\u0430 \u0444\u043b\u0435\u0448\u043a\u0435.<\/p>\n<p>  \u041d\u0430\u0447\u0430\u043b\u043e\u0441\u044c \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u043e\u0439 \u0438\u043d\u0441\u0442\u0430\u043b\u043b\u044f\u0446\u0438\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438. \u0413\u043e\u0442\u043e\u0432\u044b\u0435 \u043d\u0430\u0431\u043e\u0440\u044b \u2014 tinybsd, nanobsd, picobsd \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u043b\u0438 \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u0435\u043d\u0438\u0435 \u00ab\u0441\u0442\u0430\u0440\u044b\u0439, \u0434\u0440\u0435\u0432\u043d\u0438\u0439, \u0435\u0449\u0451 \u0434\u0440\u0435\u0432\u043d\u0435\u0435\u00bb. \u041e\u0434\u043d\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0441\u0447\u0451\u0442\u044b \u0441\u0435\u043a\u0442\u043e\u0440\u043e\u0432, \u0433\u043e\u043b\u043e\u0432\u043e\u043a, \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u043e\u0432 \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u0442\u0438\u043f\u043e\u0432 \u0444\u043b\u0435\u0448\u0435\u043a \u0432 picobsd\u2026 \u041f\u0440\u044f\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0430 MFM, RLL, ST-506\u2026<\/p>\n<p>  \u0422\u0432\u043e\u0440\u0435\u043d\u0438\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u044d\u043d\u0442\u0443\u0437\u0438\u0430\u0441\u0442\u043e\u0432, \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 miniBSD, easyBSD, mfsBSD \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u0438 \u043f\u043e\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0435, \u043d\u043e \u0432 \u0438\u0442\u043e\u0433\u0435 \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u043f\u043e\u0438\u0433\u0440\u0430\u0442\u044c \u0432 \u0434\u043e\u0431\u0440\u043e\u0433\u043e \u0434\u043e\u043a\u0442\u043e\u0440\u0430 \u0424\u0440\u0430\u043d\u043a\u0435\u043d\u0448\u0442\u0435\u0439\u043d\u0430.<\/p>\n<p>  \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u0443\u044e \u0444\u043b\u0435\u0448\u043a\u0443 \u0441:<\/p>\n<ul>\n<li>\u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u043e\u0439 \u0438\u043d\u0441\u0442\u0430\u043b\u043b\u044f\u0446\u0438\u0435\u0439 FreeBSD 10.1<\/li>\n<li>\u0440\u0443\u0441\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u044e \u0432 Unicode<\/li>\n<li>\u043a\u043e\u0440\u043d\u0435\u0432\u044b\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u043c, \u043c\u043e\u043d\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u043c\u0441\u044f \u0432 \u043f\u0430\u043c\u044f\u0442\u0438<\/li>\n<li>\u0440\u0430\u0437\u0434\u0435\u043b\u043e\u043c \u0434\u043b\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043d\u0430\u0448\u0435\u0433\u043e \u0426\u0421<\/li>\n<li>\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u043c \u0434\u043b\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u043a\u043b\u044e\u0447\u0435\u0439 \u0426\u0421<\/li>\n<li>FAT \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u043c \u0434\u043b\u044f \u043e\u0431\u043c\u0435\u043d\u0430 \u0441 \u0432\u043d\u0435\u0448\u043d\u0438\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u043c\u0438 \u043d\u0430 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u043c\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438<\/li>\n<li>\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u0444\u0444\u043b\u0430\u0439\u043d\u043e\u0432\u043e\u0433\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b<\/li>\n<li>\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0432\u044b\u0431\u043e\u0440\u0430 \u044f\u0434\u0440\u0430 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 (\u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 + GENERIC)<\/li>\n<li>\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0432\u044b\u0431\u043e\u0440\u0430 \u043e\u0431\u0440\u0430\u0437\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 (\u044d\u0442\u0430\u043b\u043e\u043d\u043d\u044b\u0439 + \u043e\u0431\u043d\u043e\u0432\u043b\u0451\u043d\u043d\u044b\u0439 \u0434\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 FreeBSD)<\/li>\n<\/ul>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u041f\u043e\u0434\u0447\u0435\u0440\u043a\u043d\u0443 \u2014 \u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439, \u0432 \u043d\u0435\u0433\u043e \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043e \u0432\u0441\u0451 \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e. \u0412 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0439 \u0436\u0438\u0437\u043d\u0438 \u0432\u044b\u0448\u0435\u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f, \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0432\u044b\u0431\u043e\u0440\u043e\u0447\u043d\u043e. \u041d\u0435\u0442 \u043e\u0441\u043e\u0431\u043e\u0433\u043e \u0441\u043c\u044b\u0441\u043b\u0430 \u043e\u0434\u0438\u043d \u0440\u0430\u0437\u0434\u0435\u043b \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u043f\u0430\u043c\u044f\u0442\u0438, \u0430 \u0434\u0440\u0443\u0433\u043e\u0439, \u0441 \u0442\u043e\u0439 \u0436\u0435 \u0444\u043b\u0435\u0448\u043a\u0438 \u2014 \u0432\u0436\u0438\u0432\u0443\u044e. \u0418 \u0434\u0430, \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043d\u0435 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 \u00ab\u044f\u0434\u0440\u043e + <strike>systemd<\/strike> + \u0448\u0435\u043b\u043b + openssl\u00bb, \u043d\u043e \u043d\u0435 \u0441\u0442\u0430\u0432\u0438\u043b\u0430\u0441\u044c \u0436\u0435 \u0446\u0435\u043b\u044c \u0443\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432\u0441\u0451 \u043d\u0430 \u0434\u0438\u0441\u043a\u0435\u0442\u0443. \u0412\u0440\u0435\u043c\u0435\u043d\u0430 \u043d\u0435 \u0442\u0435. \u0418 \u0441 fdformat.com \u0438 800.com \u043d\u0435 \u0432\u043b\u0435\u0437\u0435\u0442\u2026 \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u043c\u0438\u043c\u043e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c, \u0431\u0435\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435 \u043e\u0431\u043e\u0439\u0442\u0438\u0441\u044c, \u0431\u044b\u043b\u0438 \u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u2014 \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u043c, \u0441 \u0434\u0438\u0441\u043a\u0430\u043c\u0438, \u0441 \u0430\u0440\u0445\u0438\u0432\u0430\u043c\u0438. \u041a \u0442\u043e\u043c\u0443 \u0436\u0435, \u0434\u043b\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u0437\u0430\u044f\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0441\u0438\u043b\u044c\u043d\u043e \u0435\u0451 \u0443\u0440\u043e\u0434\u043e\u0432\u0430\u0442\u044c (\u0441\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0432\u0441\u0451 \u0432 \u043e\u0434\u0438\u043d crunchgen \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a \u0438 \u0437\u0430\u0441\u0443\u043d\u0443\u0442\u044c \u0432 \u044f\u0434\u0440\u043e) \u043d\u0435\u043b\u044c\u0437\u044f \u2014 \u0430 \u0442\u043e freebsd-update \u043d\u0435 \u043f\u0440\u0438\u0437\u043d\u0430\u0435\u0442.<\/p>\n<p>  \u0417\u0430\u0431\u0435\u0433\u0430\u044f \u0432\u043f\u0435\u0440\u0451\u0434 \u2014 \u0440\u0430\u0437\u043c\u0435\u0440 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 (\u0434\u0432\u0430 \u044f\u0434\u0440\u0430 + \u0434\u0432\u0430 \u043e\u0431\u0440\u0430\u0437\u0430) \u0443 \u043d\u0430\u0441 \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442 48 \u041c\u0431, \u0430 \u0432 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 (\u043e\u0434\u043d\u043e \u044f\u0434\u0440\u043e + \u043e\u0434\u0438\u043d \u043e\u0431\u0440\u0430\u0437) \u2014 7\u2153 \u041c\u0431. \u0411\u0435\u0437 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432.<\/p>\n<blockquote><p>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u044b\u0431\u043e\u0440\u0430 \u044f\u0434\u0440\u0430 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u0430 \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u2014 \u0435\u0441\u043b\u0438 \u0447\u0442\u043e-\u0442\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0442\u043e \u043f\u043e\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u044f\u0441\u044c \u0441 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u044f\u0434\u0440\u0430\u043c\u0438 \u0438 \u043e\u0434\u043d\u0438\u043c \u0438 \u0442\u0435\u043c \u0436\u0435 \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0432 \u0441\u0431\u043e\u0440\u043a\u0435 \u0447\u0435\u0433\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u2014 \u044f\u0434\u0440\u0430 \u0438\u043b\u0438 \u043c\u0438\u0440\u0430.  <\/p><\/blockquote>\n<p>  \u0418\u0442\u0430\u043a, \u043d\u0430\u0447\u043d\u0451\u043c.<\/p>\n<p>  \u041d\u0430\u0448\u0443 \u0444\u043b\u0435\u0448\u043a\u0443 \u0431\u0443\u0434\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 FreeBSD 10.1-RELEASE. \u041c\u043e\u0436\u043d\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, -STABLE, \u043d\u043e \u0442\u043e\u0433\u0434\u0430 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c freebsd-update \u0441 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u043c\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438. \u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u043c\u044b \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c \u043c\u0438\u0440 \u0438 \u044f\u0434\u0440\u043e, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0438\u0445 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433, \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u0443\u0434\u0430\u043b\u0438\u043c \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0441\u0434\u0435\u043b\u0430\u0435\u043c .iso \u0438 .img. \u041d\u0438\u0447\u0435\u0433\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0433\u043e.<\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0440\u0430\u0431\u043e\u0447\u0435\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435. \u041c\u043e\u0436\u043d\u043e \u0432 \u0436\u0435\u043b\u0435\u0437\u0435, \u043d\u043e \u043f\u0440\u043e\u0449\u0435 \u0432 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435. \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c FreeBSD-10.1-RELEASE-i386, \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c, \u043f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 \u0432\u043a\u043b\u044e\u0447\u0438\u0432 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0445 \u0442\u0435\u043a\u0441\u0442\u043e\u0432. \u0414\u0435\u0440\u0435\u0432\u043e \u043f\u043e\u0440\u0442\u043e\u0432 \u0438 \u0438\u0433\u0440\u044b \u043d\u0435 \u043d\u0443\u0436\u043d\u044b. \u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u0441\u044f, \u0437\u0430\u0445\u043e\u0434\u0438\u043c \u043a\u0430\u043a root.<\/p>\n<h2>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430<\/h2>\n<p>  \u0412\u0441\u0451 \u0431\u0443\u0434\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0437-\u043f\u043e\u0434 root.<\/p>\n<p>  \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f, \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u0430\u043b\u0435\u0435 \u043f\u043e \u0442\u0435\u043a\u0441\u0442\u0443. \u0423 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f root \u0448\u0435\u043b\u043b \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e csh, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \/root\/.login \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c:  <\/p>\n<pre><code class=\"bash\">$ echo &quot;setenv BASE \/root\/caBSD&quot; &gt;&gt; \/root\/.login $ echo &quot;setenv WORKDIR \/root\/caBSD\/_work&quot; &gt;&gt; \/root\/.login <\/code><\/pre>\n<p>  \u0414\u0430, \u043d\u0430\u0448\u0443 \u043f\u043e\u0434\u0435\u043b\u043a\u0443 \u043d\u0430\u0437\u043e\u0432\u0451\u043c <strike>\u0426\u0421\u0414\u041f\u0411<\/strike> caBSD<\/p>\n<p>  \u041e\u0431\u043d\u043e\u0432\u0438\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0434\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e patchlevel  <\/p>\n<pre><code class=\"bash\">$ freebsd-update fetch $ freebsd-update install  $ reboot <\/code><\/pre>\n<p>  \u042f\u0434\u0440\u043e, \u043c\u0438\u0440 \u0438 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u043e\u0431\u043d\u043e\u0432\u0438\u043b\u0438\u0441\u044c. \u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u0441\u044f.<\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \/root\/caBSD \u0438 \u0440\u0430\u0431\u043e\u0447\u0438\u0435 \u043f\u043e\u0434\u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 \u0432 \u043d\u0451\u043c.  <\/p>\n<pre><code class=\"bash\">$ mkdir -p ${BASE}\/{conf,tools,pkg.local} $ mkdir -p ${WORKDIR}\/{vanilla,custom,mnt} <\/code><\/pre>\n<p>  <\/p>\n<blockquote><p>\/root\/caBSD\/_work\/ \u2014 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433, ${WORK}. \u041f\u043e\u0434\u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 \u0432 \u043d\u0451\u043c:<br \/>  vanilla\/ \u2014 \u0442\u0443\u0442 \u043c\u044b \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u043a\u043e\u0440\u0435\u043d\u044c \u0431\u0443\u0434\u0443\u0449\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, installworld, installkernel<br \/>  mnt\/ \u2014 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0442\u043e\u0447\u043a\u0430 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<br \/>  custom\/ \u2014 \u0438\u0437 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e \u044d\u0442\u043e\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 \u0431\u0443\u0434\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c .iso\/.img \u043e\u0431\u0440\u0430\u0437\u044b  <\/p><\/blockquote>\n<p>  <\/p>\n<h2>\u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c \u043c\u0438\u0440 \u0438 \u044f\u0434\u0440\u043e<\/h2>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u044f\u0434\u0440\u0430. \u041d\u0430 \u044d\u0442\u0430\u043f\u0435 \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e, \u0431\u0430\u0437\u0438\u0440\u0443\u044e\u0449\u0443\u044e\u0441\u044f \u043d\u0430 GENERIC \u0438 \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0443\u044e \u0438\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u0442\u0440\u043e\u0447\u0435\u043a:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">tools\/CABSD-DEV<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"># # tools\/CABSD-DEV  include\t\tGENERIC  ident\t\tCABSD-DEV  # \u0411\u0435\u0437 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 makeoptions\tNO_MODULES=1  # \u0411\u0435\u0437 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 sc nodevice\tsc nodevice\tvga  # \u0422\u0430\u043a \u043a\u0430\u043a \u043c\u043e\u0434\u0443\u043b\u0438 \u043d\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c, \u0442\u043e \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0432 \u044f\u0434\u0440\u043e options \tTMPFS\t\t# Efficient memory filesystem options \tGEOM_ELI\t# Disk encryption. device\t\tcrypto\t\t# core crypto support  options \tNO_SWAPPING\t# Disable swapping of stack pages <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0417\u0434\u0435\u0441\u044c \u043c\u044b \u0431\u0435\u0440\u0451\u043c GENERIC \u044f\u0434\u0440\u043e, \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c syscons (vt \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u043c \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e), \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0442\u0440\u0438 \u043c\u043e\u0434\u0443\u043b\u044f \u2014 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432\u043f\u043e\u043b\u043d\u0435 \u0445\u0432\u0430\u0442\u0438\u0442.<\/p>\n<p>  \u041f\u043e\u0442\u043e\u043c, \u043a\u043e\u0433\u0434\u0430 \u0432\u0441\u0451 \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u044f\u0434\u0440\u043e. \u0414\u043b\u044f \u043d\u0435\u0433\u043e \u0431\u0435\u0440\u0451\u043c \u0444\u0430\u0439\u043b GENERIC \u044f\u0434\u0440\u0430, \u0443\u0434\u0430\u043b\u044f\u0435\u043c \u0432\u0441\u0451 \u043b\u0438\u0448\u043d\u0435\u0435 (\u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u044f \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044f \u2014 \u0433\u0440\u0443\u0437\u0438\u0442\u0441\u044f .iso \u0438\u043b\u0438 \u043d\u0435\u0442), \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u0438 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e\u0435. \u0424\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043d\u0430\u0448\u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u044f\u0434\u0440\u0430 \u0441\u0442\u0430\u043b \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">tools\/CABSD<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"># # tools\/CABSD  cpu\t\tI486_CPU cpu\t\tI586_CPU cpu\t\tI686_CPU  ident\t\tCABSD  makeoptions\tNO_MODULES=1\t\t# Don't compile modules  options \tSCHED_ULE\t\t# ULE scheduler options \tPREEMPTION\t\t# Enable kernel thread preemption  options \tFFS\t\t\t# Berkeley Fast Filesystem #options \tSOFTUPDATES\t\t# Enable FFS soft updates support #options \tUFS_ACL\t\t\t# Support for access control lists options \tMD_ROOT\t\t\t# MD is a potential root device options\t\tROOTDEVNAME=\\&quot;ufs:\/dev\/md0\\&quot;\t# The root device and filesystem type can be compiled in options \tMSDOSFS\t\t\t# MSDOS Filesystem options \tCD9660\t\t\t# ISO 9660 Filesystem options \tTMPFS\t\t\t# Efficient memory filesystem #options \tNULLFS\t\t\t# NULL filesystem #options \tPROCFS\t\t\t# Process filesystem (requires PSEUDOFS) #options \tPSEUDOFS\t\t# Pseudo-filesystem framework  options \tGEOM_PART_GPT\t\t# GUID Partition Tables. options \tGEOM_LABEL\t\t# Provides labelization options \tGEOM_ELI\t\t# Disk encryption.  options \tCOMPAT_FREEBSD4\t\t# Compatible with FreeBSD4 options \tCOMPAT_FREEBSD5\t\t# Compatible with FreeBSD5 options \tCOMPAT_FREEBSD6\t\t# Compatible with FreeBSD6 options \tCOMPAT_FREEBSD7\t\t# Compatible with FreeBSD7 #options \tSCSI_DELAY=5000\t\t# Delay (in ms) before probing SCSI #options \tSYSVSHM\t\t\t# SYSV-style shared memory options \tSYSVMSG\t\t\t# SYSV-style message queues options \tSYSVSEM\t\t\t# SYSV-style semaphores options \t_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options \tKBD_INSTALL_CDEV\t# install a CDEV entry in \/dev options \tPROCDESC\t\t# Support for process descriptors #options \tINCLUDE_CONFIG_FILE\t# Include this file in kernel options \tNO_SWAPPING\t\t# Disable swapping of stack pages  # To make an SMP kernel, the next two lines are needed options \tSMP\t\t\t# Symmetric MultiProcessor Kernel device\t\tapic\t\t\t# I\/O APIC  device\t\tcpufreq\t\t\t# CPU frequency control  # Bus support. device\t\tacpi device\t\tpci #device\t\teisa  # Floppy drives #device\t\tfdc  # USB support https:\/\/www.freebsd.org\/doc\/en\/books\/handbook\/usb-disks.html device\t\tscbus\t\t\t# SCSI bus (required for ATA\/SCSI) device\t\tda\t\t\t# Direct Access (disks)  device\t\tuhci\t\t\t# UHCI PCI-&gt;USB interface device\t\tohci\t\t\t# OHCI PCI-&gt;USB interface device\t\tehci\t\t\t# EHCI PCI-&gt;USB interface (USB 2.0) device\t\txhci\t\t\t# XHCI PCI-&gt;USB interface (USB 3.0) device\t\tusb\t\t\t# USB Bus (required) device\t\tumass\t\t\t# Disks\/Mass storage - Requires scbus and da  device\t\tcd\t\t\t# CD  device\t\tukbd\t\t\t# Keyboard  device\t\tahci\t\t\t# AHCI-compatible SATA controllers device\t\tata\t\t\t# Legacy ATA\/SATA controllers options \tATA_STATIC_ID\t\t# Static device numbering #device\t\tmvs\t\t\t# Marvell 88SX50XX\/88SX60XX\/88SX70XX\/SoC SATA #device\t\tsiis\t\t\t# SiliconImage SiI3124\/SiI3132\/SiI3531 SATA  # atkbdc0 controls both the keyboard and the PS\/2 mouse device\t\tatkbdc\t\t\t# AT keyboard controller device\t\tatkbd\t\t\t# AT keyboard  # \u0411\u0435\u0437 \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c kbdcontrol (keymap, keyrate) device\t\tkbdmux\t\t\t# keyboard multiplexer  # vt is the new video console driver device\t\tvt device\t\tvt_vga  options\t\tTERMINAL_NORM_ATTR=(FG_GREEN|BG_BLACK)  options \tMAXCONS=4\t\t# number of virtual consoles  # Number of initial kernel page table pages used for early bootstrap. # This number should include enough pages to map the kernel, any # modules or other data loaded with the kernel by the loader, and data # structures allocated before the VM system is initialized such as the # vm_page_t array.  Each page table page maps 4MB (2MB with PAE). # \u041c\u043e\u0436\u0435\u0442 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c, \u043d\u043e \u0432\u0440\u043e\u0434\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u0442\u0430\u043a #options\t\tNKPT=31  device\t\tcrypto\t\t\t# core crypto support  # Pseudo devices. device\t\tloop\t\t\t# Network loopback device\t\trandom\t\t\t# Entropy device #device\t\tpadlock_rng\t\t# VIA Padlock RNG device\t\trdrand_rng\t\t# Intel Bull Mountain RNG #device\t\tether\t\t\t# Ethernet support device\t\tmd\t\t\t# Memory &quot;disks&quot;  # EOF <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u0444\u0430\u0439\u043b \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043c\u0438\u0440\u0430. \u0427\u0438\u0442\u0430\u0435\u043c man src.conf, \u0432\u044b\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0432\u0441\u0435 WITHOUT_ \u0432 \u0444\u0430\u0439\u043b \u0438 \u0432\u0434\u0443\u043c\u0447\u0438\u0432\u043e \u0438\u0437\u0443\u0447\u0430\u0435\u043c. \u041f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u043d\u0435 \u043e\u0434\u0438\u043d, \u0430 \u0446\u0435\u043b\u044b\u0445 \u0434\u0432\u0430 \u0444\u0430\u0439\u043b\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u2014 \u043e\u0434\u0438\u043d \u0434\u043b\u044f buildworld, \u0432\u0442\u043e\u0440\u043e\u0439 \u043f\u043b\u044e\u0441\u043e\u043c \u0434\u043b\u044f installworld.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">tools\/worldbuild.conf<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"># # tools\/worldbuild.conf # WITHOUT_ACCT= WITHOUT_ACPI= WITHOUT_AMD= WITHOUT_APM= WITHOUT_ARM_EABI= WITHOUT_ASSERT_DEBUG= WITHOUT_AT= WITHOUT_ATM= WITHOUT_AUDIT= WITHOUT_AUTHPF= # \u042d\u0442\u0443 \u043e\u043f\u0446\u0438\u044e \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0432 tools\/worldinstall.conf # \u041d\u0430 \u044d\u0442\u0430\u043f\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043e\u043d\u0430 \u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u043d\u0430 # WITHOUT_BINUTILS= WITHOUT_BLUETOOTH= WITHOUT_BMAKE= WITHOUT_BSD_CPIO= WITHOUT_BSNMP= WITHOUT_CALENDAR= WITHOUT_CAPSICUM= WITHOUT_CDDL= WITHOUT_CLANG= WITHOUT_CLANG_EXTRAS= WITHOUT_CLANG_FULL= WITHOUT_CPP= # \u041d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0430 libcrypt \u0437\u0430\u0432\u044f\u0437\u0430\u043d\u044b geli \u0438 openssl # WITHOUT_CRYPT= WITHOUT_CTM= WITHOUT_CXX= WITHOUT_DICT= WITHOUT_EXAMPLES= WITHOUT_FDT= WITHOUT_FLOPPY= WITHOUT_FMTREE= # \u041d\u0435 \u0432\u043a\u044e\u0447\u0430\u0435\u043c, \u0438\u043d\u0430\u0447\u0435 \u0441\u043b\u043e\u043c\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u043e\u0435 \u043c\u0435\u043d\u044e # WITHOUT_FORTH= # \u041d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c, \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u043f\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u043c \u0437\u0430\u0434\u0430\u0447\u0438 # WITHOUT_FREEBSD_UPDATE= WITHOUT_GAMES= WITHOUT_GCC= WITHOUT_GCOV= WITHOUT_GDB= WITHOUT_GNU= WITHOUT_GNUCXX= WITHOUT_GNU_SUPPORT= WITHOUT_GPIB= WITHOUT_GPIO= WITHOUT_GROFF= WITHOUT_GSSAPI= WITHOUT_HTML= WITHOUT_HYPERV= WITHOUT_ICONV= WITHOUT_INET= WITHOUT_INET_SUPPORT= WITHOUT_INET6= WITHOUT_INET6_SUPPORT= WITHOUT_INFO= # \u042d\u0442\u0443 \u043e\u043f\u0446\u0438\u044e \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0432 tools\/worldinstall.conf # WITHOUT_INSTALLLIB= WITHOUT_IPFILTER= WITHOUT_IPFW= WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_JAIL= WITHOUT_KDUMP= WITHOUT_KERBEROS= WITHOUT_KERBEROS_SUPPORT= WITHOUT_KERNEL_SYMBOLS= WITHOUT_LDNS= WITHOUT_LDNS_UTILS= # \u041d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c, \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0430\u044f \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u043d\u0443\u0436\u043d\u0430 # WITHOUT_LEGACY_CONSOLE= # \u0410 \u044d\u0442\u043e \u0438\u043c\u0435\u0435\u0442 \u0441\u043c\u044b\u0441\u043b \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f amd64, \u0430 \u0443 \u043d\u0430\u0441 i386 # WITHOUT_LIB32= WITHOUT_LIBCPLUSPLUS= # \u041d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c, \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043b\u043e\u043a\u0430\u043b\u0435\u0439 \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f. # \u041b\u0438\u0448\u043d\u0438\u0435 \u043f\u043e\u0442\u043e\u043c \u0443\u0434\u0430\u043b\u0438\u043c, \u043e\u0441\u0442\u0430\u0432\u0438\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0443\u0436\u043d\u044b\u0435 # WITHOUT_LOCALES= WITHOUT_LOCATE= WITHOUT_LPR= WITHOUT_LS_COLORS= WITHOUT_MAIL= WITHOUT_MAILWRAPPER= WITHOUT_MAKE= WITHOUT_MAN= WITHOUT_MAN_UTILS= # libncurces \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430\u043c\u0438 \/usr\/bin\/vi \u0438 jupp \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u043e\u0432. # WITHOUT_NCURSESW= WITHOUT_NDIS= WITHOUT_NETCAT= WITHOUT_NETGRAPH= WITHOUT_NETGRAPH_SUPPORT= WITHOUT_NIS= WITHOUT_NLS= WITHOUT_NLS_CATALOGS= WITHOUT_NMTREE= WITHOUT_NS_CACHING= WITHOUT_NTP= WITHOUT_OPENSSH= # \u0415\u0441\u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u043f\u0446\u0438\u044e, \u0442\u043e openssl \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0435 \u0431\u0443\u0434\u0435\u0442, # \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0435\u0433\u043e \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u043e\u0432. \u041d\u043e \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 # \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c openssl \u0438\u0437 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0430 # WITHOUT_OPENSSL= WITHOUT_PAM_SUPPORT= WITHOUT_PC_SYSINSTALL= WITHOUT_PF= WITHOUT_PKGBOOTSTRAP= WITHOUT_PMC= WITHOUT_PORTSNAP= WITHOUT_PPP= WITHOUT_PROFILE= WITHOUT_QUOTAS= WITHOUT_RCMDS= WITHOUT_RCS= # \u0422\u0435\u043c\u0430 \/rescue \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e WITHOUT_RESCUE= WITHOUT_ROUTED= WITHOUT_SENDMAIL= WITHOUT_SHAREDOCS= WITHOUT_SOURCELESS= WITHOUT_SOURCELESS_UCODE= WITHOUT_SOURCELESS_HOST= WITHOUT_SSP= WITHOUT_SVNLITE= # syscons \u043d\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u0435\u043d, \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c newcons - vt(4) WITHOUT_SYSCONS= WITHOUT_SYSINSTALL= # \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0448\u0435\u043b\u043b\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c tcsh # WITHOUT_TCSH= WITHOUT_TELNET= WITHOUT_TESTS= WITHOUT_TEXTPROC= # \u042d\u0442\u0443 \u043e\u043f\u0446\u0438\u044e \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0432 tools\/worldinstall.conf # \u041d\u0430 \u044d\u0442\u0430\u043f\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043e\u043d\u0430 \u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u043d\u0430 # WITHOUT_TOOLCHAIN= WITHOUT_UNBOUND= WITHOUT_USB= WITHOUT_UTMPX= # \u041d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c, vt \u043d\u0430\u043c \u043a\u0430\u043a \u0440\u0430\u0437 \u0438 \u043d\u0443\u0436\u0435\u043d # WITHOUT_VT= WITHOUT_WIRELESS= WITHOUT_WIRELESS_SUPPORT= WITHOUT_WPA_SUPPLICANT_EAPOL= WITHOUT_ZFS= # \u041d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c, \u0444\u0430\u0439\u043b\u044b tz \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f. # \u041b\u0438\u0448\u043d\u0438\u0435 \u043f\u043e\u0442\u043e\u043c \u0443\u0434\u0430\u043b\u0438\u043c, \u043e\u0441\u0442\u0430\u0432\u0438\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0443\u0436\u043d\u044b\u0435 # WITHOUT_ZONEINFO= <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">tools\/worldinstall.conf<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"># # tools\/worldinstall.conf #  # Set to not install binutils (as, c++-filt, gconv, ld, nm, objcopy, objdump, readelf, size and strip) WITHOUT_BINUTILS=  # Set this if you do not want to install optional libraries. For example when creating a nanobsd(8) image. WITHOUT_INSTALLLIB=  # Set to not install programs used for program development, compilers, debuggers etc. The option does not work for build targets. # When set, it also enforces the following options: # WITHOUT_BINUTILS, WITHOUT_CLANG, WITHOUT_CLANG_EXTRAS, WITHOUT_CLANG_FULL, WITHOUT_GCC, WITHOUT_GDB WITHOUT_TOOLCHAIN= <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<blockquote><p>\u0421 \u0442\u0430\u043a\u0438\u043c\u0438 \u043e\u043f\u0446\u0438\u044f\u043c\u0438 \u043c\u044b \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044e \u043a\u0430\u043a clang, \u0442\u0430\u043a \u0438 gcc.  <\/p><\/blockquote>\n<p>  \u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0435\u043c \u043a \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438. \u041d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u0436\u0435 \u0448\u0430\u0433\u0435 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0441\u0445\u0438\u0442\u0440\u0438\u043c. \u041f\u0440\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043c\u0438\u0440\u0430 \u043e\u0447\u0435\u043d\u044c \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0443\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044e \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430, \u043d\u043e \u0443 \u043d\u0430\u0441 \u0436\u0435 \u0435\u0441\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u044b\u0439, \u0432 \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435. \u041a \u0442\u043e\u043c\u0443 \u0436\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0451\u043d\u043d\u044b\u0439. \u0418\u043c \u043c\u044b \u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435<\/p>\n<pre><code class=\"bash\">$ setenv CC `whereis -bq clang` $ setenv CPP `whereis -bq clang-cpp` $ setenv CXX `whereis -bq clang++` <\/code><\/pre>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u0443\u044e \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u044f\u0434\u0440\u0430 CABSD \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 (\u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u043c \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u044b\u0439 \u044d\u0442\u0430\u043f \u0441 CABSD-DEV, \u0441\u0440\u0430\u0437\u0443 \u0431\u0443\u0434\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u044f\u0434\u0440\u0430).<\/p>\n<pre><code class=\"bash\">$ ln -sf ${BASE}\/tools\/CABSD \/usr\/src\/sys\/i386\/conf <\/code><\/pre>\n<p>  \u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043e\u043f\u0446\u0438\u0438 \u0432\u0438\u0434\u0430 &#8216;-j N&#8217; \u043f\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044e<\/p>\n<pre><code class=\"bash\">$ cd \/usr\/src  # rm -rf \/usr\/obj  # \u041c\u0438\u0440 $ make buildworld USER=IT HOSTNAME=hq.example.net SRCCONF=${BASE}\/tools\/worldbuild.conf __MAKE_CONF=\/dev\/null  # \u042f\u0434\u0440\u043e $ make buildkernel USER=IT HOSTNAME=hq.example.net SRCCONF=${BASE}\/tools\/worldbuild.conf __MAKE_CONF=\/dev\/null KERNCONF=CABSD  $ cd ${BASE} <\/code><\/pre>\n<p>  \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b USER \u0438 HOSTNAME \u0434\u0435\u043a\u043e\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0435 \u2014 \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0441\u0432\u043e\u0451, \u0447\u0442\u043e\u0431\u044b \u0432 \u043d\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435, \u043f\u0440\u0438 uname -a, \u0434\u0430 \u0438 \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u043c\u0435\u0441\u0442\u0430\u0445 \u0432\u044b\u0432\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0433\u043e\u0440\u0434\u043e\u0435 \u00abIT@hq.example.net\u00bb \u0430 \u043d\u0435 \u00abroot@localhost\u00bb.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0432 \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u2014 \u043c\u0435\u0436\u0434\u0443 \u044d\u0442\u0430\u043f\u0430\u043c\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043d\u0435 \u0441\u0442\u043e\u0438\u0442 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c freebsd-update \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0438\u043b\u0438 \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0432 \u0444\u0430\u0439\u043b\u0435 worldbuild.conf.<\/p>\n<pre><code class=\"bash\">$ cd \/usr\/src  # \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043c\u0438\u0440. \u0412\u0442\u043e\u0440\u043e\u0439 \u0444\u0430\u0439\u043b \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u043c\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0447\u0435\u0440\u0435\u0437 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 __MAKE_CONF - \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u043d \u043f\u0440\u0438\u043f\u043b\u044e\u0441\u0443\u0435\u0442\u0441\u044f \u043a \u043f\u0435\u0440\u0432\u043e\u043c\u0443. $ make installworld DESTDIR=${WORKDIR}\/vanilla SRCCONF=${BASE}\/tools\/worldbuild.conf __MAKE_CONF=${BASE}\/tools\/worldinstall.conf  # \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c etc $ make distribution DESTDIR=${WORKDIR}\/vanilla SRCCONF=${BASE}\/tools\/worldbuild.conf __MAKE_CONF=${BASE}\/tools\/worldinstall.conf  # \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043d\u0430\u0448\u0435 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u044f\u0434\u0440\u043e $ make installkernel DESTDIR=${WORKDIR}\/vanilla SRCCONF=${BASE}\/tools\/worldbuild.conf __MAKE_CONF=${BASE}\/tools\/worldinstall.conf KERNCONF=CABSD  # \u041a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0432\u0442\u043e\u0440\u043e\u0435 \u044f\u0434\u0440\u043e, GENERIC - \u0431\u0435\u0440\u0451\u043c \u0435\u0433\u043e \u0438\u0437 \/boot\/kernel \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b # \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0432\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 $ mkdir -p ${WORKDIR}\/vanilla\/tmp\/boot\/kernel # \u0418 \u043f\u043e\u0447\u0442\u0438 800 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u0432 \u043f\u0440\u0438\u0434\u0430\u0447\u0443. \u041f\u043e\u0442\u043e\u043c \u0443\u0434\u0430\u043b\u0438\u043c \u043b\u0438\u0448\u043d\u0438\u0435. $ cp -p \/boot\/kernel\/{kernel,*.ko} ${WORKDIR}\/vanilla\/tmp\/boot\/kernel\/  $ chflags -R noschg ${WORKDIR}\/vanilla  $ cd ${BASE} <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043e\u043f\u0446\u0438\u044e WITHOUT_RESCUE= \u043f\u0440\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043c\u0438\u0440\u0430, \u0442\u043e \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0432 bin, sbin, usr\/bin, usr\/sbin \u043d\u0430 \u0438\u0445 \u0430\u043d\u0430\u043b\u043e\u0433\u0438 \u0438\u0437 rescue, \u0445\u043e\u0442\u044f \u0446\u0435\u043b\u0435\u0441\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u043e\u0441\u0442\u044c \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u0430. \u0412\u0441\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0443 \u043d\u0430\u0441 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435, \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u043c\u043e\u043d\u0442\u0438\u0440\u0443\u044e\u0449\u0435\u043c\u0441\u044f \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u2014 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0441 \u043d\u0435\u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0432\u0448\u0435\u043c\u0441\u044f usr \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u044b, \u0438 \u0441\u043c\u044b\u0441\u043b \u0437\u0430\u043c\u0435\u043d\u044b \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u0438\u0448\u044c \u0432 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0437\u0430 \u0441\u0447\u0451\u0442 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a, \u0441\u0442\u0430\u0432\u0448\u0438\u0445 \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u043c\u0438 \u0438\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0435 \u0438\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u044b \u043d\u0430 \u0441\u043b\u0438\u043d\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 rescue. \u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u044e \u043d\u0430\u0434\u043e \u043f\u0440\u043e\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c, \u0430 \u0432 \u043d\u0430\u0448\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043c\u044b rescue \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u043c.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0431\u0443\u0434\u0435\u0442\u0435 \u0437\u0430\u043c\u0435\u043d\u044f\u0442\u044c, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 (\u043f\u043e\u0434\u0441\u043c\u043e\u0442\u0440\u0435\u043d \u0432 mfsBSD)  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">tools\/_linkrescue.sh<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">#!\/bin\/csh  # # tools\/_linkrescue.sh  cd ${WORKDIR}\/vanilla  echo &quot;Before:&quot;  du -hc bin sbin usr\/bin usr\/sbin rescue  foreach FILE (`ls rescue`) \tif ( -f bin\/${FILE} ) then \t\tln -f rescue\/${FILE} bin\/${FILE} \telse if ( -f sbin\/${FILE} ) then \t\tln -f rescue\/${FILE} sbin\/${FILE} \telse if ( -f usr\/bin\/${FILE} ) then \t\tln -f rescue\/${FILE} usr\/bin\/${FILE} \telse if ( -f usr\/sbin\/${FILE} ) then \t\tln -f rescue\/${FILE} usr\/sbin\/${FILE} \tendif end  echo &quot;After:&quot;  du -hc bin sbin usr\/bin usr\/sbin rescue  cd ${BASE} <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <\/p>\n<h2>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u043a\u0435\u0442\u044b<\/h2>\n<p>  \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043e\u0432 \u043d\u0430\u0448\u0435\u0433\u043e \u0426\u0421 \u043c\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440. \u041f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0439 mc \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 158 \u041c\u0431, mc-light \u2014 6 \u041c\u0431, deco \u2014 217 Mb \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438. \u0415\u0441\u043b\u0438 \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438\u0437 \u043f\u043e\u0440\u0442\u043e\u0432, \u0442\u043e, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u043f\u0446\u0438\u0439 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438, \u043d\u043e \u0432 \u043f\u0430\u043a\u0435\u0442\u0430\u0445 \u043d\u0430\u0448\u0435\u043b\u0441\u044f \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u044b\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0439 \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 clex \u2014 0.3 \u041c\u0431, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c.<\/p>\n<p>  \u0412\u0442\u043e\u0440\u043e\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u2014 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 Unicode. \u0424\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e, \u043f\u043e \u0431\u0443\u043a\u0432\u0435 \u0437\u0430\u0434\u0430\u043d\u0438\u044f, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0431\u044b\u043b\u0430 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0430 \u2014 \u0440\u0443\u0441\u0441\u043a\u0438\u0439 \u0442\u0435\u043a\u0441\u0442 \u0432\u0432\u0435\u0441\u0442\u0438 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 csh \u043c\u043e\u0436\u043d\u043e (echo \u043f\u0440\u0438\u0432\u0435\u0442), \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d \u0442\u043e\u0436\u0435 (cat \/usr\/bin\/help), \u043d\u043e \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u043a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0442\u0435\u043a\u0441\u0442\u0430\u043c\u0438 \u2014 \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u0444\u0430\u0439\u043b, \u0432\u0435\u0441\u0442\u0438 \u0437\u0430\u043f\u0438\u0441\u0438, \u043c\u0430\u043b\u043e \u043b\u0438. \u041a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u043d\u044b\u0439 \/usr\/bin\/ee \u0440\u0443\u0441\u0441\u043a\u0438\u0439 \u0442\u0435\u043a\u0441\u0442 \u0432 Unicode \u0444\u0430\u0439\u043b\u0435 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043a\u0430\u043a &quot;-PM-7M-PM-?M&quot;, \/usr\/bin\/vi \u0432\u0441\u0451 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e (\u043f\u0440\u0430\u0432\u0434\u0430 \u043e\u043d \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 libncursesw, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0432\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u043f\u0446\u0438\u044e WITHOUT_NCURSESW= \u0432 tools\/worldbuild.conf), \/rescue\/vi \u2014 &quot;\\xd0\\xb7\\xd0\\xb0&quot;.<\/p>\n<p>  \u0412 \u043f\u0430\u043a\u0435\u0442\u0430\u0445 \u043d\u0430\u0448\u043b\u0438\u0441\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u043e\u0432 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 Unicode, \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438: puff, \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0449\u0438\u0439 \u0442\u0435\u043a\u0441\u0442 \u043a\u0430\u043a \u00ab\u0437\u0430\u043f\u0438~\u0410\u0438 \u0432 \u043e\u0431~@\u0430\u0437\u00bb (\u0432 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u0435 \u00ab\u0437\u0430\u043f\u0438\u0441\u0438 \u0432 \u043e\u0431\u0440\u0430\u0437\u00bb); le \u2014 \u0432\u0441\u0435\u043c \u0445\u043e\u0440\u043e\u0448, \u043d\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 C++; \u0438 jupp, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0441\u0451 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e, \u0438, \u043a\u0430\u043a \u0438 vi \u0442\u0440\u0435\u0431\u0443\u0435\u0442 libncurses. \u041f\u0440\u0438\u0447\u0451\u043c jupp \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u043f\u0435\u0440\u0435\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430 joe, \u043d\u043e \u0435\u0441\u043b\u0438 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 joe \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0442\u044f\u043d\u0435\u0442 \u0437\u0430 \u0441\u043e\u0431\u043e\u0439 49 \u041c\u0431 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439, \u0442\u043e jupp \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c \u0441 vi.<\/p>\n<p>  \u041f\u0440\u0438\u0447\u0451\u043c \u0432\u0441\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0443 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u043e\u0432 ee \u0438 puff \u043b\u0438\u0448\u044c \u0441 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c \u0440\u0443\u0441\u0441\u043a\u0438\u0445 \u0431\u0443\u043a\u0432, \u043f\u0440\u0438 \u0432\u0432\u043e\u0434\u0435 \u00ab\u0432\u0441\u043b\u0435\u043f\u0443\u044e\u00bb \u0432\u0441\u0451 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e.<\/p>\n<p>  \u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432\u044b\u0431\u043e\u0440\u0430 \u043c\u0435\u0436\u0434\u0443 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u043d\u044b\u043c vi \u0438 jupp \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0431\u044b\u043b\u0430 \u043f\u0435\u0440\u0435\u043b\u043e\u0436\u0435\u043d\u0430 \u043d\u0430 \u043f\u043b\u0435\u0447\u0438 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u043e\u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043b\u0438 \u0437\u0430 jupp \u2014 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0430\u0441\u044c \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0430 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430 \u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0434\u0440\u0443\u0436\u0435\u043b\u044e\u0431\u043d\u043e\u0441\u0442\u044c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430.<\/p>\n<p>  \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c misc\/clex \u0438 editors\/jupp. \u041a\u0430\u043a\u0438\u0435-\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 ${BASE}\/pkg.local\/, \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043e\u043d\u0438 \u0434\u043e\u0431\u0430\u0432\u044f\u0442\u0441\u044f.<\/p>\n<pre><code class=\"bash\"># \u041f\u0430\u043a\u0435\u0442\u044b \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0432 \u0434\u0432\u0430 \u0437\u0430\u0445\u043e\u0434\u0430 - \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0438\u0445, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c # \u0441\u0432\u043e\u0438, \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c, \u0430 \u0437\u0430\u0442\u0435\u043c \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0432 chroot \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438.  # \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c pkg \u0432 \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 $ pkg -N || env ASSUME_ALWAYS_YES=YES pkg bootstrap  # \u0411\u0414 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0434\u0435\u0440\u0436\u0438\u043c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \u0432\u043d\u0443\u0442\u0440\u0438 ${WORKDIR}, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u0435\u0440\u0435\u0441\u0435\u043a\u0430\u043b\u0430\u0441\u044c \u0441 \u0411\u0414 \u0438\u0437 \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b $ mkdir -p ${WORKDIR}\/pkg.db $ setenv PKG_DBDIR ${WORKDIR}\/pkg.db  # \u041e\u0431\u043d\u043e\u0432\u0438\u043c \u0411\u0414 $ pkg-static update  # \u041f\u0430\u043a\u0435\u0442\u044b \u043f\u043e\u043a\u0430 \u0431\u0443\u0434\u0443\u0442 \u0432\u043d\u0443\u0442\u0440\u0438 ${WORKDIR}\/vanilla, \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0438\u0445 \u0431\u0443\u0434\u0435\u043c \u0432 chroot $ mkdir -p ${WORKDIR}\/vanilla\/tmp\/pkg.files\/All  # \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u043a\u0435\u0442\u044b, \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u044e\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438. $ pkg-static fetch --output ${WORKDIR}\/vanilla\/tmp\/pkg.files --dependencies --yes misc\/clex editors\/jupp $ unsetenv PKG_DBDIR  # \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0430\u043a\u0435\u0442\u044b \u0438\u0437 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 (${BASE}\/pkg.local). # \u0423\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u0435\u043d\u0438\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439 - \u043d\u0430 \u0441\u043e\u0432\u0435\u0441\u0442\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f $ install -m 0644 ${BASE}\/pkg.local\/* ${WORKDIR}\/vanilla\/tmp\/pkg.files\/All  # \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u043d\u0435 \u043f\u0435\u0440\u0432\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a, \u0442\u043e \u0443\u0434\u0430\u043b\u0438\u043c \u0411\u0414 \u0441 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0435\u0439 \u043e\u0431 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u0430\u0445 $ rm -f ${WORKDIR}\/vanilla\/var\/db\/pkg\/local.sqlite  # \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u043a\u0435\u0442\u044b $ cd ${WORKDIR}\/vanilla $ find tmp\/pkg.files\/All\/* -type f -exec pkg-static -c ${WORKDIR}\/vanilla add {} \\;  $ cd ${BASE} <\/code><\/pre>\n<p>  <\/p>\n<h2>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0443<\/h2>\n<p>  \u0412 chroot \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f &#8216;ca&#8217;. \u0414\u043b\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0433\u0440\u0443\u043f\u043f\u0443 operator. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0448\u0435\u043b\u043b\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c csh, \u043e\u043f\u0446\u0438\u044f WITHOUT_TCSH \u0432 tools\/worldbuild.conf \u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0430.<\/p>\n<pre><code class=\"bash\">$ chroot ${WORKDIR}\/vanilla pw useradd ca -c &quot;Certification authority operator&quot; -m -G operator -s \/bin\/csh  # \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0432 \u0444\u0430\u0439\u043b \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0435 UID \u0438 GID (\u043f\u043e \u0438\u0434\u0435\u0435 1001:1001, \u043d\u043e \u043c\u0430\u043b\u043e \u043b\u0438...) $ chroot ${WORKDIR}\/vanilla id -u ca &gt; ${WORKDIR}\/ca.uid $ chroot ${WORKDIR}\/vanilla id -g ca &gt; ${WORKDIR}\/ca.gid  # \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e UTF-8 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 $ echo &quot;setenv MM_CHARSET UTF-8&quot; &gt;&gt; ${WORKDIR}\/vanilla\/home\/ca\/.login $ echo &quot;setenv LANG en_US.UTF-8&quot; &gt;&gt; ${WORKDIR}\/vanilla\/home\/ca\/.login  # \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043a\u043e\u043d\u0435\u0446 path \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0441\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u043c\u0438 \u0426\u0421 (\u0440\u0430\u0437\u0434\u0435\u043b \u0441 \u043d\u0438\u043c\u0438 \u0431\u0443\u0434\u0435\u043c \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \/ca) # \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d \u043b\u0438\u0448\u044c \u043e\u0434\u0438\u043d openssl - \u043b\u0438\u0431\u043e \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u043b\u0438\u0431\u043e \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439. $ echo &quot;set path = (\/sbin \/bin \/usr\/sbin \/usr\/bin \/usr\/local\/sbin \/usr\/local\/bin \/ca)&quot; &gt;&gt; ${WORKDIR}\/vanilla\/home\/ca\/.cshrc  # vi \u043c\u044b \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c, \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0441\u0432\u043e\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e EDITOR $ echo &quot;setenv EDITOR jupp&quot; &gt;&gt; ${WORKDIR}\/vanilla\/home\/ca\/.cshrc  # \u041c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0426\u0421 $ echo &quot;setenv OPENSSL_CONF \/ca\/conf\/ca.conf&quot; &gt;&gt; ${WORKDIR}\/vanilla\/home\/ca\/.login $ echo &quot;setenv CA_OID 1.3.6.1.4.1.nnnnn&quot; &gt;&gt; ${WORKDIR}\/vanilla\/home\/ca\/.login <\/code><\/pre>\n<p>  \u0415\u0449\u0451 \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 conf\/ca.sh, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u0432 chroot \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438 \u0438\u0437-\u043f\u043e\u0434 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f &#8216;ca&#8217; \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0432 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0441 \u0435\u0433\u043e \u043f\u0440\u0430\u0432\u0430\u043c\u0438.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">conf\/ca.sh<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">#!\/bin\/sh -ex ## # conf\/ca.sh ##  cd ~  # \u0417\u0434\u0435\u0441\u044c \u043c\u044b \u0438\u0437-\u043f\u043e\u0434 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f 'ca' \u0434\u0435\u043b\u0430\u0435\u043c \u043a\u0430\u043a\u0438\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u0432\u0435\u0449\u0438  # 1. \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0434\u043b\u044f \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0433\u043e \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 clex  mkdir -p ~\/.config\/clex  cat &lt;&lt; EOF &gt; ~\/.config\/clex\/config # # CLEX configuration file # CMD_F3=more -- $f CMD_F4=puff -- $f CMD_F5=cp -ir -- $f $2 CMD_F6=mv -i -- $f $2 CMD_F7=mkdir --  CMD_F8=rm -- $f EOF  # 2. \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0434\u043b\u044f vi  #cat &lt;&lt; EOF &gt; ~\/.nexrc #set verbose showmode #set nomesg #EOF  # 3. \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0444\u0430\u0439\u043b .logout, \u043e\u043d \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u0437\u0436\u0435 touch .logout <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0414\u0430\u043d\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0434\u043e \u0447\u0438\u0441\u0442\u043a\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u043f\u043e\u043a\u0430 \u0432 ${WORKDIR}\/vanilla \u0435\u0449\u0451 \u0435\u0441\u0442\u044c su.<\/p>\n<pre><code class=\"bash\"># \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c conf\/ca.sh \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 r-xr-xr-x \u0432 ${WORKDIR}\/vanilla\/home\/ca $ install -m 0555 -o root -g wheel conf\/ca.sh ${WORKDIR}\/vanilla\/home\/ca\/  # \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c $ chroot ${WORKDIR}\/vanilla su - ca -c \/home\/ca\/ca.sh  # \u0423\u0434\u0430\u043b\u044f\u0435\u043c $ rm -f ${WORKDIR}\/vanilla\/home\/ca\/ca.sh <\/code><\/pre>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u0444\u0430\u0439\u043b\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438. \u0412\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u043b\u0435\u0436\u0430\u0442 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 ${BASE}\/conf, \u043e\u0442\u043a\u0443\u0434\u0430 \u043c\u044b \u0438\u0445 \u043f\u043e\u0442\u043e\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0432 \u043d\u0443\u0436\u043d\u044b\u0435 \u043c\u0435\u0441\u0442\u0430.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">conf\/fstab<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">## # conf\/fstab ## \/dev\/md0\t\t\/\tufs\trw\t\t\t\t\t0 0  # 50 \u041c\u0431 \u043d\u0430 \/tmp. tmpfs\t\t\t\/tmp\ttmpfs\trw,mode=1777,size=50m,noexec \t\t0 0  # noauto \/dev\/gpt\/ca\t\t\/ca\t\tufs\trw,noauto,noatime\t\t0 0 \/dev\/gpt\/keys.eli\t\/ca.keys\tufs\tro,noauto,noatime\t\t0 0 \/dev\/gpt\/exchange\t\/ca.certs\tmsdosfs\trw,longnames,-u=ca,-g=ca,-m=0640,-M=0750,noauto,noatime\t0 0 <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u0440\u0430\u0437\u0434\u0435\u043b \u0443 \u043d\u0430\u0441 \u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0438\u0437 mfs, \u0430 \/tmp \u0432 tmpfs. \u041c\u043e\u0436\u043d\u043e \/tmp \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043d\u0435 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432 \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435, \u043d\u043e \u0442\u043e\u0433\u0434\u0430 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0444\u043b\u0435\u0448\u043a\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430 \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u0431\u0440\u0430\u0437\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b. \u041f\u0440\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \/tmp \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f freebsd-update \u0434\u043b\u044f \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432, \u0441\u0430\u043c\u044b\u0439 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0438\u0437 \u043d\u0438\u0445 \u0432 \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u044d\u0442\u043e GENERIC \u044f\u0434\u0440\u043e, \u043e\u043a\u043e\u043b\u043e 17 \u041c\u0431, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0438\u043b\u044c\u043d\u043e \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u043c \u044d\u0442\u043e\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u043b\u0443\u0447\u0448\u0435 \u043d\u0435 \u0434\u0435\u043b\u0430\u0442\u044c.<\/p>\n<p>  \u0420\u0430\u0437\u0434\u0435\u043b \/dev\/gpt\/ca \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d \u0434\u043b\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043d\u0430\u0448\u0435\u0433\u043e \u0426\u0421, \/dev\/gpt\/keys.eli \u2014 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e geli \u0440\u0430\u0437\u0434\u0435\u043b \/dev\/gpt\/keys \u0441 \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u043c\u0438 \u043a\u043b\u044e\u0447\u0430\u043c\u0438, \/dev\/gpt\/exchange \u2014 FAT \u0440\u0430\u0437\u0434\u0435\u043b \u0434\u043b\u044f \u043e\u0431\u043c\u0435\u043d\u0430 \u0441 \u0432\u043d\u0435\u0448\u043d\u0438\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438. \u0415\u0433\u043e \u043c\u044b \u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u0434\u043b\u0438\u043d\u043d\u044b\u0445 \u0438\u043c\u0451\u043d, \u043d\u043e \u0431\u0435\u0437 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0438\u0445 \u043f\u0435\u0440\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0438 \u2014 \u043f\u0440\u0438\u043d\u044f\u0442\u043e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0438\u0430\u043b\u044c\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043e\u0431 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043b\u0438\u0448\u044c ASCII \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u0438\u043c\u0435\u043d\u0430\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u043d\u0430 \u044d\u0442\u043e\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u0438 \u044f\u0434\u0440\u043e \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c \u0431\u0435\u0437 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 iconv.<\/p>\n<p>  \u042d\u0442\u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u044b \u043c\u044b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435 \u043d\u0435 \u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c (\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 noauto), \u0442\u0430\u043a \u043a\u0430\u043a \u043f\u0440\u0438 \u043a\u0430\u043a\u0438\u0445-\u0442\u043e \u043d\u0435\u043f\u043e\u043b\u0430\u0434\u043a\u0430\u0445 (\u0442\u0440\u0438\u0436\u0434\u044b \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0432\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f geli, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0447\u0442\u043e \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0440\u0430\u0437\u0434\u0435\u043b keys.eli) \u043d\u0430\u0441 \u0432\u044b\u043a\u0438\u043d\u0435\u0442 \u0432 \u043e\u0434\u043d\u043e\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u0440\u0435\u0436\u0438\u043c. \u0423 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \u0431\u0443\u0434\u0435\u0442 \u0448\u043e\u043a \u0438 \u043c\u043e\u0440\u0430\u043b\u044c\u043d\u0430\u044f \u0442\u0440\u0430\u0432\u043c\u0430. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044d\u0442\u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u044b \u0431\u0443\u0434\u0435\u043c \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 userspace \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f &#8216;ca&#8217;, \u0434\u043b\u044f \u0447\u0435\u0433\u043e \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0432\u043a\u043b\u044e\u0447\u0438\u043c \u0435\u0433\u043e \u0432 \u0433\u0440\u0443\u043f\u043f\u0443 operator \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438 devfs \u0438 sysctl (\u043d\u0438\u0436\u0435) \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u043e\u043b\u043d\u043e\u043c\u043e\u0447\u0438\u044f.<\/p>\n<blockquote><p>\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u2014 \u0432 fstab \u0440\u0430\u0437\u0434\u0435\u043b \u0441 \u043a\u043b\u044e\u0447\u0430\u043c\u0438 \u0434\u043b\u044f \u0426\u0421 \u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0435\u0440\u0435\u0434 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435\u043c \u043a\u043b\u044e\u0447\u0435\u0439 \u043d\u0430\u0434\u043e \u043d\u0435 \u0437\u0430\u0431\u044b\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 (mount -u -o rw \/dev\/gpt\/keys.eli).  <\/p><\/blockquote>\n<p>  <\/p>\n<pre><code class=\"bash\"># \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432 \u0426\u0421. \u041f\u0440\u0438\u043c\u0435\u043d\u0438\u043c\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0444\u043b\u0435\u0448\u043a\u0438, # \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0441 CD \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u0441\u043a\u0430\u043a\u0438\u0432\u0430\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0438 \u043e\u0431 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0440\u0430\u0437\u0434\u0435\u043b\u0430\u0445 $ echo &quot;mount \/dev\/gpt\/ca&quot; &gt;&gt; ${WORKDIR}\/vanilla\/home\/ca\/.login $ echo &quot;mount \/dev\/gpt\/keys.eli&quot; &gt;&gt; ${WORKDIR}\/vanilla\/home\/ca\/.login $ echo &quot;mount \/dev\/gpt\/exchange&quot; &gt;&gt; ${WORKDIR}\/vanilla\/home\/ca\/.login  # \u0418 \u0440\u0430\u0437\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 $ echo &quot;umount \/dev\/gpt\/ca&quot; &gt;&gt; ${WORKDIR}\/vanilla\/home\/ca\/.logout $ echo &quot;umount \/dev\/gpt\/keys.eli&quot; &gt;&gt; ${WORKDIR}\/vanilla\/home\/ca\/.logout $ echo &quot;umount \/dev\/gpt\/exchange&quot; &gt;&gt; ${WORKDIR}\/vanilla\/home\/ca\/.logout <\/code><\/pre>\n<p>  <\/p>\n<blockquote><p>\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u2014 \u0435\u0441\u043b\u0438 \u0444\u0430\u0439\u043b\u044b .login \u0438 .cshrc \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043b\u0438 \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f &#8216;ca&#8217;, \u0438 \u043c\u044b \u043c\u043e\u0433\u043b\u0438 \u0434\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0442\u0443\u0434\u0430 \u0431\u0435\u0437 \u043e\u043f\u0430\u0441\u0435\u043d\u0438\u044f \u043f\u043e\u0440\u0447\u0438 \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430 \u0438\u043b\u0438 \u043f\u0440\u0430\u0432, \u0442\u043e \u0444\u0430\u0439\u043b .logout \u043f\u0440\u0438 \u0437\u0430\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0435 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0441\u044f. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u0435\u0441\u043b\u0438 \u043c\u044b \u043d\u0435 \u0445\u043e\u0442\u0438\u043c, \u0447\u0442\u043e\u0431\u044b \u0435\u0433\u043e \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0435\u043c \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f root:ca, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0435\u0433\u043e \u0438\u0437-\u043f\u043e\u0434 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f ca, \u0445\u043e\u0442\u044f \u0431\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 conf\/ca.sh  <\/p><\/blockquote>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u0448\u0435\u043c\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e &#8216;ca&#8217; \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0435 \u0444\u043b\u0435\u0448\u043a\u0438 \u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u044b \u043d\u0430 \u043d\u0430\u0448\u0435\u0439 \u0444\u043b\u0435\u0448\u043a\u0435 (\u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438 \u0426\u0421, \u043a\u043b\u044e\u0447\u0430\u043c\u0438, \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u043c \u043e\u0431\u043c\u0435\u043d\u0430). <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">conf\/devfs.rules<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">## # conf\/devfs.rules ## [localrules=5] # \u041f\u0440\u0430\u0432\u0438\u043b\u043e \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0439 \u043c\u0443\u043b\u044c\u0442\u0438\u0444\u043b\u0435\u0448\u043a\u0438 # '\/dev\/' \u043d\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c add path 'gpt\/*' group operator mode 0660 # \u041f\u0440\u0430\u0432\u0438\u043b\u043e \u0434\u043b\u044f \u043e\u0431\u044b\u0447\u043d\u044b\u0445 \u0444\u043b\u0435\u0448\u0435\u043a add path 'da*' group operator mode 0660 <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0424\u043b\u0435\u0448\u043a\u0443 \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0437\u0431\u0438\u0432\u0430\u0442\u044c \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c GPT, \u0435\u0451 \u0440\u0430\u0437\u0434\u0435\u043b\u044b \u0430\u0434\u0440\u0435\u0441\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u043c\u0435\u0442\u043a\u0430\u043c \u0432\u0438\u0434\u0430 \/dev\/gpt\/label<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">conf\/sysctl.conf<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">## # conf\/sysctl.conf ##  # allow regular users to mount file systems vfs.usermount=1 <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0432 sysctl.conf<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">conf\/ttys<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">## # conf\/ttys ##  # # $FreeBSD: releng\/10.1\/etc\/etc.i386\/ttys 267236 2014-06-08 17:50:07Z nwhitehorn $ #\t@(#)ttys\t5.1 (Berkeley) 4\/17\/89 # console\tnone\t\t\t\tunknown\toff secure  # \u0422\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u0441 \u0430\u0432\u0442\u043e\u043b\u043e\u0433\u0438\u043d\u043e\u043c 'ca' ttyv0\t&quot;\/usr\/libexec\/getty CA&quot;\t\txterm\ton  secure  # \u0422\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u0434\u043b\u044f 'root' ttyv1\t&quot;\/usr\/libexec\/getty Pc&quot;\t\txterm\ton  secure <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0414\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0434\u0432\u0430 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430 (\u043e\u0431\u0430 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c xterm). \u041f\u0435\u0440\u0432\u044b\u0439 \u2014 \u0441 \u0430\u0432\u0442\u043e\u043b\u043e\u0433\u0438\u043d\u043e\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f &#8216;ca&#8217; (\u0441\u043c. \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 gettytab \u043d\u0438\u0436\u0435), \u0432\u0442\u043e\u0440\u043e\u0439 \u0434\u043b\u044f &#8216;root&#8217;, \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u0432\u0445\u043e\u0434 \u0441 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u043c \u043f\u0430\u0440\u043e\u043b\u044f.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">conf\/gettytab<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">## # conf\/gettytab ##  # $FreeBSD: releng\/10.1\/etc\/gettytab 241708 2012-10-18 22:20:02Z peterj $ #\tfrom: @(#)gettytab\t5.14 (Berkeley) 3\/27\/91 # default:\\ \t:cb:ce:ck:lc:fd#1000:im=\\r\\n%s\/%m (%h) (%t)\\r\\n\\r\\n:sp#1200:\\ \t:if=\/etc\/issue:  P|Pc|Pc console:\\ \t:ht:np:sp#9600:  # \u041f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0430\u0432\u0442\u043e\u043b\u043e\u0433\u0438\u043d \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f 'ca' CA:\\ \t:al=ca:tc=Pc: <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0412 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043b\u0438\u0448\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0446\u0438\u0439 \u2014 default, Pc \u2014 \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f &#8216;root&#8217; \u0438 \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u043d\u043e\u0432\u0443\u044e \u0441\u0435\u043a\u0446\u0438\u044e CA, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0430\u0432\u0442\u043e\u043b\u043e\u0433\u0438\u043d \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f &#8216;ca&#8217;, \u0430 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u0442\u0441\u044f \u0438\u0437 Pc \u0438 default.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u0444\u0430\u0439\u043b issue, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u0435 \u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0430 \u0442\u043e\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u0438\u0441\u044c. \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u043d\u0435 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d by design, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0447\u0430\u0441\u0438\u043a\u0438 \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0432\u0440\u0443\u0447\u043d\u0443\u044e. \u0411\u043b\u0430\u0433\u043e, \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0426\u0421 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c \u043f\u043b\u044e\u0441-\u043c\u0438\u043d\u0443\u0441 \u043c\u0438\u043d\u0443\u0442\u0430 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043d\u0435 \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u0430.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">conf\/issue<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">====^^^=^^=^^=^^=^^== == \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0432\u0440\u0435\u043c\u044f == <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0411\u0435\u0440\u0451\u043c \u0444\u0430\u0439\u043b etc\/defaults\/rc.conf, \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0432 \u043d\u0430\u0448 conf\/ \u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u043c \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0432\u0441\u0451 \u043b\u0438\u0448\u043d\u0435\u0435.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">conf\/rc.conf<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">## # conf\/rc.conf ##  # # $FreeBSD: releng\/10.1\/etc\/defaults\/rc.conf 273188 2014-10-16 22:00:24Z hrs $  ############################################################## ###  Important initial Boot-time options  #################### ##############################################################  rc_debug=&quot;NO&quot;\t\t# Set to YES to enable debugging output from rc.d rc_info=&quot;YES&quot;\t\t# Enables display of informational messages at boot. devd_enable=&quot;NO&quot; \t# Run devd, to trigger programs on device tree changes. devd_flags=&quot;&quot;\t\t# Additional flags for devd(8).  gptboot_enable=&quot;YES&quot;\t# GPT boot success\/failure reporting.  # GELI disk encryption configuration. geli_devices=&quot;gpt\/keys&quot;\t# List of devices to automatically attach in addition to \t\t\t# GELI devices listed in \/etc\/fstab. geli_tries=&quot;&quot;\t\t# Number of times to attempt attaching geli device. \t\t\t# If empty, kern.geom.eli.tries will be used. geli_default_flags=&quot;&quot;\t# Default flags for geli(8). geli_autodetach=&quot;YES&quot;\t# Automatically detach on last close. \t\t\t# Providers are marked as such when all file systems are \t\t\t# mounted. # Example use. #geli_devices=&quot;da1 mirror\/home&quot; #geli_da1_flags=&quot;-p -k \/etc\/geli\/da1.keys&quot; #geli_da1_autodetach=&quot;NO&quot; #geli_mirror_home_flags=&quot;-k \/etc\/geli\/home.keys&quot;  fsck_y_enable=&quot;NO&quot;\t# Set to YES to do fsck -y if the initial preen fails. fsck_y_flags=&quot;&quot;\t\t# Additional flags for fsck -y # \u0420\u0430\u0437\u0434\u0435\u043b\u044b \u043d\u0430 \u0444\u043b\u0435\u0448\u043a\u0435 \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u0431\u0435\u0437 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0441\u043d\u0430\u043f\u0448\u043e\u0442\u043e\u0432, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0432 &quot;NO&quot; background_fsck=&quot;NO&quot;\t# Attempt to run fsck in the background where possible.  ############################################################## ###  Network configuration sub-section  ###################### ##############################################################  ### Basic network and firewall\/security options: ### hostname=&quot;root2sub1&quot;\t\t# Set this! hostid_enable=&quot;NO&quot;\t\t# Set host UUID.  #network_interfaces=&quot;lo0&quot;\t# List of network interfaces (or &quot;auto&quot;). #ifconfig_lo0=&quot;inet 127.0.0.1&quot;\t# default loopback device configuration. network_interfaces=&quot;&quot;\t\t# List of network interfaces (or &quot;auto&quot;).  ### Network daemon (miscellaneous) ### hostapd_enable=&quot;NO&quot;\t\t# Run hostap daemon. syslogd_enable=&quot;NO&quot;\t\t# Run syslog daemon (or NO).  ### IPv6 options: ### ip6addrctl_enable=&quot;NO&quot;\t\t# Set to YES to enable default address selection ipv6_network_interfaces=&quot;none&quot;\t# List of IPv6 network interfaces \t\t\t\t# (or &quot;auto&quot; or &quot;none&quot;).  ############################################################## ###  Mail Transfer Agent (MTA) options  ###################### ##############################################################  # Settings for \/etc\/rc.sendmail and \/etc\/rc.d\/sendmail: sendmail_enable=&quot;NO&quot;\t# Run the sendmail inbound daemon (YES\/NO).  ############################################################## ###  Miscellaneous administrative options  ################### ##############################################################  # \u042d\u0442\u043e \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431 \u044e\u0437\u0435\u0440 'ca' \u043c\u043e\u0433 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u043b\u0435\u0448\u043a\u0438 devfs_rulesets=&quot;\/etc\/defaults\/devfs.rules \/etc\/devfs.rules&quot; # Files containing \t\t\t\t\t\t\t    # devfs(8) rules. devfs_system_ruleset=&quot;localrules&quot;\t# The name (NOT number) of a ruleset to apply to \/dev devfs_set_rulesets=&quot;&quot;\t# A list of \/mount\/dev=ruleset_name settings to \t\t\t# apply (must be mounted already, i.e. fstab(5)) devfs_load_rulesets=&quot;YES&quot;\t# Enable to always load the default rulesets  cron_enable=&quot;NO&quot;\t# Run the periodic job daemon. crashinfo_enable=&quot;NO&quot;\t# Automatically generate crash dump summary.  kern_securelevel_enable=&quot;NO&quot;\t# kernel security level (see security(7)) kern_securelevel=&quot;-1&quot;\t# range: -1..3 ; `-1' is the most insecure \t\t\t# Note that setting securelevel to 0 will result \t\t\t# in the system booting with securelevel set to 1, as \t\t\t# init(8) will raise the level when rc(8) completes.  update_motd=&quot;NO&quot;\t# update version info in \/etc\/motd (or NO) entropy_file=&quot;NO&quot;\t# Set to NO to disable caching entropy through reboots. \t\t\t# \/var\/db\/entropy-file is preferred if \/ is not avail. dmesg_enable=&quot;YES&quot;\t# Save dmesg(8) to \/var\/run\/dmesg.boot  newsyslog_enable=&quot;NO&quot;\t# Run newsyslog at startup. mixer_enable=&quot;NO&quot;\t# Run the sound mixer.   ############################################################## ###  System console options  ################################# ##############################################################  #keyboard=&quot;&quot;\t\t# keyboard device to use (default \/dev\/kbd0). keymap=&quot;ru.win&quot;\t\t# keymap in \/usr\/share\/{syscons,vt}\/keymaps\/* (or NO). keyrate=&quot;fast&quot;\t\t# keyboard rate to: slow, normal, fast (or NO). #keybell=&quot;NO&quot; \t\t# See kbdcontrol(1) for options.  Use &quot;off&quot; to disable. #keychange=&quot;NO&quot;\t\t# function keys default values (or NO). #cursor=&quot;NO&quot;\t\t# cursor type {normal|blink|destructive} (or NO). #scrnmap=&quot;NO&quot;\t\t# screen map in \/usr\/share\/syscons\/scrnmaps\/* (or NO). #font8x14=&quot;NO&quot;\t\t# font 8x14 from \/usr\/share\/{syscons,vt}\/fonts\/* (or NO). #font8x8=&quot;NO&quot;\t\t# font 8x8 from \/usr\/share\/{syscons,vt}\/fonts\/* (or NO). blanktime=&quot;NO&quot;\t\t# blank time (in seconds) or &quot;NO&quot; to turn it off. moused_nondefault_enable=&quot;NO&quot; # Treat non-default mice as enabled unless \t\t\t       # specifically overriden in rc.conf(5).  # \u0421\u044e\u0434\u0430, \u043f\u0440\u0438 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 \u0441\u0432\u043e\u0438\u0445 \u0448\u0440\u0438\u0444\u0442\u043e\u0432 \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0430 font8x16=&quot;xxx.fnt&quot; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0421\u0435\u043a\u0446\u0438\u044f \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 geli_ \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u043f\u043e\u0437\u0436\u0435. \u041f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c hostname. \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0434\u043b\u044f devfs \u2014 \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u0442\u044f\u0433\u0438\u0432\u0430\u043b\u0438\u0441\u044c \u043d\u0430\u0448\u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043b\u044f \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u043b\u0435\u0448\u0435\u043a. \u0421\u0442\u043e\u0438\u0442 \u0438\u043c\u0435\u0442\u044c \u0432 \u0432\u0438\u0434\u0443, \u0447\u0442\u043e freebsd-update \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 kern.securelevel &gt; 0. \u0418, \u043d\u0430\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u043a, \u0432 \u0441\u0435\u043a\u0446\u0438\u0438 System console options \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043c \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u0438\u0439 \u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b. \u0424\u0430\u0439\u043b \u0440\u0443\u0441\u0441\u043a\u043e\u0433\u043e \u0448\u0440\u0438\u0444\u0442\u0430 \u0437\u0434\u0435\u0441\u044c \u043c\u044b \u043d\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u2014 \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0439, \u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043f\u043e\u0437\u0436\u0435, \u0435\u0441\u043b\u0438 \u0441\u0432\u043e\u0435\u0433\u043e \u043d\u0435\u0442\u0443 \u2014 \u0442\u043e \u043f\u0443\u0441\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">conf\/hosts<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">## # conf\/hosts ## 127.0.0.1\tlocalhost <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041f\u0443\u0441\u0442\u044c \u0431\u0443\u0434\u0435\u0442.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">conf\/termcap<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"># # conf\/termcap #  #\t@(#)termcap.src\t8.2 (Berkeley) 11\/17\/93 # $FreeBSD: releng\/10.1\/share\/termcap\/termcap.src 267734 2014-06-22 16:48:21Z gavin $  xterm|X11 terminal emulator:\\ \t:tc=xterm-new: # To add a termcap entry under FreeBSD for a new terminal type, insert # the entry in the appropriate location in \/etc\/termcap then issue this # command: # #  cap_mkdb \/etc\/termcap # xterm-clear:\\ \t:te=\\E[?1049l:ti=\\E[?1049h:\\ \t:tc=xterm-new: xterm-new|modern xterm:\\ \t:@7=\\EOF:@8=\\EOM:F1=\\E[23~:F2=\\E[24~:K2=\\EOE:Km=\\E[M:\\ \t:k1=\\EOP:k2=\\EOQ:k3=\\EOR:k4=\\EOS:k5=\\E[15~:k6=\\E[17~:\\ \t:k7=\\E[18~:k8=\\E[19~:k9=\\E[20~:k;=\\E[21~:kI=\\E[2~:\\ \t:kN=\\E[6~:kP=\\E[5~:kd=\\EOB:kh=\\EOH:kl=\\EOD:kr=\\EOC:ku=\\EOA:\\ \t:tc=xterm-basic: # # This chunk is used for building the VT220\/Sun\/PC keyboard variants. xterm-basic|modern xterm common:\\ \t:am:bs:km:mi:ms:ut:xn:AX:\\ \t:Co#8:co#80:kn#12:li#24:pa#64:\\ \t:AB=\\E[4%dm:AF=\\E[3%dm:AL=\\E[%dL:DC=\\E[%dP:DL=\\E[%dM:\\ \t:DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:ae=\\E(B:al=\\E[L:\\ \t:as=\\E(0:bl=^G:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[2J:\\ \t:cm=\\E[%i%d;%dH:cs=\\E[%i%d;%dr:ct=\\E[3g:dc=\\E[P:dl=\\E[M:\\ \t:ei=\\E[4l:ho=\\E[H:im=\\E[4h:is=\\E[!p\\E[?3;4l\\E[4l\\E&gt;:\\ \t:kD=\\E[3~:kb=^H:ke=\\E[?1l\\E&gt;:ks=\\E[?1h\\E=:kB=\\E[Z:le=^H:md=\\E[1m:\\ \t:me=\\E[m:ml=\\El:mr=\\E[7m:mu=\\Em:nd=\\E[C:op=\\E[39;49m:\\ \t:rc=\\E8:rs=\\E[!p\\E[?3;4l\\E[4l\\E&gt;:sc=\\E7:se=\\E[27m:sf=^J:\\ \t:so=\\E[7m:sr=\\EM:st=\\EH:\\ \t:ue=\\E[24m:up=\\E[A:us=\\E[4m:ve=\\E[?12l\\E[?25h:vi=\\E[?25l:vs=\\E[?12;25h:  # # END OF TERMCAP # ------------------------ <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0421\u0434\u0435\u043b\u0430\u0435\u043c \u0443\u0440\u0435\u0437\u0430\u043d\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0444\u0430\u0439\u043b\u0430 termcap, \u043e\u0441\u0442\u0430\u0432\u0438\u043c \u0442\u0430\u043c \u0442\u043e\u043b\u044c\u043a\u043e xterm* \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u044b \u2014 \u044d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440 termcap.db.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">conf\/freebsd-update.conf<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">## # conf\/freebsd-update.conf ## # $FreeBSD: releng\/10.1\/etc\/freebsd-update.conf 258121 2013-11-14 09:14:33Z glebius $  # Trusted keyprint. KeyPrint 800651ef4b4c71c27e60786d7b487188970f4b4169cc055784e21eb71d410cc5  # Server or server pool from which to fetch updates. ServerName update.FreeBSD.org  # Components of the base system which should be kept updated. Components world kernel  # Directory in which to store downloaded updates and temporary # files used by FreeBSD Update. WorkDir \/mnt  # When installing a new kernel perform a backup of the old one first # so it is possible to boot the old kernel in case of problems. BackupKernel no <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0444\u043b\u0435\u0448\u043a\u0443 \u0441 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \/mnt. \u041f\u0440\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438 \u044f\u0434\u0440\u0430 \u0441\u0442\u0430\u0440\u043e\u0435 \u043d\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c.<\/p>\n<p>  \u0414\u0432\u0438\u0436\u0438\u043c\u044b\u0435 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e\u043b\u044e\u0431\u0438\u0435\u043c \u043a \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u043c \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u043e\u0432\u0441\u0435 \u043d\u0435 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 FreeBSD, \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0435\u0449\u0451 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0444\u0430\u0439\u043b\u043e\u0432:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">conf\/motd<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">\u0414\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u0441\u043f\u0440\u0430\u0432\u043a\u0438 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 'help'  \u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0438 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b - Ctrl+Shift <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0418 \u0434\u0432\u0430 \u0444\u0430\u0439\u043b\u0430 \u2014 help \u0438 manpath, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u043f\u043e\u0442\u043e\u043c \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u043c \u0432 usr\/bin<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">conf\/help<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">#!\/bin\/sh ## # conf\/help ##  cat &lt;&lt; EOF \u0414\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u043e\u0431\u0440\u0430\u0437 mfs2: $ mount \/dev\/gpt\/system \/mnt $ mdconfig -a -t vnode -f \/mnt\/mfs2 -u 1 $ mount \/dev\/md1 \/media ... \u0417\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0432 \/m\u0435dia ... $ umount \/media $ mdconfig -d -u 1 $ umount \/mnt  \u0414\u043b\u044f \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f MS DOS (as root) $ mount_msdosfs -u ca -g ca -m 0640 -M 0750 -l \/dev\/da1s1 \/mnt (as user) $ mount_msdosfs -m 0640 -M 0750 -l \/dev\/da1s1 ~\/mnt  \u0414\u043b\u044f \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0430\u0446\u0438\u0438 DOS \u0441\u0442\u0440\u043e\u043a (CR\/LF) \u0432 Unix \u0444\u043e\u0440\u043c\u0430\u0442: $ tr -d '\\r' &lt; in.txt &gt; out.txt  \u0414\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 (as root) $ date \u0413\u0413\u041c\u041c\u0414\u0414\u0447\u0447\u043c\u043c.\u0441\u0441 \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0437\u043e\u043d\u0443  \u0421\u043e\u0437\u0434\u0430\u0442\u044c memory disk $ mount -t tmpfs -o size=100m tmpfs ~\/mnt EOF <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0422\u0430\u043a \u043a\u0430\u043a man \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u0432 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442, \u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 help<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">conf\/manpath<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">#!\/bin\/sh ## # conf\/manpath ##  # \u0422\u0430\u043a \u043a\u0430\u043a \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0441 WITHOUT_MAN=, \u0442\u043e \u0443\u0442\u0438\u043b\u0438\u0442\u0430 manpath \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442, \u0430 \u0431\u0435\u0437 \u043d\u0435\u0451 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 whereis  echo &quot;&quot; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0412\u0442\u043e\u0440\u043e\u0439 \u0444\u0430\u0439\u043b, manpath \u2014 \u044d\u0442\u043e \u0437\u0430\u0433\u043b\u0443\u0448\u043a\u0430 \u0434\u043b\u044f \u043e\u0431\u0445\u043e\u0434\u0430 \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u044b whereis, \u043a\u043e\u0442\u043e\u0440\u0430\u044f, \u0434\u0430\u0436\u0435 \u043f\u0440\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0438 \u043f\u043e\u0438\u0441\u043a\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u0434\u0432\u043e\u0438\u0447\u043d\u044b\u043c \u0444\u0430\u0439\u043b\u0430\u043c (&#8216;-b&#8217;) \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u0435\u0442\u0441\u044f \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 \u043f\u0440\u0438 \u0431\u0435\u0437\u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0432\u044b\u0437\u043e\u0432\u0430 \u0443\u0442\u0438\u043b\u0438\u0442\u044b manpath, \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043d\u0435\u0442 \u0432 \u043d\u0430\u0448\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0432 \u0441\u0438\u043b\u0443 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043c\u0438\u0440\u0430 \u0441 \u043e\u043f\u0446\u0438\u0435\u0439 WITHOUT_MAN=.<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043d\u0430\u0448\u0438 \u0444\u0430\u0439\u043b\u044b \u0438\u0437 conf\/ \u0432 ${WORKDIR}\/vanilla \u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443<\/p>\n<pre><code class=\"bash\"># \u0432 etc # \u0420\u0430\u0437\u0431\u0438\u0442\u043e \u043d\u0430 \u0434\u0432\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0434\u043b\u044f \u043b\u0443\u0447\u0448\u0435\u0439 \u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0441\u0442\u0438 $ install -m 0644 -o root -g wheel conf\/{devfs.rules,freebsd-update.conf,fstab,gettytab} ${WORKDIR}\/vanilla\/etc\/ $ install -m 0644 -o root -g wheel conf\/{hosts,issue,motd,rc.conf,sysctl.conf,ttys} ${WORKDIR}\/vanilla\/etc\/  # \u0432 usr\/bin $ install -m 0555 -o root -g wheel conf\/{help,manpath} ${WORKDIR}\/vanilla\/usr\/bin\/  # \u0432 usr\/share\/misc $ install -m 0644 -o root -g wheel conf\/termcap ${WORKDIR}\/vanilla\/usr\/share\/misc\/  # \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0437\u043e\u043d\u0443. $ tzsetup -s -C ${WORKDIR}\/vanilla Asia\/Yekaterinburg  # \u0422\u0430\u043a \u043a\u0430\u043a \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c\u0441\u044f \u0441 \u0444\u043b\u0435\u0448\u043a\u0438 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043d\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430\u0445, \u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f # \u0441\u0438\u0441\u0442\u0435\u043c\u0430 Windows, \u0442\u043e \u0447\u0430\u0441\u044b \u043d\u0430 \u043d\u0438\u0445 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b \u043f\u043e \u043c\u0435\u0441\u0442\u043d\u043e\u043c\u0443 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0430 \u043d\u0435 UTC. # Empty file. Its presence indicates that the machine's CMOS clock is set to local time. $ touch ${WORKDIR}\/vanilla\/etc\/wall_cmos_clock  # \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f root (\u043f\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044e) $ pw -V ${WORKDIR}\/vanilla\/etc usermod root -h 0 <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0432\u0438\u0434\u0435\u0442\u044c \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0434\u0440\u0443\u0433\u043e\u0439 \u0448\u0440\u0438\u0444\u0442, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u0442\u0430\u0440\u044b\u0439 \u0434\u043e\u0431\u0440\u044b\u0439 keyrus, \u0442\u043e \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u0441 <a href=\"http:\/\/habrahabr.ru\/post\/137544\/\">habrahabr.ru\/post\/137544<\/a> \u043c\u043e\u0436\u043d\u043e \u0432\u0437\u044f\u0442\u044c keyrus.bdf \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u043d\u0430\u0448\u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u0443.<\/p>\n<pre><code class=\"bash\">$ vtfontcvt tools\/keyrus.bdf keyrus.fnt $ install -m 0444 -o root -g wheel keyrus.fnt ${WORKDIR}\/vanilla\/usr\/share\/vt\/fonts\/ $ echo 'font8x16=&quot;keyrus.fnt&quot;' &gt;&gt; ${WORKDIR}\/vanilla\/etc\/rc.conf <\/code><\/pre>\n<p>  <\/p>\n<h2>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438<\/h2>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0441\u0442\u0430\u043b \u0447\u0435\u0440\u0451\u0434 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u044d\u0442\u0430\u043f\u0430 \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b. \u042f\u0434\u0440\u0430, \u043c\u043e\u0434\u0443\u043b\u0438, \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a, \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u043e\u0435 \u043c\u0435\u043d\u044e. \u041f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0440\u0430\u0437\u0434\u0435\u043b\u0430\u0445 handbook, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0437\u0434\u0435\u0441\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0435\u0451 \u043e\u0441\u0432\u0435\u0449\u0430\u0442\u044c \u043d\u0435\u0442 \u0441\u043c\u044b\u0441\u043b\u0430. \u0412\u0430\u0436\u043d\u043e \u0442\u043e, \u0447\u0442\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u0443 \u2014 loader&#8217;\u0443 \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0440\u0435\u0434\u044a\u044f\u0432\u0438\u0442\u044c \u044f\u0434\u0440\u043e, \u0430 \u044f\u0434\u0440\u0443 \u0443\u0436\u0435 \u0444\u0430\u0439\u043b \u0441 \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043d\u0430\u0448\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b. \u0421\u0438\u0441\u0442\u0435\u043c\u0430 \u0432 ${WORKDIR}\/vanilla \u043f\u043e\u0447\u0442\u0438 \u0433\u043e\u0442\u043e\u0432\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043c \u043e\u0442\u0442\u0443\u0434\u0430 \u044f\u0434\u0440\u0430 \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 ${WORKDIR}\/custom.<\/p>\n<pre><code class=\"bash\"># \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 \u0432 custom\/boot\/ \u0434\u043b\u044f \u0444\u0430\u0439\u043b\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a loader_default.conf \u0438 \u0434\u0432\u0430 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 \u0434\u043b\u044f \u044f\u0434\u0435\u0440 # boot\/kernel\/ - \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0434\u043b\u044f GENERIC \u044f\u0434\u0440\u0430, \u0430 boot\/kernel.cabsd\/ - \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u0441\u0430\u043c\u043e\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e $ mkdir -p ${WORKDIR}\/custom\/boot\/{defaults,kernel,kernel.cabsd}  # \u041f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043c \u044f\u0434\u0440\u0430  # \u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0435 (\u043c\u0438\u043d\u0438) \u044f\u0434\u0440\u043e $ cp -p ${WORKDIR}\/vanilla\/boot\/kernel\/kernel ${WORKDIR}\/custom\/boot\/kernel.cabsd\/  # \u0417\u0430\u043f\u0430\u0441\u043d\u043e\u0435 (GENERIC) \u044f\u0434\u0440\u043e $ cp -p ${WORKDIR}\/vanilla\/tmp\/boot\/kernel\/kernel ${WORKDIR}\/custom\/boot\/kernel\/ <\/code><\/pre>\n<p>  \u041d\u0430\u043c \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043d\u0430\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u043e\u0435 \u043c\u0435\u043d\u044e. \u0423 \u043d\u0430\u0441 \u0434\u0432\u0430 \u044f\u0434\u0440\u0430 \u0438 \u0431\u0443\u0434\u0435\u0442 \u0434\u0432\u0430 \u043e\u0431\u0440\u0430\u0437\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b. \u0412 \u043c\u0435\u043d\u044e \u043c\u044b \u0432\u043a\u043b\u044e\u0447\u0438\u043c \u0442\u0440\u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430: <strike>mff, mmf, ffmm<\/strike>  <\/p>\n<ol>\n<li>\u044f\u0434\u0440\u043e caBSD \u0441 \u043f\u0435\u0440\u0432\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u044b<\/li>\n<li>\u044f\u0434\u0440\u043e GENERIC \u0441 \u043c\u043e\u0434\u0443\u043b\u044f\u043c\u0438 \u0438 \u043f\u0435\u0440\u0432\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u044b<\/li>\n<li>\u044f\u0434\u0440\u043e GENERIC \u0441 \u043c\u043e\u0434\u0443\u043b\u044f\u043c\u0438 \u0438 \u0432\u0442\u043e\u0440\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u044b<\/li>\n<\/ol>\n<p>  \u041f\u0435\u0440\u0432\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0438 \u0431\u0443\u0434\u0435\u0442 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0435\u0439 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u0438 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u043c, \u0447\u0442\u043e \u043e\u0431\u044b\u0447\u043d\u043e \u0432 \u043d\u0435\u0439 \u0438 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c.<\/p>\n<p>  \u0423 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u0442\u0440\u0438 \u0444\u0430\u0439\u043b\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u0430 \u2014 loader.conf \u0434\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438, loader_gen1.conf \u0438 loader_gen2.conf \u2014 \u0434\u043b\u044f GENERIC \u044f\u0434\u0440\u0430 \u0441 \u043f\u0435\u0440\u0432\u044b\u043c \u0438 \u0432\u0442\u043e\u0440\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u043b\u0438\u0448\u044c \u0438\u043c\u0435\u043d\u0435\u043c \u0444\u0430\u0439\u043b\u0430 \u043e\u0431\u0440\u0430\u0437\u0430. \u0418\u0442\u0430\u043a,<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">conf\/loader.conf<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">## # conf\/loader.conf ##  # \u0417\u0430\u0434\u0435\u0440\u0436\u043a\u0430 \u043f\u0435\u0440\u0435\u0434 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 (\u0441\u0435\u043a) autoboot_delay=&quot;5&quot;  # \u042d\u0442\u0438 \u0434\u0432\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 mfs_load=&quot;YES&quot; mfs_type=&quot;md_image&quot;  # \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0441 \u043e\u0431\u0440\u0430\u0437\u0430 mfs1 (\u043c\u044b \u0435\u0433\u043e \u0441\u043e\u0436\u043c\u0451\u043c gzip, \u043d\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 .gz \u043d\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c) mfs_name=&quot;\/mfs1&quot;  # \u041f\u043e\u043b\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u043a \u0444\u0430\u0439\u043b\u0443 \u044f\u0434\u0440\u0430 \u0431\u0443\u0434\u0435\u0442 \/boot\/${kernel}\/${bootfile} kernel=&quot;kernel.cabsd&quot;\t# \/boot sub-directory containing kernel and modules #bootfile=&quot;kernel&quot;\t# Kernel name (possibly absolute path) #kernel_options=&quot;&quot;\t# Flags to be passed to the kernel  # \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043e\u043f\u0446\u0438\u0438 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e newcons: # https:\/\/www.freebsd.org\/cgi\/man.cgi?query=vt(4)  # \u0432 \u044f\u0434\u0440\u043e caBSD \u043c\u044b \u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u043b\u0438 sc, \u0442\u0430\u043c \u0435\u0441\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e vt, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c. # \u041d\u043e \u0434\u043b\u044f GENERIC \u044f\u0434\u0435\u0440 \u043e\u043d \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f, \u0430 \u0442\u043e UTF-8 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442. # \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u043a\u043b\u044e\u0447\u0438\u043c \u0437\u0434\u0435\u0441\u044c kern.vty=vt  # Enable halt keyboard combination. kern.vt.kbd_halt=1 # Enable power off key combination. kern.vt.kbd_poweroff=1 # Enable reboot key combination, usually Ctrl+Alt+Del. kern.vt.kbd_reboot=1 # Enable debug request key combination, usually Ctrl+Alt+Esc. kern.vt.kbd_debug=0 # Enable panic key combination. kern.vt.kbd_panic=0 <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0412 loader.conf \u043c\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0434\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u2014 \u044f\u0434\u0440\u043e caBSD \u0438 \u043e\u0431\u0440\u0430\u0437 mfs1 (\u0435\u0433\u043e \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0447\u0443\u0442\u044c \u043f\u043e\u0437\u0436\u0435). \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0438\u043c\u0435\u0442\u044c \u0432 \u0432\u0438\u0434\u0443, \u0447\u0442\u043e \u043f\u0440\u0438 \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043c\u0435\u043d\u044e, \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0435 \u0432 \u044d\u0442\u043e\u043c \u0444\u0430\u0439\u043b\u0435, \u0431\u0443\u0434\u0443\u0442 \u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0434\u043b\u044f \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0438 \u0442\u0440\u0435\u0442\u044c\u0435\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430. \u0422\u043e \u0435\u0441\u0442\u044c, \u0435\u0441\u043b\u0438 \u0432 loader.conf \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0447\u0442\u043e-\u0442\u043e \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0435, \u0432\u0440\u043e\u0434\u0435 kernel_options=&quot;-s&quot; \u2014 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0432 \u043e\u0434\u043d\u043e\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435, \u0442\u043e \u0432 \u043d\u0451\u043c \u0431\u0443\u0434\u0443\u0442 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c\u0441\u044f \u0432\u0441\u0435 \u0442\u0440\u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u043e\u043c\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435, \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0432 loader.conf \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c (\u043e\u0431\u043d\u0443\u043b\u044f\u0442\u044c) \u0432 loader_gen*.conf<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">conf\/loader_gen1.conf<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">## # conf\/loader_gen1.conf ## # # \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0434\u043b\u044f \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 - GENERIC \u044f\u0434\u0440\u043e \u0438 \u043e\u0431\u0440\u0430\u0437 mfs1. # \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0432 loader.conf \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043d\u043e\u0432\u043e \u043d\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c  mfs_name=&quot;\/mfs1&quot;  tmpfs_load=&quot;YES&quot; #geom_eli_load=&quot;YES&quot;  exec=&quot;.( Loading GENERIC kernel and mfs1 root image ) cr&quot;  kernel=&quot;kernel&quot;\t\t# \/boot sub-directory containing kernel and modules bootfile=&quot;kernel&quot;\t# Kernel name (possibly absolute path) kernel_options=&quot;&quot;\t# Flags to be passed to the kernel <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">conf\/loader_gen2.conf<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">## # conf\/loader_gen2.conf ## # # \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0434\u043b\u044f \u0442\u0440\u0435\u0442\u044c\u0435\u0433\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 - GENERIC \u044f\u0434\u0440\u043e \u0438 \u043e\u0431\u0440\u0430\u0437 mfs2. # \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u0432 loader.conf \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043d\u043e\u0432\u043e \u043d\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c  mfs_name=&quot;\/mfs2&quot;  tmpfs_load=&quot;YES&quot; #geom_eli_load=&quot;YES&quot;  exec=&quot;.( Loading GENERIC kernel and mfs2 root image ) cr&quot;  kernel=&quot;kernel&quot;\t\t# \/boot sub-directory containing kernel and modules bootfile=&quot;kernel&quot;\t# Kernel name (possibly absolute path) kernel_options=&quot;&quot;\t# Flags to be passed to the kernel <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u043e\u043c\u0443 \u043c\u0435\u043d\u044e. \u041f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u043d\u043e\u0435 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u043e\u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a vanilla\/boot\/*.4th \u0441 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u043c\u0438 \u044f\u0437\u044b\u043a\u0430 forth \u0432\u044b\u0437\u0432\u0430\u043b\u043e \u043f\u0435\u0447\u0430\u043b\u044c \u0438 \u0443\u043d\u044b\u043d\u0438\u0435 \u2014 \u043a \u0447\u0435\u043c\u0443 \u0432\u0441\u0435 \u044d\u0442\u0438 \u0432\u044b\u0432\u0435\u0440\u043d\u0443\u0442\u044b\u0435 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438, \u043f\u043e\u0447\u0435\u043c\u0443 \u0436\u0435 \u043d\u0435\u043b\u044c\u0437\u044f \u0431\u044b\u043b\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u043e\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<blockquote><p>\u041f\u0420\u041e\u0426 \u0421\u0422\u0410\u0420\u0422();<br \/>  \u0412\u041a\u041b \u041c\u041e\u0414\u0423\u041b\u042c \u0417\u0410\u0413\u041b\u041c\u0415\u041d\u042e;<br \/>  \u0420\u0418\u0421\u041e\u0412\u0410\u0422\u042c(\u00ab\u0420\u0410\u041c\u041a\u04101\u00bb);<br \/>  \u0412\u042b\u0412\u041e\u0414: \u00abWelcome to caBSD\u00bb;<br \/>  \u2026<br \/>  \u0412\u042b\u041a\u041b \u041c\u041e\u0414\u0423\u041b\u042c \u0417\u0410\u0413\u041b\u041c\u0415\u041d\u042e;<br \/>  \u041a\u041d\u0426;  <\/p><\/blockquote>\n<p>  \u042d\u044d\u044d\u0445\u2026<\/p>\n<p>  \u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u0434\u043e\u0431\u0440\u044b\u0435 \u043b\u044e\u0434\u0438 (\u0434\u0430 \u0432\u043e\u0437\u0434\u0430\u0441\u0442\u0441\u044f \u0438\u043c \u043f\u0440\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0440\u0435\u0438\u043d\u043a\u0430\u0440\u043d\u0430\u0446\u0438\u044f\u0445) \u043f\u043e\u043b\u043e\u0436\u0438\u043b\u0438 \u0432 \/usr\/share\/examples\/bootforth \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b, \u043d\u0435\u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438\u0441\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 loader.rc \u0438 menuconf.4th:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">conf\/loader.rc<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">\\  \\ conf\/loader.rc \\  \\ Example of the file which is automatically loaded by \/boot\/loader on startup. \\ $FreeBSD: releng\/10.1\/share\/examples\/bootforth\/loader.rc 87636 2001-12-11 00:49:34Z jhb $  include \/boot\/loader.4th  s&quot; \/boot\/screen.4th&quot; O_RDONLY fopen dup fload fclose  s&quot; \/boot\/frames.4th&quot; O_RDONLY fopen dup fload fclose  s&quot; \/boot\/menuconf.4th&quot; O_RDONLY fopen dup fload fclose  initialize drop  cr main_menu  <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">conf\/menuconf.4th<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">\\ \\ conf\/menuconf.4th \\  \\ Simple greeting screen, presenting basic options. \\ XXX This is far too trivial - I don't have time now to think about something more fancy... :-\/ \\ $FreeBSD: releng\/10.1\/share\/examples\/bootforth\/menuconf.4th 65480 2000-09-05 16:30:09Z dcs $  : title \tf_single \\ \u041a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0432\u0438\u0434\u0430 - w h x y \t60 11 10 4 box \t30 4 at-xy \t.&quot;   Welcome to caBSD  &quot; \tme ;  : menu \t2 fg \t15 7 at-xy  \t.&quot; 1.  Start caBSD kernel and first root image (auto)&quot;         15 8 at-xy \t.&quot; 2.  Start GENERIC kernel and first root image&quot; \t15 9 at-xy         .&quot; 3.  Start GENERIC kernel and second root image&quot; \t15 10 at-xy \t.&quot; 4.  Reboot&quot; \tme ;  : tkey\t( d -- flag | char ) \tseconds + \tbegin 1 while \t    dup seconds u&lt; if \t\tdrop \t\t-1 \t\texit \t    then \t    key? if \t\tdrop \t\tkey \t\texit \t    then \trepeat ;  : prompt \t14 fg \t15 13 at-xy \t.&quot; Enter your option (1,2,3,4): &quot; \t10 tkey \tdup 32 = if \t    drop key \tthen \tdup 0&lt; if \\ \u0414\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u043c \u043f\u043e \u0442\u0430\u0439\u043c\u0430\u0443\u0442\u0443 \u0441\u0442\u0430\u0440\u0442\u0443\u0435\u0442 \u043f\u0435\u0440\u0432\u044b\u0439 \u043f\u0443\u043d\u043a\u0442 \u043c\u0435\u043d\u044e. \t    drop 49 \tthen \tdup emit \tme ;  : help_text         10 17 at-xy .&quot; * Choose 1 to proceed with standard bootstrapping.&quot; \t10 18 at-xy .&quot; * Choose 2 or 3 to run special configuration file.&quot; \t10 19 at-xy .&quot; * Choose 4 in order to warm boot your machine.&quot; \t10 21 at-xy .&quot; * Anyway you have few seconds to interrupt boot,&quot; \t10 22 at-xy .&quot;   change parameters and type 'boot' to continue&quot; ;  : (reboot) 0 reboot ;  : main_menu \tbegin 1 while \t\tclear \t\tf_double \t\t79 23 1 1 box \t\ttitle \t\tmenu \t\thelp_text \t\tprompt \t\tcr cr cr \t\tdup 49 = if \t\t\tdrop \t\t\t1 25 at-xy cr \t\t\t.&quot; Proceeding with standard boot. Please wait...&quot; cr \t\t\t0 boot-conf exit \t\tthen \t\tdup 50 = if \t\t\tdrop \t\t\t1 25 at-xy cr \t\t\t.&quot; Loading \/boot\/loader_gen1.conf. Please wait...&quot; cr \t\t\ts&quot; \/boot\/loader_gen1.conf&quot; read-conf \t\t\t0 boot-conf exit \t\tthen \t\tdup 51 = if \t\t\tdrop \t\t\t1 25 at-xy cr \t\t\t.&quot; Loading \/boot\/loader_gen2.conf. Please wait...&quot; cr \t\t\ts&quot; \/boot\/loader_gen2.conf&quot; read-conf \t\t\t0 boot-conf exit \t\tthen \t\tdup 52 = if \t\t\tdrop \t\t\t1 25 at-xy cr \t\t\t['] (reboot) catch abort&quot; Error rebooting&quot; \t\tthen \t\t15 12 at-xy \t\t.&quot; Key &quot; emit .&quot;  is not a valid option!&quot; \t\t15 13 at-xy \t\t.&quot; Press any key to continue...&quot; \t\tkey drop \trepeat ; <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0443 \u043d\u0430\u0441 \u043d\u0430\u0440\u0438\u0441\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0442\u0430\u043a\u043e\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u043e\u0435 \u043c\u0435\u043d\u044e:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/2e0\/4e3\/9a4\/2e04e39a4355412491d2ffd9981b6e61.png\"\/><\/p>\n<p>  \u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443. \u0417\u0430\u0431\u0438\u0440\u0430\u0435\u043c \u0432\u0441\u0451 \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0438\u0437 ${WORKDIR}\/vanilla\/boot<\/p>\n<pre><code class=\"bash\"># \u041a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a, \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0438 .4th \u0444\u0430\u0439\u043b\u044b \u043e\u043f\u0442\u043e\u043c (\u0432\u0441\u0435 \u043e\u043d\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0430, \u043a\u0440\u043e\u043c\u0435 beastie.4th \u0438 brand.4th - \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c) $ cp -p ${WORKDIR}\/vanilla\/boot\/{loader,loader.help,*.rc,*.4th} ${WORKDIR}\/custom\/boot $ cp -p ${WORKDIR}\/vanilla\/boot\/defaults\/loader.conf ${WORKDIR}\/custom\/boot\/defaults $ rm -f ${WORKDIR}\/custom\/boot\/{beastie.4th,brand.4th}  # \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043d\u0430\u0448\u0438 \u0444\u0430\u0439\u043b\u044b loader*.conf \u0438\u0437 conf\/ \u0432 boot $ install -m 0644 -o root -g wheel conf\/{loader,loader_gen1,loader_gen2}.conf ${WORKDIR}\/custom\/boot\/ $ install -m 0644 -o root -g wheel conf\/{loader.rc,menuconf.4th} ${WORKDIR}\/custom\/boot\/  # \u0424\u043b\u0435\u0448\u043a\u0443 \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0437\u0431\u0438\u0432\u0430\u0442\u044c \u0441 GPT, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0447\u0430\u0441\u0442\u044c \u0444\u0430\u0439\u043b\u043e\u0432 \u0441 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u0430\u043c\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c. $ cp -p ${WORKDIR}\/vanilla\/boot\/{pmbr,gptboot,cdboot} ${WORKDIR} <\/code><\/pre>\n<p>  \u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u043e\u0432 \u043f\u0440\u043e \u043c\u043e\u0434\u0443\u043b\u0438 \u044f\u0434\u0440\u0430. \u041d\u0430\u0448\u0435 \u044f\u0434\u0440\u043e caBSD \u043c\u044b \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0441 \u043e\u043f\u0446\u0438\u0435\u0439 \u00abmakeoptions NO_MODULES=1\u00bb, \u0430 \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0432 \u044f\u0434\u0440\u043e. \u041d\u043e \u0441 GENERIC \u0447\u0443\u0442\u044c \u043f\u043e\u0441\u043b\u043e\u0436\u043d\u0435\u0435. \u0423\u043c\u043d\u043e\u0435 \u044f\u0434\u0440\u043e \u0443\u043c\u0435\u0435\u0442 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438, \u043d\u043e \u0438 \u0432\u044b\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0438\u0445. \u0422\u0430\u043a, \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u043c\u043e\u0434\u0443\u043b\u0435\u043c geom_eli.ko, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u043c\u044b \u0443\u043a\u0430\u0436\u0435\u043c \u0432 boot\/loader_gen1.conf \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;geom_eli_load=\u00abYES\u00bb&#8217;, \u0442\u043e \u044f\u0434\u0440\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442 \u0435\u0433\u043e, \u043d\u043e \u043f\u043e\u0442\u043e\u043c \u0437\u0430 \u043d\u0435\u043d\u0430\u0434\u043e\u0431\u043d\u043e\u0441\u0442\u044c\u044e \u0432\u044b\u0433\u0440\u0443\u0437\u0438\u0442. \u0412\u043e \u0432\u0441\u044f\u043a\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0440\u0438 \u043d\u0430\u0448\u0435\u043c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0438 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0430. \u0418 \u043a\u043e\u0433\u0434\u0430 \u044f\u0434\u0440\u043e \u0440\u0430\u0441\u043a\u0440\u0443\u0442\u0438\u0442 mfs-\u043e\u0431\u0440\u0430\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0434\u043e\u0439\u0434\u0451\u0442 \u0434\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 mfs1:\/etc\/rc.d\/geli, \u043c\u043e\u0434\u0443\u043b\u044c \u0431\u0443\u0434\u0435\u0442 \u0443\u0436\u0435 \u0432\u044b\u0433\u0440\u0443\u0436\u0435\u043d. \u0410 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0435\u0433\u043e \u0437\u0430\u043d\u043e\u0432\u043e \u044f\u0434\u0440\u043e \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442 \u2014 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \/boot\/kernel \u0431\u0443\u0434\u0435\u0442 \u0443\u0436\u0435 \u043d\u0435\u0432\u0438\u0434\u0438\u043c \u0438\u0437\u043d\u0443\u0442\u0440\u0438 \u043e\u0431\u0440\u0430\u0437\u0430 mfs1:\/.<\/p>\n<p>  \u041d\u0430\u0432\u0441\u043a\u0438\u0434\u043a\u0443, \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432:<\/p>\n<ol>\n<li>\u041c\u043e\u0434\u0443\u043b\u0438, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u044f\u0434\u0440\u043e\u043c \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0442\u044c \u0432 ${WORKDIR}\/custom\/boot\/kernel, \u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0443\u0436\u0435 \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 init, rc-\u0441\u043a\u0440\u0438\u043f\u0442\u0430\u043c\u0438 \u2014 \u0432 ${WORKDIR}\/vanilla\/boot\/modules (\u0441\u043c. \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 &#8216;module_path=&quot;\/boot\/modules&quot;&#8217; \u0432 boot\/defaults\/loader.conf)<\/li>\n<li>(\u0423\u043c\u043e\u0437\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439). \u041f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u043a\u0430\u043a\u043e\u043c-\u043d\u0438\u0431\u0443\u0434\u044c rc-\u0441\u043a\u0440\u0438\u043f\u0442\u0435 (\u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u043c \u0440\u0430\u043d\u0435\u0435 etc\/rc.d\/geli) \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044f (iso\/img) \u0438 \u043f\u043e\u0434\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430 \/boot\/kernel\/ \u0441 \u043c\u043e\u0434\u0443\u043b\u044f\u043c\u0438 \u0432 mfs1:\/boot\/modules<\/li>\n<\/ol>\n<p>  \u041d\u043e \u043f\u0440\u043e\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431. \u0420\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c \u0435\u0433\u043e.<\/p>\n<pre><code class=\"bash\"># \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c '\u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u044b\u0435' \u043c\u043e\u0434\u0443\u043b\u0438 \u0434\u043b\u044f GENERIC \u044f\u0434\u0440\u0430. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u044f \u0432\u044b\u044f\u0441\u043d\u044f\u0435\u0442\u0441\u044f # \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u043e\u043f\u044b\u0442\u043d\u044b\u043c \u043f\u0443\u0442\u0451\u043c. \u041a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c, tmpfs.ko \u043d\u0443\u0436\u0435\u043d \u0434\u043b\u044f \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f mfs \u043e\u0431\u0440\u0430\u0437\u0430 $ cp -p ${WORKDIR}\/vanilla\/tmp\/boot\/kernel\/tmpfs.ko ${WORKDIR}\/custom\/boot\/kernel $ strip ${WORKDIR}\/custom\/boot\/kernel\/tmpfs.ko  # \u0423\u0434\u0430\u043b\u044f\u0435\u043c \u043d\u0435 \u043d\u0443\u0436\u043d\u044b\u0439 \u0442\u0435\u043f\u0435\u0440\u044c \/boot, \u043a\u0443\u0434\u0430 \u0431\u044b\u043b \u0441\u0434\u0435\u043b\u0430\u043d installkernel \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u044f\u0434\u0440\u0430 $ rm -rf ${WORKDIR}\/vanilla\/boot  # \u0418 \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u043f\u0443\u0441\u0442\u043e\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0434\u043b\u044f \u043c\u043e\u0434\u0443\u043b\u0435\u0439 $ mkdir -p ${WORKDIR}\/vanilla\/boot\/modules  # \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c '\u043f\u043e\u0441\u043b\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u044b\u0435' \u043c\u043e\u0434\u0443\u043b\u0438 - geom_eli.ko \u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0439 \u043e\u0442 \u043d\u0435\u0433\u043e crypto.ko $ cp -p ${WORKDIR}\/vanilla\/tmp\/boot\/kernel\/{geom_eli,crypto}.ko ${WORKDIR}\/vanilla\/boot\/modules $ strip ${WORKDIR}\/vanilla\/boot\/modules\/{geom_eli,crypto}.ko   # \u0423\u0434\u0430\u043b\u044f\u0435\u043c \/boot, \u043a\u0443\u0434\u0430 \u043c\u044b \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0432\u0442\u043e\u0440\u043e\u0435 \u044f\u0434\u0440\u043e \u0438 \u0442\u0443\u0447\u0443 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 $ rm -rf ${WORKDIR}\/vanilla\/tmp\/boot  # \u0423\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u043c \u0440\u0430\u0437\u043c\u0435\u0440\u044b \u044f\u0434\u0435\u0440 $ ls -l ${WORKDIR}\/custom\/boot\/{kernel,kernel.cabsd}\/kernel $ strip ${WORKDIR}\/custom\/boot\/{kernel,kernel.cabsd}\/kernel $ strip --remove-section=.note --remove-section=.comment ${WORKDIR}\/custom\/boot\/{kernel,kernel.cabsd}\/kernel  # \u0421\u0436\u0438\u043c\u0430\u0435\u043c \u044f\u0434\u0440\u0430 # freebsd-update \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442 \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0436\u0430\u0442\u043e\u0435 GENERIC \u044f\u0434\u0440\u043e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u0443\u0434\u0435\u043c \u0438\u043c\u0435\u0442\u044c \u0432 \u0432\u0438\u0434\u0443 - # \u043f\u0435\u0440\u0435\u0434 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0435\u0433\u043e \u043d\u0430\u0434\u043e \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0437\u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0418\u043b\u0438 \u043d\u0435 \u0441\u0436\u0438\u043c\u0430\u0442\u044c \u0442\u0443\u0442 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e. \u0414\u0430. $ gzip -9 -f ${WORKDIR}\/custom\/boot\/kernel.cabsd\/kernel # kgzip -o ${WORKDIR}\/custom\/boot\/kernel.cabsd\/kernel ${WORKDIR}\/custom\/boot\/kernel.cabsd\/kernel # gzip -9 -f ${WORKDIR}\/custom\/boot\/kernel\/kernel $ ls -l ${WORKDIR}\/custom\/boot\/{kernel,kernel.cabsd}\/kernel* <\/code><\/pre>\n<p>  \u041d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u0435 \u043f\u043e \u0441\u0436\u0430\u0442\u0438\u044e. \u042f\u0434\u0440\u0430 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u0436\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e gzip \u043b\u0438\u0431\u043e kgzip. \u0412 \u043e\u0431\u043e\u0438\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u0434\u0435\u043a\u043e\u043c\u043f\u0440\u0435\u0441\u0441\u0438\u044f \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u0431\u0435\u0437 \u043a\u0430\u043a\u0438\u0445-\u0442\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a.<\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u043e\u0433\u043e \u044f\u0434\u0440\u0430 caBSD \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u0442\u0430\u043a: \u043d\u0435\u0441\u0436\u0430\u0442\u043e\u0435 \u044f\u0434\u0440\u043e \u2014 3.9 \u041c\u0431, \u0441\u0436\u0430\u0442\u043e\u0435 \u044d\u0442\u0438\u043c\u0438 \u0443\u0442\u0438\u043b\u0438\u0442\u0430\u043c\u0438 \u2014 \u043f\u043e 1.8 \u041c\u0431, \u043f\u0440\u0438\u0447\u0451\u043c kgzip \u0441\u0436\u0430\u043b \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u0438\u043b\u043e\u0431\u0430\u0439\u0442 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0435\u0435, \u043d\u043e \u0437\u0430 \u0441\u0447\u0451\u0442 ~9 \u041a\u0431 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a\u0430 \u043f\u0440\u043e\u0438\u0433\u0440\u0430\u043b gzip.<\/p>\n<p>  \u0414\u043b\u044f GENERIC \u044f\u0434\u0440\u0430 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0435: \u043d\u0435\u0441\u0436\u0430\u0442\u043e\u0435 \u044f\u0434\u0440\u043e \u2014 17 \u041c\u0431, \u0441\u0436\u0430\u0442\u043e\u0435 gzip \u2014 7.5 \u041c\u0431, kgzip \u2014 6.8 \u041c\u0431. \u0417\u0430\u043c\u0435\u0442\u043d\u043e \u043b\u0443\u0447\u0448\u0435. \u0418 \u044d\u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0438\u0437 \u044f\u0434\u0440\u0430. \u0415\u0441\u043b\u0438 \u0438\u0445 \u043d\u0435 \u0443\u0434\u0430\u043b\u044f\u0442\u044c, \u0442\u043e \u0441\u043e\u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 19: 8.2: 6.8 \u041c\u0431. \u041d\u043e \u044d\u0442\u043e \u0442\u0430\u043a, \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u043e. \u0412\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u043c\u044b GENERIC \u044f\u0434\u0440\u043e \u0438\u0437-\u0437\u0430 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 \u0441\u0436\u0438\u043c\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u043c. \u041a\u0441\u0442\u0430\u0442\u0438, \u0438\u0437-\u0437\u0430 \u043d\u0438\u0445 \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0438 \u043d\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c strip \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u044f\u0434\u0440\u0430.  <\/p>\n<h2>\u0423\u0434\u0430\u043b\u044f\u0435\u043c \u043b\u0438\u0448\u043d\u0435\u0435<\/h2>\n<p>  \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0437\u0430\u043c\u0435\u0442\u043d\u0443\u044e \u043c\u0438\u043d\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044e \u043d\u0430\u0448\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0437\u0430 \u0441\u0447\u0451\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u043f\u0446\u0438\u0439 \u043f\u0440\u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u043c\u0438\u0440\u0430, \u0435\u0441\u0442\u044c \u0435\u0449\u0451 \u043c\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442, \u043a\u0443\u0434\u0430 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0438\u0442\u044c \u043d\u0430\u0448\u0438 \u0440\u0443\u043a\u0438. \u0418 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u043c\u044b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:  <\/p>\n<ol>\n<li>\u0423\u043a\u0430\u0436\u0435\u043c \u0432 \u0444\u0430\u0439\u043b\u0430\u0445 tools\/files2delete_* \u0444\u0430\u0439\u043b\u044b \u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c<\/li>\n<li>\u0423\u043a\u0430\u0436\u0435\u043c \u0432 \u0444\u0430\u0439\u043b\u0435 tools\/files2keep \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0438\u0437 \u043f. 1 \u2014 \u0444\u0430\u0439\u043b\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c<\/li>\n<li>\u0410\u0440\u0445\u0438\u0432\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b\u044b \u0438\u0437 \u043f. 2<\/li>\n<li>\u0423\u0434\u0430\u043b\u0438\u043c \u0444\u0430\u0439\u043b\u044b \u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 \u0438\u0437 \u043f. 1<\/li>\n<li>\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0438\u0437 \u0430\u0440\u0445\u0438\u0432\u0430<\/li>\n<\/ol>\n<p>  \u041e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0435 \u043f\u043b\u044e\u0441\u044b \u043e\u0442 \u0442\u0430\u043a\u043e\u0439 \u043c\u043d\u043e\u0433\u043e\u0445\u043e\u0434\u043e\u0432\u043e\u0439 \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0438:  <\/p>\n<ul>\n<li>\u041c\u043e\u0436\u0435\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0445\u0435\u043c\u0443 \u00ab\u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u0441\u0451, \u043a\u0440\u043e\u043c\u0435\u00bb (\u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u0435\u0441\u044c usr\/share\/locale, \u043a\u0440\u043e\u043c\u0435 ru_RU.UTF-8)<\/li>\n<li>\u041f\u0440\u0438 \u0430\u0440\u0445\u0438\u0432\u0430\u0446\u0438\u0438 \u0444\u0430\u0439\u043b\u043e\u0432, \u0435\u0441\u043b\u0438 \u0444\u0430\u0439\u043b \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0441\u044b\u043b\u043a\u043e\u0439, \u0442\u043e \u0432 \u0430\u0440\u0445\u0438\u0432 \u043e\u043d \u043f\u043e\u043f\u0430\u0434\u0451\u0442 \u043a\u0430\u043a \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u0444\u0430\u0439\u043b. \u0422\u043e \u0435\u0441\u0442\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0434\u043b\u044f files2keep \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \/usr\/share\/locale\/ru_RU.UTF-8 \u0438 \u043d\u0435 \u0437\u0430\u0431\u0438\u0432\u0430\u0442\u044c \u0433\u043e\u043b\u043e\u0432\u0443 \u0442\u0435\u043c, \u0447\u0442\u043e \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 LC_COLLATE \u0438\u0437 \u043d\u0435\u0433\u043e \u0432\u0435\u0434\u0451\u0442 \u0432 ..\/la_LN.US-ASCII, LC_CTYPE \u0432\u0435\u0434\u0451\u0442 \u0432 ..\/UTF-8, \u0430 LC_NUMERIC \u0432\u0435\u0434\u0451\u0442 \u0432 ..\/ru_RU.CP866 \u2014 \u0432\u0441\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f, \u0430 \u043f\u043e\u0442\u043e\u043c \u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0442\u0441\u044f \u043a\u0430\u043a \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b<\/li>\n<\/ul>\n<p>  \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c\u044b\u0435 \u0444\u0430\u0439\u043b\u044b<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">tools\/files2keep<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"># # tools\/files2keep # etc\/rc.d\/DAEMON etc\/rc.d\/FILESYSTEMS etc\/rc.d\/LOGIN etc\/rc.d\/NETWORKING etc\/rc.d\/SERVERS etc\/rc.d\/adjkerntz etc\/rc.d\/devfs etc\/rc.d\/dmesg etc\/rc.d\/geli etc\/rc.d\/geli2 etc\/rc.d\/gptboot etc\/rc.d\/hostname etc\/rc.d\/initrandom etc\/rc.d\/ldconfig etc\/rc.d\/mountcritlocal etc\/rc.d\/postrandom etc\/rc.d\/random etc\/rc.d\/root etc\/rc.d\/securelevel etc\/rc.d\/syscons etc\/rc.d\/sysctl etc\/pam.d\/login #etc\/pam.d\/other etc\/pam.d\/passwd etc\/pam.d\/system usr\/libexec\/getty usr\/share\/locale\/en_US.UTF-8 usr\/share\/locale\/ru_RU.UTF-8 #usr\/share\/misc\/init.ee usr\/share\/misc\/termcap usr\/share\/vt\/keymaps\/ru.kbd usr\/share\/vt\/keymaps\/ru.shift.kbd usr\/share\/vt\/keymaps\/ru.win.kbd usr\/share\/zoneinfo\/Asia\/Yekaterinburg usr\/share\/zoneinfo\/Europe\/Moscow usr\/share\/zoneinfo\/UTC usr\/local\/etc\/joe\/syntax\/conf.jsf usr\/local\/etc\/joe\/syntax\/csh.jsf usr\/local\/etc\/joe\/syntax\/diff.jsf usr\/local\/etc\/joe\/syntax\/sh.jsf <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0446\u0435\u043d\u043d\u043e\u0433\u043e \u043e\u0447\u0435\u043d\u044c \u043c\u0430\u043b\u043e. \u0417\u0434\u0435\u0441\u044c \u043c\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c:  <\/p>\n<ul>\n<li>\u043d\u0443\u0436\u043d\u044b\u0435 \u043d\u0430\u043c rc-\u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0438\u0437 etc\/rc.d<\/li>\n<li>\u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0444\u0430\u0439\u043b\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0434\u043b\u044f PAM<\/li>\n<li>getty \u0438\u0437 usr\/libexec<\/li>\n<li>\u0434\u0432\u0435 \u043b\u043e\u043a\u0430\u043b\u0438<\/li>\n<li>\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u043d\u0430\u043c\u0438 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 termcap \u0438\u0437 conf\/termcap<\/li>\n<li>\u0432\u0441\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u0438\u0439<\/li>\n<li>\u0444\u0430\u0439\u043b\u044b \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u043b\u044f \u043d\u0430\u0441 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0437\u043e\u043d<\/li>\n<li>\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0444\u0430\u0439\u043b\u043e\u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0434\u043b\u044f \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430 jupp<\/li>\n<\/ul>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u043c \u0441\u043f\u0438\u0441\u043a\u0438 \u0443\u0434\u0430\u043b\u044f\u0435\u043c\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u0432. \u041f\u0443\u0441\u0442\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438, \u0440\u0430\u0432\u043d\u043e \u043a\u0430\u043a \u0438 \u0441\u0442\u0440\u043e\u043a\u0438 \u0441 \u043f\u0435\u0440\u0432\u044b\u043c \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u043c &#8216;#&#8217; \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044e\u0442\u0441\u044f.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">tools\/files2delete_bin<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"># # tools\/files2delete_bin # bin\/chio bin\/domainname bin\/ed bin\/pax sbin\/bsdlabel sbin\/camcontrol sbin\/ccdconfig sbin\/comcontrol sbin\/ddb sbin\/dhclient sbin\/dhclient-script sbin\/dump sbin\/dumpon sbin\/etherswitchcfg sbin\/fdisk sbin\/fsirand sbin\/gbde sbin\/ggatec sbin\/ggated sbin\/ggatel sbin\/gvinum sbin\/hastctl sbin\/hastd sbin\/ifconfig sbin\/iscontrol sbin\/kldconfig sbin\/kldunload sbin\/mksnap_ffs sbin\/mount_fusefs sbin\/mount_nfs sbin\/nfsiod sbin\/nos-tun sbin\/nvmecontrol sbin\/ping sbin\/resolvconf sbin\/restore sbin\/route sbin\/savecore sbin\/sconfig sbin\/setkey sbin\/spppcontrol sbin\/swapctl usr\/bin\/asa usr\/bin\/banner usr\/bin\/brandelf usr\/bin\/chat usr\/bin\/chfn usr\/bin\/chkey usr\/bin\/colldef usr\/bin\/cpasswd usr\/bin\/cpuset usr\/bin\/crontab usr\/bin\/csup usr\/bin\/ctlstat usr\/bin\/dialog usr\/bin\/dtc usr\/bin\/ee usr\/bin\/elf2aout usr\/bin\/elfdump usr\/bin\/fetch usr\/bin\/file usr\/bin\/finger usr\/bin\/ftp usr\/bin\/gcore usr\/bin\/gencat usr\/bin\/ipcrm usr\/bin\/ipcs usr\/bin\/iscsictl usr\/bin\/keylogin usr\/bin\/keylogout usr\/bin\/ktrace usr\/bin\/ktrdump usr\/bin\/lam usr\/bin\/lastcomm usr\/bin\/leave usr\/bin\/lockf usr\/bin\/look usr\/bin\/lorder usr\/bin\/m4 usr\/bin\/mandoc usr\/bin\/mesg usr\/bin\/mkdep usr\/bin\/mkfifo usr\/bin\/mklocale usr\/bin\/mt usr\/bin\/netstat usr\/bin\/newgrp usr\/bin\/nfsstat usr\/bin\/pagesize usr\/bin\/passwd usr\/bin\/pr usr\/bin\/protect usr\/bin\/rctl usr\/bin\/revoke usr\/bin\/rpcinfo usr\/bin\/rs usr\/bin\/rup usr\/bin\/rusers usr\/bin\/rwall usr\/bin\/send-pr usr\/bin\/showmount usr\/bin\/smbutil usr\/bin\/sockstat usr\/bin\/stdbuf usr\/bin\/su usr\/bin\/tabs usr\/bin\/talk usr\/bin\/tcopy usr\/bin\/tee usr\/bin\/tftp usr\/bin\/tip usr\/bin\/tsort usr\/bin\/units usr\/bin\/unvis usr\/bin\/vis usr\/bin\/vmstat usr\/bin\/wall usr\/bin\/what usr\/bin\/whois usr\/bin\/write usr\/sbin\/adduser usr\/sbin\/arp usr\/sbin\/asf usr\/sbin\/automountd usr\/sbin\/binmiscctl usr\/sbin\/boot0cfg usr\/sbin\/bootparamd usr\/sbin\/bootpef usr\/sbin\/bootptest usr\/sbin\/bsdconfig usr\/sbin\/bsdinstall usr\/sbin\/callbootd usr\/sbin\/cdcontrol usr\/sbin\/chroot usr\/sbin\/ckdist usr\/sbin\/clear_locks usr\/sbin\/cpucontrol usr\/sbin\/crashinfo usr\/sbin\/cron usr\/sbin\/ctladm usr\/sbin\/ctld usr\/sbin\/dconschat usr\/sbin\/digictl usr\/sbin\/dumpcis usr\/sbin\/etcupdate usr\/sbin\/fifolog_create usr\/sbin\/fifolog_reader usr\/sbin\/fifolog_writer usr\/sbin\/fwcontrol usr\/sbin\/getfmac usr\/sbin\/getpmac usr\/sbin\/i2c usr\/sbin\/ifmcstat usr\/sbin\/inetd usr\/sbin\/iscsid usr\/sbin\/keyserv usr\/sbin\/kgmon usr\/sbin\/kgzip usr\/sbin\/lptcontrol usr\/sbin\/memcontrol usr\/sbin\/mergemaster usr\/sbin\/mfiutil usr\/sbin\/mixer usr\/sbin\/mlxcontrol usr\/sbin\/mount_smbfs usr\/sbin\/mountd usr\/sbin\/moused usr\/sbin\/mptable usr\/sbin\/mptutil usr\/sbin\/mtest usr\/sbin\/newsyslog usr\/sbin\/nfscbd usr\/sbin\/nfsd usr\/sbin\/nfsdumpstate usr\/sbin\/nfsrevoke usr\/sbin\/nfsuserd usr\/sbin\/nmtree usr\/sbin\/nologin usr\/sbin\/pciconf usr\/sbin\/periodic usr\/sbin\/powerd usr\/sbin\/procctl usr\/sbin\/quot usr\/sbin\/rarpd usr\/sbin\/rmt usr\/sbin\/rmuser usr\/sbin\/rpc.lockd usr\/sbin\/rpc.statd usr\/sbin\/rpc.umntall usr\/sbin\/rpcbind usr\/sbin\/rtprio usr\/sbin\/services_mkdb usr\/sbin\/setfib usr\/sbin\/setfmac usr\/sbin\/setpmac usr\/sbin\/sicontrol usr\/sbin\/smbmsg usr\/sbin\/snapinfo usr\/sbin\/spkrtest usr\/sbin\/spray usr\/sbin\/syslogd usr\/sbin\/sysrc usr\/sbin\/tcpdchk usr\/sbin\/tcpdmatch usr\/sbin\/tcpdrop usr\/sbin\/tcpdump usr\/sbin\/timed usr\/sbin\/timedc usr\/sbin\/traceroute usr\/sbin\/trpt usr\/sbin\/ugidfw usr\/sbin\/vipw usr\/sbin\/wake usr\/sbin\/watch usr\/sbin\/watchdog usr\/sbin\/zdump usr\/sbin\/zic usr\/sbin\/zzz # vi usr\/bin\/vi <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0427\u0438\u0441\u0442\u0438\u043c bin, sbin, usr\/bin, usr\/sbin. \u041f\u0440\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0438\u0449\u0443\u0442\u0441\u044f \u0438 \u0443\u0434\u0430\u043b\u044f\u044e\u0442\u0441\u044f \u0436\u0451\u0441\u0442\u043a\u0438\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u043d\u0438\u0445.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">tools\/files2delete_etc<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"># # tools\/files2delete_etc # etc\/X11 etc\/auto_master etc\/autofs etc\/bluetooth etc\/crontab etc\/ddb.conf etc\/defaults\/bluetooth.device.conf etc\/defaults\/periodic.conf etc\/devd etc\/devd.conf etc\/dhclient.conf etc\/disktab etc\/dumpdates etc\/ftpusers etc\/gss etc\/hosts etc\/hosts.allow etc\/hosts.equiv etc\/inetd.conf etc\/libalias.conf etc\/mac.conf etc\/mail etc\/mtree etc\/netconfig etc\/netstart etc\/networks etc\/newsyslog.conf etc\/newsyslog.conf.d etc\/nsmb.conf etc\/ntp etc\/pam.d #etc\/pam.d\/passwd etc\/pccard_ether etc\/periodic etc\/phones etc\/pkg etc\/ppp etc\/rc.bsdextended etc\/rc.d etc\/rc.firewall etc\/rc.initdiskless etc\/rc.resume etc\/rc.sendmail etc\/rc.suspend etc\/remote etc\/rpc etc\/security etc\/skel etc\/ssh etc\/ssl etc\/syslog.conf etc\/termcap.small etc\/zfs <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0427\u0438\u0441\u0442\u0438\u043c etc. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u2014 \u0443\u0434\u0430\u043b\u044f\u0435\u0442\u0441\u044f etc\/rc.d \u0446\u0435\u043b\u0438\u043a\u043e\u043c, \u0430 \u043d\u0443\u0436\u043d\u044b\u0435 rc-\u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u043e\u0442\u043e\u043c \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0442\u0441\u044f \u0438\u0437 \u0447\u0443\u0442\u044c \u0440\u0430\u043d\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0430\u0440\u0445\u0438\u0432\u0430.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">tools\/files2delete_lib<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"># # tools\/files2delete_lib # lib\/libalias.so.7 lib\/libalias_cuseeme.so lib\/libalias_dummy.so lib\/libalias_ftp.so lib\/libalias_irc.so lib\/libalias_nbt.so lib\/libalias_pptp.so lib\/libalias_skinny.so lib\/libalias_smedia.so lib\/libbegemot.so.4 lib\/libcam.so.6 lib\/libgcc_s.so.1 lib\/libipsec.so.4 lib\/libpcap.so.8 lib\/libreadline.so.8 lib\/libthr.so.3 lib\/libulog.so.0 libexec\/resolvconf # OpenSSL IBM 4758 CCA hardware engine support usr\/lib\/engines\/lib4758cca.so # OpenSSL AEP hardware engine support usr\/lib\/engines\/libaep.so # OpenSSL Atalla hardware engine support usr\/lib\/engines\/libatalla.so # OpenSSL CHIL hardware engine support usr\/lib\/engines\/libchil.so # OpenSSL CryptoSwift hardware engine support usr\/lib\/engines\/libcswift.so # OpenSSL Nuron hardware engine support usr\/lib\/engines\/libnuron.so # OpenSSL SureWare hardware engine support usr\/lib\/engines\/libsureware.so # OpenSSL UBSEC hardware engine support usr\/lib\/engines\/libubsec.so usr\/lib\/private usr\/lib\/libBlocksRuntime.so.0 usr\/lib\/libalias.so usr\/lib\/libauditd.so.5 usr\/lib\/libbegemot.so usr\/lib\/libbsm.so.3 usr\/lib\/libcam.so usr\/lib\/libcurses.so usr\/lib\/libcursesw.so usr\/lib\/libdwarf.so.3 usr\/lib\/libexecinfo.so.1 usr\/lib\/libfetch.so.6 usr\/lib\/libform.so.5 usr\/lib\/libformw.so.5 usr\/lib\/libgcc_s.so usr\/lib\/libgomp.so.1 usr\/lib\/libhistory.so.8 usr\/lib\/libipsec.so usr\/lib\/libmagic.so.4 usr\/lib\/libmemstat.so.3 usr\/lib\/libmenu.so.5 usr\/lib\/libmenuw.so.5 usr\/lib\/libpanel.so.5 usr\/lib\/libpanelw.so.5 usr\/lib\/libpcap.so usr\/lib\/libproc.so.2 usr\/lib\/libpthread.so usr\/lib\/libradius.so.4 usr\/lib\/libreadline.so usr\/lib\/librt.so.1 usr\/lib\/librtld_db.so.2 usr\/lib\/libsmb.so.4 usr\/lib\/libstdbuf.so.1 usr\/lib\/libstdthreads.so.0 usr\/lib\/libtacplus.so.5 usr\/lib\/libtermcap.so usr\/lib\/libtermcapw.so usr\/lib\/libtermlib.so usr\/lib\/libtermlibw.so usr\/lib\/libthr.so usr\/lib\/libthread_db.so.3 usr\/lib\/libtinfo.so usr\/lib\/libtinfow.so usr\/lib\/libugidfw.so.4 usr\/lib\/libutempter.so usr\/lib\/libvgl.so.6 usr\/lib\/libwrap.so.6 usr\/lib32 usr\/libdata usr\/libexec <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0411\u0438\u0431\u0438\u043b\u0438\u043e\u0442\u0435\u043a\u0438. \u0421\u0430\u043c\u044b\u0439 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b. PAM-\u043c\u043e\u0434\u0443\u043b\u0438 \u0438\u0437 usr\/lib \u0432\u044b\u043d\u0435\u0441\u0435\u043d\u044b \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u0430\u0439\u043b<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">tools\/files2delete_local<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"># # tools\/files2delete_local # usr\/local\/libdata usr\/local\/man usr\/local\/share usr\/local\/etc\/joe\/charmaps usr\/local\/etc\/joe\/syntax <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0415\u0441\u043b\u0438 \u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u043f\u0430\u043a\u0435\u0442\u044b, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c usr\/local<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">tools\/files2delete_pam<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"># # tools\/files2delete_pam # usr\/lib\/pam_chroot.so usr\/lib\/pam_deny.so usr\/lib\/pam_echo.so usr\/lib\/pam_exec.so usr\/lib\/pam_ftpusers.so usr\/lib\/pam_group.so usr\/lib\/pam_guest.so #usr\/lib\/pam_lastlog.so #usr\/lib\/pam_login_access.so #usr\/lib\/pam_nologin.so #usr\/lib\/pam_opie.so #usr\/lib\/pam_opieaccess.so usr\/lib\/pam_passwdqc.so usr\/lib\/pam_permit.so usr\/lib\/pam_radius.so usr\/lib\/pam_rhosts.so usr\/lib\/pam_rootok.so #usr\/lib\/pam_securetty.so #usr\/lib\/pam_self.so usr\/lib\/pam_tacplus.so #usr\/lib\/pam_unix.so <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  PAM-\u043c\u043e\u0434\u0443\u043b\u0438.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">tools\/files2delete_var<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"># # tools\/files2delete_var # var\/account var\/at var\/audit var\/authpf var\/crash var\/cron var\/db\/hyperv var\/db\/ipf var\/db\/pkg var\/db\/ports var\/db\/portsnap var\/games var\/heimdal var\/mail var\/msgs var\/run\/ppp var\/run\/wpa_supplicant var\/rwho var\/spool var\/unbound var\/yp <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c man hier \u0438 \u043f\u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u044e var \u043e\u0442 \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u0445 \u043f\u0443\u0441\u0442\u044b\u0445 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u0432. \u0414\u043b\u044f \u043a\u0440\u0430\u0441\u043e\u0442\u044b.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">tools\/files2delete_other<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\"># # tools\/files2delete_other # usr\/games usr\/include usr\/share\/bsdconfig usr\/share\/dtrace usr\/share\/examples usr\/share\/info # keys? usr\/share\/keys usr\/share\/locale usr\/share\/man usr\/share\/mdocml usr\/share\/misc usr\/share\/nls usr\/share\/openssl usr\/share\/skel usr\/share\/tabset usr\/share\/vi usr\/share\/vt\/keymaps usr\/share\/zoneinfo <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0427\u0438\u0441\u0442\u0438\u043c \u0432\u0441\u0451 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435, \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c usr\/share<\/p>\n<p>  \u0421\u0442\u043e\u0438\u0442 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c:  <\/p>\n<ul>\n<li>\u043f\u0443\u0442\u0438 \u043a \u0444\u0430\u0439\u043b\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0430\u043a\u043a\u0443\u0440\u0430\u0442\u043d\u043e, \u0431\u0435\u0437 \u0432\u0435\u0434\u0443\u0449\u0435\u0433\u043e \u0441\u043b\u0435\u0448\u0430, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0432\u044b\u0445\u043e\u043b\u043e\u0441\u0442\u0438\u0442\u044c \u0431\u0430\u0437\u043e\u0432\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443<\/li>\n<li>\u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043d\u0430 \u043f\u0440\u043e\u0431\u0435\u043b\u044b, \u043a\u0430\u0432\u044b\u0447\u043a\u0438 \u0438 \u0442\u043e\u043c\u0443 \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435 \u0432 \u0438\u043c\u0435\u043d\u0430\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u043d\u0435 \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f<\/li>\n<li>\u0441\u043c\u044b\u0441\u043b \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u043d\u0435 \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0438 \u043c\u0435\u0441\u0442\u0430 \u043d\u0430 \u0444\u043b\u0435\u0448\u043a\u0435, \u0434\u0430 \u0438 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0432\u0442\u043e\u0440\u043e\u0433\u043e mfs \u043e\u0431\u0440\u0430\u0437\u0430 \u043c\u044b \u0449\u0435\u0434\u0440\u043e\u0439 \u0440\u0443\u043a\u043e\u0439 \u043d\u0430\u043a\u0438\u043d\u0435\u043c \u0434\u0435\u0441\u044f\u0442\u043e\u043a-\u0434\u0440\u0443\u0433\u043e\u0439 \u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442 \u043f\u043e\u0434 \u043c\u0435\u0441\u0442\u043e \u0434\u043b\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u044f\u0432\u043d\u043e \u043d\u0435\u043d\u0443\u0436\u043d\u043e\u0435, \u043e\u0441\u0442\u0430\u0432\u0438\u0432 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 (\u0434\u0430-\u0434\u0430, \u044f\u0434\u0440\u043e, \u0448\u0435\u043b\u043b \u0438 openssl), \u043d\u0443 \u0438 \u0442\u043e, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f \u2014 \u0430 \u044d\u0442\u043e \u0441\u0430\u043c\u043e\u0435 \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u043a\u043e\u0435. \u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u0432\u0435 \u0444\u043b\u0435\u0448\u043a\u0438 \u2014 \u043e\u0434\u043d\u0443 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0443\u044e, \u0430 \u0432\u0442\u043e\u0440\u0443\u044e \u2014 \u0441 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u043c<\/li>\n<\/ul>\n<p>  \u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0435\u043c. <\/p>\n<pre><code class=\"bash\"># \u0423\u0434\u0430\u043b\u044f\u0435\u043c \u0444\u0430\u0439\u043b \u0430\u0440\u0445\u0438\u0432\u0430, \u0435\u0441\u043b\u0438 \u043e\u043d \u043e\u0441\u0442\u0430\u043b\u0441\u044f \u043e\u0442 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0439 $ rm -f keepfiles.tar  # \u0410\u0440\u0445\u0438\u0432\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b\u044b, \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u0432 tools\/files2keep $ tar --create --file keepfiles.tar --directory ${WORKDIR}\/vanilla --dereference --files-from tools\/files2keep  # \u0423\u0434\u0430\u043b\u044f\u0435\u043c \u0444\u0430\u0439\u043b\u044b \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430 \u0438 \u0438\u0445 \u0436\u0451\u0441\u0442\u043a\u0438\u0435 \u0441\u0441\u044b\u043b\u043a\u0438. # \u0415\u0441\u043b\u0438 \u043e\u0444\u043e\u0440\u043c\u043b\u044f\u0442\u044c \u0432 \u0432\u0438\u0434\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u0430, \u0442\u043e \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u0435\u0435 \u0431\u044b\u043b\u043e \u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0446\u0438\u043a\u043b\u043e\u043c for, \u0434\u0430 \u0441 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430\u043c\u0438, \u043d\u043e \u0446\u0438\u043a\u043b\u044b # \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e \u043a\u043e\u043f\u0438\u043f\u0430\u0441\u0442\u0438\u0442\u044c \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043e\u0431\u043e\u0439\u0434\u0451\u043c\u0441\u044f \u0442\u0430\u043a\u0438\u043c\u0438 \u0432\u043e\u0442 \u043e\u0434\u043d\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u044b\u043c\u0438 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u043c\u0438: $ cat tools\/files2delete_bin   | egrep -v '(^#|^\\s*$)' | xargs -I % -t -L 1 find ${WORKDIR}\/vanilla -samefile ${WORKDIR}\/vanilla\/% -exec rm -rf {} \\;  # \u0414\u0430\u043b\u0435\u0435 \u0443\u0434\u0430\u043b\u044f\u0435\u043c \u0431\u0435\u0437 -samefile $ cat tools\/files2delete_etc   | egrep -v '(^#|^\\s*$)' | xargs -I % -t -L 1 find ${WORKDIR}\/vanilla\/% -exec rm -rf {} \\; $ cat tools\/files2delete_local | egrep -v '(^#|^\\s*$)' | xargs -I % -t -L 1 find ${WORKDIR}\/vanilla\/% -exec rm -rf {} \\; $ cat tools\/files2delete_other | egrep -v '(^#|^\\s*$)' | xargs -I % -t -L 1 find ${WORKDIR}\/vanilla\/% -exec rm -rf {} \\; $ cat tools\/files2delete_pam   | egrep -v '(^#|^\\s*$)' | xargs -I % -t -L 1 find ${WORKDIR}\/vanilla\/% -exec rm -rf {} \\; $ cat tools\/files2delete_lib   | egrep -v '(^#|^\\s*$)' | xargs -I % -t -L 1 find ${WORKDIR}\/vanilla\/% -exec rm -rf {} \\; $ cat tools\/files2delete_var   | egrep -v '(^#|^\\s*$)' | xargs -I % -t -L 1 find ${WORKDIR}\/vanilla\/% -exec rm -rf {} \\;  # \u0412\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0437\u0430\u0431\u043e\u0442\u043b\u0438\u0432\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d\u043d\u043e\u0435 $ tar --extract --file keepfiles.tar --verbose --directory ${WORKDIR}\/vanilla $ rm -f keepfiles.tar <\/code><\/pre>\n<p>  \u041d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u044d\u043a\u0441\u043a\u0443\u0440\u0441 \u0432 \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u2014 \u043a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438\u0441\u044c \u044d\u0442\u0438 \u0444\u0430\u0439\u043b\u044b.<\/p>\n<p>  \u0411\u044b\u043b\u0438 \u0438\u0437\u0443\u0447\u0435\u043d\u044b rc-\u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0432 etc\/rc.d, \u043e\u0442\u043e\u0431\u0440\u0430\u043d\u044b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0438 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0432 \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u043b\u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f. \u0417\u0430\u0442\u0435\u043c \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043a \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044e, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0438\u0439 \u0432 \u0441\u0435\u0431\u044f \u0441\u0442\u0440\u043e\u0447\u043a\u0443 &#8216;etc\/rc.d&#8217; \u0438, \u0432 \u043e\u0431\u0449\u0435\u043c-\u0442\u043e, \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043d\u044b\u043d\u0435\u0448\u043d\u0435\u0433\u043e files2delete_other. \u041a\u043b\u044e\u0447\u0435\u0432\u044b\u043c \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u043c \u0431\u044b\u043b\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u0441\u0435 \u043b\u0438\u0448\u043d\u0438\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430. \u0417\u0430\u0442\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u0444\u043b\u0435\u0448\u043a\u0443, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u0438\u0441\u044c \u0441 \u043d\u0435\u0451 \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0438 \u043f\u043e\u0438\u0441\u043a \u0444\u0430\u0439\u043b\u043e\u0432:<\/p>\n<pre><code class=\"bash\">$ find \/ -type f -amin -15 &gt; \/ca.certs\/files-keep $ find \/ -type f -not -amin -15 &gt; \/ca.certs\/files-delete <\/code><\/pre>\n<p>  \u0422\u0430\u043a \u0431\u044b\u043b\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u044b \u0441\u043f\u0438\u0441\u043a\u0438 \u0441 \u00ab\u0445\u043e\u043b\u043e\u0434\u043d\u044b\u043c\u0438\u00bb \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u0438 \u00ab\u0433\u043e\u0440\u044f\u0447\u0438\u043c\u0438\u00bb, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0432\u0448\u0438\u043c\u0438\u0441\u044f \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438, \u0447\u0435\u0439 atime \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0441\u044f \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u043f\u044f\u0442\u043d\u0430\u0434\u0446\u0430\u0442\u044c \u043c\u0438\u043d\u0443\u0442. \u0415\u0441\u043b\u0438 \u0431\u044b \u043c\u044b \u043d\u0435 \u043f\u043e\u0447\u0438\u0441\u0442\u0438\u043b\u0438 \u0437\u0430\u0440\u0430\u043d\u0435\u0435 rc-\u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u0442\u043e \u0432 \u0441\u043f\u0438\u0441\u043e\u043a \u00ab\u0433\u043e\u0440\u044f\u0447\u0438\u0445\u00bb \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u043e\u043f\u0430\u043b\u0438 \u0431\u044b \u043c\u043d\u043e\u0433\u0438\u0435 \u044f\u0432\u043d\u043e \u043b\u0438\u0448\u043d\u0438\u0435 \u2014 \u0442\u0438\u043f\u0430 ifconfig \u0438 \u0442\u043e\u043c\u0443 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0435.<\/p>\n<p>  \u0415\u0449\u0451 \u0440\u0430\u0437 \u043f\u043e\u0438\u0441\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u0431\u044b\u043b \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0451\u043d \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e freebsd-update \u2014 \u044d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b\u043e \u0432\u044b\u044f\u0432\u0438\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0434\u043b\u044f \u0435\u0451 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u043f\u043e\u0440\u043e\u0439 \u043d\u0435\u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0435, \u0442\u0438\u043f\u0430 join, tr, touch.<\/p>\n<p>  \u0418\u0437 \u043f\u0435\u0440\u0435\u0447\u043d\u044f \u00ab\u0445\u043e\u043b\u043e\u0434\u043d\u044b\u0445\u00bb \u0444\u0430\u0439\u043b\u043e\u0432 \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0441\u043f\u0438\u0441\u043a\u0438:  <\/p>\n<ul>\n<li>files2delete_bin \u2014 \u043e\u0442\u0441\u044e\u0434\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u043b\u0438\u0441\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u2014 \u0434\u043b\u044f \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0439 \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u043c, \u0434\u0438\u0441\u043a\u043e\u0432\u044b\u0435 \u0443\u0442\u0438\u043b\u0438\u0442\u044b, \u0430\u0440\u0445\u0438\u0432\u0430\u0442\u043e\u0440\u044b \u0438 \u043f\u0440\u043e\u0447\u0438\u0435. \u041f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u044b\u043b \u043f\u043e\u043b\u0443\u0447\u0435\u043d \u0441\u043f\u0438\u0441\u043e\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u0441 \u0436\u0451\u0441\u0442\u043a\u0438\u043c\u0438 \u0441\u0441\u044b\u043b\u043a\u0430\u043c\u0438 (\u00abcd ${WORKDIR}\/vanilla &#038;&#038; find bin\/ -type f -links +1 -exec echo \u201ehardlinks of \u201c {} \\; -exec find bin\/ -samefile {} \\;\u00bb, \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0443\u0434\u043e\u0431\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e sysutils\/samefile) \u2014 \u043e\u043d \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0434\u043b\u044f \u0438\u0437\u0431\u0435\u0436\u0430\u043d\u0438\u044f \u043a\u0430\u043a \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043e\u0434\u043d\u043e\u0439 \u0438\u043f\u043e\u0441\u0442\u0430\u0441\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0432 \u0441\u043f\u0438\u0441\u043e\u043a \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435, \u0430 \u0432\u0442\u043e\u0440\u043e\u0439 \u2014 \u043d\u0430 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435, \u0442\u0430\u043a \u0438 \u043c\u043d\u043e\u0433\u043e\u043a\u0440\u0430\u0442\u043d\u043e\u0433\u043e \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0436\u0451\u0441\u0442\u043a\u0438\u0445 \u0441\u0441\u044b\u043b\u043e\u043a \u043d\u0430 \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 \u0444\u0430\u0439\u043b<\/li>\n<li>files2delete_etc \u2014 \u0442\u0443\u0442 \u0438\u0441\u043a\u043b\u044e\u0447\u0430\u043b\u0438\u0441\u044c \u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u043f\u0440\u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0438 \u0444\u0430\u0439\u043b\u044b \u0442\u0438\u043f\u0430 \/etc\/passwd, etc\/master.passwd<\/li>\n<li>files2delete_local \u2014 \u0444\u0430\u0439\u043b \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043b\u0441\u044f \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0438\u0437 \u043f\u043e\u0440\u0442\u043e\u0432 \u2014 clex \u0438 jupp<\/li>\n<li>files2delete_other \u2014 \u0432\u0441\u0451 \u0446\u0435\u043d\u043d\u043e\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u043b\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e files2keep, \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u0431\u044b\u043b\u043e \u043f\u0440\u0438\u0437\u043d\u0430\u043d\u043e \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u043c<\/li>\n<li>files2delete_var \u2014 man hier \u0438 \u0432\u043f\u0435\u0440\u0451\u0434 \u2014 rm -rf, rm -rf<\/li>\n<li>files2delete_lib \u2014 \u043f\u043e\u0441\u043b\u0435 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u043f\u0438\u0441\u043a\u0430 files2delete_bin \u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0435\u0433\u043e \u0432 ${WORKDIR}\/vanilla, \u043d\u0430 \u0438\u0437\u0440\u044f\u0434\u043d\u043e \u043f\u043e\u0445\u0443\u0434\u0435\u0432\u0448\u0438\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 \u0441 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u043c\u0438 \u0431\u044b\u043b \u043d\u0430\u043f\u0443\u0449\u0435\u043d \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0439 \u043d\u0430 \u043f\u0440\u043e\u0441\u0442\u043e\u0440\u0430\u0445 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u0441\u043a\u0440\u0438\u043f\u0442 \u043f\u043e \u043f\u043e\u0438\u0441\u043a\u0443 \u00ab\u043d\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0445\u00bb \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a (ldd + grep), \u0432\u044b\u0434\u0430\u0432\u0448\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0441\u043b\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u044d\u0442\u043e\u0442 \u0444\u0430\u0439\u043b. PAM \u043c\u043e\u0434\u0443\u043b\u0438 \u0431\u044b\u043b\u0438 \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0435\u043d\u044b \u0432 \u0434\u0440\u0443\u0433\u043e\u0439 \u0444\u0430\u0439\u043b. \u0422\u0430\u043a \u0436\u0435 \u043d\u0435 \u0441\u0442\u0430\u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0438\u0437 \/lib\/geom\/. \u041f\u0440\u0438\u0447\u0451\u043c, \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u0447\u0438\u0441\u0442\u043a\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a, \u0442\u043e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442 \u0431\u044b\u043b \u0437\u0430\u043f\u0443\u0449\u0435\u043d \u0435\u0449\u0451 \u0440\u0430\u0437, \u0447\u0442\u043e \u043f\u043e\u043c\u043e\u0433\u043b\u043e \u0432\u044b\u044f\u0432\u0438\u0442\u044c \u0435\u0449\u0451 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a, \u0432\u0438\u0434\u0438\u043c\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0432\u0448\u0438\u0445\u0441\u044f \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u0445 \u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0445 (libulog, libmagic, libwrap)<\/li>\n<li>files2delete_pam \u2014 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c PAM \u043c\u043e\u0434\u0443\u043b\u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043a\u0430\u043a \u043d\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435, \u0445\u043e\u0442\u044f \u0432 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043e\u043d\u0438 \u043d\u0443\u0436\u043d\u044b. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432 etc\/pam.d\/, \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u0438, \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u044b\u0435 \u0432 \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 (login, passwd, system) \u0438 \u0441\u043c\u0438\u0440\u0438\u0442\u044c\u0441\u044f \u0441 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u043c\u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u2014 \u0442\u0430\u043a, \u0443\u0434\u0430\u043b\u0438\u0432 etc\/pam.d\/su \u2014 \u043c\u044b \u043d\u0435 \u0441\u0434\u0435\u043b\u0430\u0435\u043c su. \u0410 \u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u2014 \u0437\u0430\u0447\u0435\u043c \u043d\u0430\u043c \u043d\u0443\u0436\u0435\u043d su, \u0435\u0441\u043b\u0438 \u043f\u043e Alt+F1 \u0443 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u043a\u043e\u043d\u0441\u043e\u043b\u044c &#8216;ca&#8217;, \u043f\u043e Alt+F2 \u0443 \u043d\u0430\u0441 &#8216;root&#8217;<\/li>\n<\/ul>\n<p>  \u041f\u043e \u0438\u0442\u043e\u0433\u0430\u043c \u0447\u0438\u0441\u0442\u043a\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0431\u044b\u043b\u0430 \u0441\u0434\u0435\u043b\u0430\u043d\u0430 \u0444\u043b\u0435\u0448\u043a\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b\u0438 \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u0438\u0437 bin, sbin, usr\/bin, usr\/sbin \u043d\u0430 \u043f\u0440\u0435\u0434\u043c\u0435\u0442 \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0433\u0440\u0443\u0431\u044b\u0445 \u043e\u0448\u0438\u0431\u043e\u043a. \u041e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e poweroff \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0432\u044b\u0437\u0432\u0430\u0442\u044c wall \u0434\u043b\u044f \u043e\u043f\u043e\u0432\u0435\u0449\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439; clear \u0445\u043e\u0447\u0435\u0442 tput (\u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0443\u0436\u043d\u0430\u044f, tput \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443); \u0430 \u043a\u043e\u0441\u0442\u044b\u043b\u044c \u0434\u043b\u044f whereis \u043c\u044b \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438 \u0440\u0430\u043d\u044c\u0448\u0435. \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u0432\u044b\u0434\u0430\u0447\u0430 \u00abusage:\u00bb \u043d\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u0430 \u043e\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u0430\u043a\u0438\u0445-\u0442\u043e \u043d\u0435\u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a, \u043d\u043e \u0437\u0430\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0432 \u043e\u0442\u0447\u0451\u0442\u043d\u043e\u0441\u0442\u0438 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c \u0447\u0442\u043e \u00ab\u0432\u0441\u0451 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f\u00bb. \u041d\u0443 \u0430 \u0434\u0430\u043b\u044c\u0448\u0435, \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430 \u2014 \u043a\u0440\u0438\u0442\u0435\u0440\u0438\u0439 \u0438\u0441\u0442\u0438\u043d\u044b.  <\/p>\n<h2>\u0421\u043e\u0437\u0434\u0430\u0451\u043c \u043e\u0431\u0440\u0430\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u044b<\/h2>\n<p>  \u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c \u0437\u0430\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0447\u0438\u0441\u0442\u043a\u0443 ${WORKDIR}\/vanilla<\/p>\n<pre><code class=\"bash\"># \u0423\u0434\u0430\u043b\u044f\u0435\u043c \u043f\u0443\u0441\u0442\u044b\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 \u0432 \/usr. $ find ${WORKDIR}\/vanilla\/usr -type d -empty -delete  # \u0423\u0434\u0430\u043b\u044f\u0435\u043c \u043c\u0451\u0440\u0442\u0432\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 $ chroot ${WORKDIR}\/vanilla find -L \/ -type l -exec rm -f {} \\;  # \u0423\u0434\u0430\u043b\u044f\u0435\u043c \u0441\u043a\u0430\u0447\u0430\u043d\u043d\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b $ rm -rf ${WORKDIR}\/vanilla\/tmp\/pkg.files  # \u0423\u0434\u0430\u043b\u044f\u0435\u043c \u0411\u0414 pkg $ rm -rf ${WORKDIR}\/pkg.db  # \u0423\u0434\u0430\u043b\u044f\u0435\u043c \u0411\u0414 \u043f\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u043f\u0430\u043a\u0435\u0442\u0430\u043c $ rm -f ${WORKDIR}\/vanilla\/var\/db\/pkg\/local.sqlite  # \u0421\u043e\u0437\u0434\u0430\u0451\u043c termcap db $ chroot ${WORKDIR}\/vanilla cap_mkdb \/usr\/share\/misc\/termcap  # \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 'nologin' \u0443 \u043d\u0430\u0441 \u0431\u044b\u043b\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u0430 \u043f\u0440\u0438 \u0447\u0438\u0441\u0442\u043a\u0435 - \u0443\u0436 \u0431\u043e\u043b\u044c\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0430\u044f # \u043e\u043d\u0430, \u0430\u0436 372 \u043a\u0431, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u043e\u0434\u043d\u043e\u043c\u0451\u043d\u043d\u044b\u0439 \u0441\u0438\u043c\u043b\u0438\u043d\u043a \u043d\u0430 'false' # \u041f\u0440\u0438 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u043c freebsd-update \u0444\u0430\u0439\u043b \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f. \u041d\u043e \u044d\u0442\u043e \u0433\u0440\u043e\u0437\u0438\u0442 \u043b\u0438\u0448\u044c \u0432\u0442\u043e\u0440\u043e\u043c\u0443 \u043e\u0431\u0440\u0430\u0437\u0443 \u0441\u0438\u0441\u0442\u0435\u043c\u044b $ ln -f ${WORKDIR}\/vanilla\/usr\/bin\/false ${WORKDIR}\/vanilla\/usr\/sbin\/nologin  # \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u0442\u043e\u0447\u043a\u0438 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u0426\u0421 $ mkdir -p -m 0700 ${WORKDIR}\/vanilla\/{ca,ca.keys,ca.certs} # \u0438 \u0434\u043b\u044f \u0444\u043b\u0435\u0448\u0435\u043a $ mkdir -p -m 0700 ${WORKDIR}\/vanilla\/home\/ca\/mnt # \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430 $ chroot ${WORKDIR}\/vanilla chown ca:ca \/ca \/ca.keys \/ca.certs \/home\/ca\/mnt  # \u0421\u043e\u0437\u0434\u0430\u0451\u043c mfs \u043e\u0431\u0440\u0430\u0437\u044b. \u041e\u0434\u0438\u043d (\u044d\u0442\u0430\u043b\u043e\u043d\u043d\u044b\u0439) \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0441 \u043c\u0438\u043d\u0438\u043c\u0443\u043c\u043e\u043c \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430, \u0430 \u0434\u043b\u044f \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u043c # \u0437\u0430\u043f\u0430\u0441, \u043d\u0430 \u0441\u043b\u0443\u0447\u0430\u0439 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 freebsd-update. \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043a makefs \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435: # -b free-blocks - Ensure that a minimum of 'free-blocks' free blocks (512 bytes) exist in the image # -f free-files - Ensure that a minimum of 'free-files' free files (inodes) exist in the image # -o fs-options - Set file system specific options # -t fs-type - Create an 'fs-type' file system image  # \u041f\u0435\u0440\u0432\u044b\u0439 \u043e\u0431\u0440\u0430\u0437. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c 1 \u041c\u0431 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430, \u0447\u0442\u043e\u0431\u044b \u043d\u0438\u043a\u0430\u043a\u0438\u0435 \u0443\u0442\u0438\u043b\u0438\u0442\u044b \u043d\u0435 \u0447\u0443\u0432\u0441\u0442\u0432\u043e\u0432\u0430\u043b\u0438 \u0441\u0435\u0431\u044f \u0443\u0449\u0435\u043c\u043b\u0451\u043d\u043d\u044b\u043c\u0438 $ makefs -b 1m  -f 100 -o label=sysimg1 -t ffs ${WORKDIR}\/custom\/mfs1 ${WORKDIR}\/vanilla  # \u041e\u043d \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u043d\u0435 \u0431\u0443\u0434\u0435\u0442, \u0441\u043e\u0436\u043c\u0451\u043c \u0435\u0433\u043e. $ gzip -9 -f ${WORKDIR}\/custom\/mfs1  # \u0412\u0442\u043e\u0440\u043e\u0439 \u043e\u0431\u0440\u0430\u0437. \u041f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0438\u043c 10 \u041c\u0431 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430 \u0434\u043b\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b. $ makefs -b 10m -f 100 -o label=sysimg2 -t ffs ${WORKDIR}\/custom\/mfs2 ${WORKDIR}\/vanilla <\/code><\/pre>\n<p>  <\/p>\n<h2>\u0421\u043e\u0437\u0434\u0430\u0451\u043c CD<\/h2>\n<p>  \u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043f\u043e\u043b\u044c\u0437\u0430 \u043e\u0442 \u0437\u0430\u043f\u0438\u0441\u0438 \u043d\u0430 CD-ROM \u0441\u043e\u043c\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430 \u2014 \u0432\u0441\u0451 \u0436\u0435 \u0444\u043b\u0435\u0448\u043a\u0438 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u043d\u0435\u0435, \u043d\u043e \u044d\u0442\u043e\u0442 \u043e\u0431\u0440\u0430\u0437 \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u044d\u0442\u0430\u043f\u043e\u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430\u0448\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438. \u0421\u0434\u0435\u043b\u0430\u043b\u0438 iso \u043e\u0431\u0440\u0430\u0437, \u043f\u043e\u0434\u0441\u0443\u043d\u0443\u043b\u0438 \u0435\u0433\u043e \u0442\u043e\u043c\u0443 \u0436\u0435 qemu, \u043f\u043e\u043f\u044b\u0442\u0430\u043b\u0438\u0441\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c\u0441\u044f \u2014 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438, \u0447\u0442\u043e \u0434\u0430 \u043a\u0430\u043a.  <\/p>\n<pre><code class=\"bash\">$ makefs -t cd9660 -o bootimage=i386\\;${WORKDIR}\/cdboot,label=caBSD,no-emul-boot,rockridge caBSD-10.1-i386.iso ${WORKDIR}\/custom  # \u0413\u043e\u0442\u043e\u0432\u043e $ ls -l caBSD-10.1-i386.iso <\/code><\/pre>\n<p>  <\/p>\n<h2>\u0421\u043e\u0437\u0434\u0430\u0451\u043c \u0444\u043b\u0435\u0448\u043a\u0443<\/h2>\n<p>  \u0412\u043e\u0442 \u043c\u044b \u0438 \u043f\u043e\u0434\u043e\u0448\u043b\u0438 \u043a \u0437\u0430\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u043c\u0443 \u044d\u0442\u0430\u043f\u0443 \u2014 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e img \u043e\u0431\u0440\u0430\u0437\u0430 \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u043d\u0430 \u0444\u043b\u0435\u0448\u043a\u0443.<\/p>\n<p>  \u0423 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430:  <\/p>\n<ol>\n<li>\u0420\u0430\u0437\u0434\u0435\u043b \u0434\u043b\u044f \u043e\u0431\u043c\u0435\u043d\u0430 \u0441 \u0432\u043d\u0435\u0448\u043d\u0438\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438 \u2014 \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 .csr \u0438 \u0432\u044b\u0433\u0440\u0443\u0437\u043a\u0438 .crt, \u0442\u0438\u043f ms-basic-data, \u0440\u0430\u0437\u043c\u0435\u0440 1 \u041c\u0431. \u0414\u0435\u043b\u0430\u0435\u043c \u0435\u0433\u043e \u043f\u0435\u0440\u0432\u044b\u043c, \u0447\u0442\u043e\u0431\u044b \u0431\u0435\u0437 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0442\u0435\u043b\u043e\u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0439 \u0431\u044b\u043b \u0432\u0438\u0434\u0435\u043d \u0432 Windows (7, \u043d\u0430 XP \u0438 \u043d\u0438\u0436\u0435 \u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b\u0441\u044f)<\/li>\n<li>\u0417\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u044b\u0439 GPT \u0440\u0430\u0437\u0434\u0435\u043b, freebsd-boot, 64 \u041a\u0431<\/li>\n<li>\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0440\u0430\u0437\u0434\u0435\u043b \u0441 \/boot, \u044f\u0434\u0440\u0430\u043c\u0438 \u0438 mfs-\u043e\u0431\u0440\u0430\u0437\u0430\u043c\u0438, freebsd-ufs, \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c \u0441 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 ${WORKDIR}\/custom<\/li>\n<li>\u0420\u0430\u0437\u0434\u0435\u043b \u0441\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u043c\u0438 \u0438 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043d\u0430\u0448\u0435\u0433\u043e \u0426\u0421, freebsd-ufs, 1 \u041c\u0431<\/li>\n<li>\u0428\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0440\u0430\u0437\u0434\u0435\u043b \u0441 \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u043c\u0438 \u043a\u043b\u044e\u0447\u0430\u043c\u0438 \u0426\u0421, freebsd-ufs, 1 \u041c\u0431. \u0421\u0438\u043b\u044c\u043d\u043e \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u043c \u043b\u0443\u0447\u0448\u0435 \u043d\u0435 \u0434\u0435\u043b\u0430\u0442\u044c, \u0442.\u043a. geli \u043c\u043e\u0436\u0435\u0442 \u0441\u044a\u0435\u0441\u0442\u044c \u043f\u0440\u0438\u043b\u0438\u0447\u043d\u043e \u043c\u0435\u0441\u0442\u0430<\/li>\n<\/ol>\n<pre><code class=\"bash\"># \u0423\u0434\u0430\u043b\u044f\u0435\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u043e\u043f\u044b\u0442\u043e\u0432 $ rm -f caBSD-10.1-i386.img caBSD-10.1-i386.txt  # \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d\u043d\u044b\u0435 \u0440\u0430\u043d\u0435\u0435 \u0446\u0438\u0444\u0440\u043e\u0432\u044b\u0435 uid\/gid \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f 'ca' # \u041d\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c \u0448\u0430\u0433\u0435 \u043c\u044b \u0441\u0432\u0435\u0440\u043d\u0443\u043b\u0438 \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u0440\u0430\u0437\u0434\u0435\u043b \u043d\u0430\u0448\u0435\u0439 \u043d\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432 \u0444\u0430\u0439\u043b, \u0434\u0435\u043b\u0430\u0442\u044c chroot \u0443\u0436\u0435 \u043d\u0435\u043a\u0443\u0434\u0430, # \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0435\u043c \u0444\u0430\u0439\u043b\u043e\u0432 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f 'ca' \u0431\u0443\u0434\u0435\u043c \u043f\u043e \u0435\u0433\u043e \u0446\u0438\u0444\u0440\u043e\u0432\u043e\u043c\u0443 id $ set CA_UID=`cat ${WORKDIR}\/ca.uid` $ set CA_GID=`cat ${WORKDIR}\/ca.gid`  # \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0440\u0430\u0437\u043c\u0435\u0440 ${WORKDIR}\/custom (\u0432 \u041c\u0431). $ set SYSSIZE=`du -sm ${WORKDIR}\/custom | cut -f 1`  # \u0420\u0430\u0437\u043c\u0435\u0440 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430. \u041e\u043f\u044b\u0442\u043d\u044b\u043c \u043f\u0443\u0442\u0451\u043c \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u0446\u0438\u0444\u0440\u0430 \u0432 \u0442\u0440\u0438 \u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442\u0430, # \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0430 \u0441\u043b\u0443\u0436\u0435\u0431\u043d\u044b\u0435 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 UFS \u0438 \u043f\u0440\u043e\u0447\u0438\u0435 \u0434\u043e\u043b\u0438 \u0430\u043d\u0433\u0435\u043b\u043e\u0432. $ set SYSSIZE=`expr ${SYSSIZE} + 3`  # \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0440\u0435\u0437\u0435\u0440\u0432 \u043f\u043e\u0434 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u044f\u0434\u0440\u0430. \u041d\u0435\u0441\u0436\u0430\u0442\u043e\u0435 GENERIC \u044f\u0434\u0440\u043e \u0432\u0435\u0441\u0438\u0442 17 \u041c\u0431. \u0414\u043b\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f freebsd-update # \u043d\u0443\u0436\u043d\u043e \u044d\u0442\u043e \u043c\u0435\u0441\u0442\u043e \u0443\u0447\u0435\u0441\u0442\u044c. \u0410 \u0435\u0441\u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435 &quot;BackupKernel yes&quot; \u0432 freebsd-update.conf, \u0442\u043e \u0438 \u043f\u043e\u0434 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0435 # \u044f\u0434\u0440\u043e. \u041b\u0438\u0431\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \/boot\/kernel \u0432 tmpfs, \u0442\u0430\u043c \u0440\u0430\u0437\u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c, # \u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u043a\u043b\u0430\u0441\u0442\u044c \u043d\u0430 \u043c\u0435\u0441\u0442\u043e. \u041d\u043e \u043f\u043e\u043a\u0430 \u0434\u043e\u0431\u0430\u0432\u0438\u043c 30 \u041c\u0431 \u043d\u0430 \u0432\u0441\u0451. \u0414\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f $ set SYSSIZE=`expr ${SYSSIZE} + 30`  # \u0420\u0430\u0437\u043c\u0435\u0440 \u0444\u0430\u0439\u043b\u0430 \u0441 \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0434\u043b\u044f \u0444\u043b\u0435\u0448\u043a\u0438 (system + exchange + ca + keys) $ set IMGSIZE=`expr ${SYSSIZE} + 1 + 1 + 1`  # \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u043f\u0443\u0441\u0442\u043e\u0439 \u043f\u043e\u043a\u0430 img \u043e\u0431\u0440\u0430\u0437 $ dd if=\/dev\/zero of=caBSD-10.1-i386.img count=${IMGSIZE} bs=1m  # \u041c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0435\u0433\u043e \u043a\u0430\u043a md \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e $ set MDDEVICE=`mdconfig -a -t vnode -f caBSD-10.1-i386.img` <\/code><\/pre>\n<p>  <\/p>\n<blockquote><p>\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 md \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432 \u0432 \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043d\u0435 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u044b\u0445 \u043f\u043e\u043f\u044b\u0442\u043e\u043a \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f img \u043e\u0431\u0440\u0430\u0437\u0430 \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435 \u0443\u0434\u0430\u043b\u044f\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u043e\u0441\u0442\u0430\u0432\u0448\u0438\u0435\u0441\u044f \u043e\u0442 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u043f\u043e\u043f\u044b\u0442\u043e\u043a \u2014 \u00abls \/dev\/md*\u00bb \u0438 \u0441\u043b\u0435\u0434\u043e\u043c \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0442\u044c \u00abmdconfig -d -u N\u00bb, \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044f \u0432\u043c\u0435\u0441\u0442\u043e &#8216;N&#8217; \u043d\u043e\u043c\u0435\u0440\u0430 \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u0445 md \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432. \u0418 \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u043d\u0430 \u0447\u0442\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 ${MDDEVICE}  <\/p><\/blockquote>\n<p>  <\/p>\n<h3>\u0421\u043e\u0437\u0434\u0430\u0451\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u044b<\/h3>\n<pre><code class=\"bash\"># \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u044b, \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e man gpart $ gpart create -s GPT ${MDDEVICE}  # Embed GPT bootstrap code into a protective MBR: $ gpart bootcode -b ${WORKDIR}\/pmbr ${MDDEVICE}  # Create a dedicated freebsd-boot partition that can boot FreeBSD from a freebsd-ufs partition, # and install bootstrap code into it. We uses 88 blocks (44 kB) so the next partition will be # aligned on a 64 kB boundary. The boot partition itself is aligned on a 4 kB boundary # \u041d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u044f \u043f\u043e \u0433\u0440\u0430\u043d\u0438\u0446\u0435 4k - \u044d\u0442\u043e \u0436\u0435 \u043d\u0435 SSD \u0438 \u043d\u0435 \u0436\u0451\u0441\u0442\u043a\u0438\u0439 \u0434\u0438\u0441\u043a. # \u041d\u043e \u043f\u0443\u0441\u0442\u044c \u0431\u0443\u0434\u0435\u0442. $ gpart add -b 40 -s 1m          -t ms-basic-data -l exchange ${MDDEVICE} $ gpart add -a 4k -s 64k         -t freebsd-boot  -l boot     ${MDDEVICE} $ gpart add -a 4k -s ${SYSSIZE}m -t freebsd-ufs   -l system   ${MDDEVICE} $ gpart add -a 4k -s 1m          -t freebsd-ufs   -l ca       ${MDDEVICE} $ gpart add -a 4k                -t freebsd-ufs   -l keys     ${MDDEVICE} # \u0420\u0430\u0437\u043c\u0435\u0440 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430 \u043d\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c, \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0447\u0443\u0442\u044c \u043c\u0435\u043d\u044c\u0448\u0435 1 \u041c\u0431  # \u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c, \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c $ gpart show ${MDDEVICE}  # \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0432 \u0444\u0430\u0439\u043b $ gpart backup ${MDDEVICE} &gt; caBSD-10.1-i386.txt  $ unset SYSSIZE IMGSIZE <\/code><\/pre>\n<p>  <\/p>\n<h3>\u0424\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u0443\u0435\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u044b<\/h3>\n<p>  <\/p>\n<pre><code class=\"bash\"># \u0424\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u0443\u0435\u043c \u043f\u0435\u0440\u0432\u044b\u0439 \u0440\u0430\u0437\u0434\u0435\u043b # \u0415\u0441\u043b\u0438 \u0443\u043a\u0430\u0437\u0430\u0442\u044c &quot;-F 32&quot;, \u0442\u043e \u0431\u0443\u0434\u0435\u0442 FAT32, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c - \u0430\u0432\u0442\u043e\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435. # \u0414\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0432 1 \u041c\u0431 - FAT12 $ newfs_msdos -L exchange \/dev\/gpt\/exchange  # \u0412\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0437\u0434\u0435\u043b. \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043d\u043e\u043c\u0435\u0440 freebsd-boot \u0440\u0430\u0437\u0434\u0435\u043b\u0430 -&gt; &quot;-i 2&quot; $ gpart bootcode -p ${WORKDIR}\/gptboot -i 2 ${MDDEVICE}  # \u0422\u0440\u0435\u0442\u0438\u0439 \u0440\u0430\u0437\u0434\u0435\u043b # -O - filesystem type; # -n - disable snapshot. Background fsk must be OFF in rc.conf # -o - optimization; # -m - free-space. The percentage of space reserved from normal users; # \u041e\u043f\u0446\u0438\u044e -U \u043d\u0435 \u0441\u0442\u0430\u0432\u0438\u043c - \u0441\u043e\u0444\u0442\u0430\u043f\u0434\u0435\u0439\u0442\u044b \u043d\u0435 \u043d\u0443\u0436\u043d\u044b, -t \u0442\u043e\u0436\u0435 \u043d\u0435 \u0441\u0442\u0430\u0432\u0438\u043c - \u044d\u0442\u043e \u043d\u0435 SSD $ newfs -O2 -n -o space -m 0 -L system \/dev\/gpt\/system  # \u0427\u0435\u0442\u0432\u0451\u0440\u0442\u044b\u0439 \u0440\u0430\u0437\u0434\u0435\u043b $ newfs -O2 -n -o space -m 0 -L ca \/dev\/gpt\/ca  # \u041f\u044f\u0442\u044b\u0439 \u0440\u0430\u0437\u0434\u0435\u043b. \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0440\u0430\u0437\u0434\u0435\u043b \u0434\u043b\u044f \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0445 \u043a\u043b\u044e\u0447\u0435\u0439 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0426\u0421 # \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0431\u0443\u0434\u0435\u043c \u043e\u0431\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u043b\u0438\u0448\u044c \u043e\u0434\u043d\u043e\u0439 \u043f\u0430\u0440\u043e\u043b\u044c\u043d\u043e\u0439 \u0444\u0440\u0430\u0437\u043e\u0439. \u0412 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0439 \u0436\u0438\u0437\u043d\u0438 # \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u0444\u0430\u0439\u043b\u044b (user key + company key)  # \u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u0440\u0430\u0437\u0434\u0435\u043b \/dev\/gpt\/keys, \u0434\u0432\u0430\u0436\u0434\u044b \u0432\u0432\u043e\u0434\u0438\u043c \u043f\u0430\u0440\u043e\u043b\u044c # -a Enable data integrity verification (authentication) using the given algorithm # -B File name to use for metadata backup # -s Change decrypted provider's sector size. # \u0417\u0434\u0435\u0441\u044c \u043c\u044b HMAC \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u043c, \u0441 \u043d\u0438\u043c \u0445\u043b\u043e\u043f\u043e\u0442 \u0431\u043e\u043b\u044c\u0448\u0435. \u041e\u043f\u044f\u0442\u044c \u0436\u0435, \u0435\u0441\u043b\u0438 \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u0432\u0440\u0435\u0436\u0434\u0435\u043d\u044b \u0444\u0430\u0439\u043b\u044b # \u0441 \u043a\u043b\u044e\u0447\u0430\u043c\u0438 - \u043c\u044b \u043e\u0431 \u044d\u0442\u043e\u043c \u0443\u0437\u043d\u0430\u0435\u043c \u0438 \u0442\u0430\u043a, \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0438\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f. \u041a \u0442\u043e\u043c\u0443 \u0436\u0435 HMAC \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442 # \u043f\u043e\u043b\u0435\u0437\u043d\u0443\u044e \u0451\u043c\u043a\u043e\u0441\u0442\u044c \u0440\u0430\u0437\u0434\u0435\u043b\u0430. \u0412 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432 \u0441\u0435\u043a\u0442\u043e\u0440\u043e\u0432 \u043c\u043e\u0436\u0435\u0442 \u0434\u0430\u0436\u0435 \u0432\u0435\u0441\u044c\u043c\u0430 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e $ geli init -B caBSD-10.1-i386.gelibak -s 4096 \/dev\/gpt\/keys  # \u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b, \u043f\u043e\u0442\u043e\u043c \u0440\u0430\u0441\u043f\u0435\u0447\u0430\u0442\u0430\u0435\u043c. \u041d\u0430 \u0431\u0443\u043c\u0430\u0433\u0435 \u043e\u043d\u043e \u043f\u043e\u043d\u0430\u0434\u0451\u0436\u043d\u0435\u0435 \u0431\u0443\u0434\u0435\u0442. # \u041a\u043e\u043b\u0438 \u043f\u0440\u0438\u0441\u043f\u0438\u0447\u0438\u0442, \u0441\u0435\u043c\u044c\u0441\u043e\u0442 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u043d\u0430\u043f\u0435\u0447\u0430\u0442\u0430\u0442\u044c \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e. $ cat caBSD-10.1-i386.gelibak | b64encode caBSD-10.1-i386.gelibak &gt;&gt; caBSD-10.1-i386.txt  # \u041e\u0442\u043c\u0435\u0442\u0438\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 '-r' - Attach read-only provider. \u0422\u0443\u0442 \u0431\u0443\u0434\u0435\u0442 # \u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u043a\u0440\u044b\u0442\u044b\u0439 \u043a\u043b\u044e\u0447\u0438 \u0426\u0421 \u0438 \u043f\u043e\u0441\u043b\u0435 \u0435\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0440\u0430\u0437\u0434\u0435\u043b \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c # \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f - \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 geli_default_flags=&quot;-r&quot; \u0432 rc.conf. \u0418 'ro' \u0432 fstab $ geli attach \/dev\/gpt\/keys  # \u041f\u043e\u044f\u0432\u0438\u0432\u0448\u0438\u0439\u0441\u044f \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0440\u0430\u0437\u0434\u0435\u043b \/dev\/gpt\/keys.eli \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 # (dd if=\/dev\/random of=\/dev\/gpt\/keys.eli bs=4096), \u0430 \u043c\u043e\u0436\u0435\u043c \u0438 \u043d\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0442\u044c, \u0438 \u0442\u0430\u043a \u044f\u0441\u043d\u043e \u0447\u0442\u043e # \u0442\u0430\u043c \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f. \u0420\u0430\u0437\u043c\u0435\u0440 \u0431\u043b\u043e\u043a\u0430 (4k) \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043a\u0440\u0430\u0442\u043d\u044b\u043c \u0442\u043e\u043c\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0443\u043a\u0430\u0437\u0430\u043b\u0438 \u0432 geli init  # \u0424\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u0443\u0435\u043c (\u0438\u043c\u0435\u043d\u043d\u043e keys.eli) $ newfs -O2 -n -o space -m 0 -L gelikeys \/dev\/gpt\/keys.eli  # \u041f\u043e\u0437\u0436\u0435, \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0432\u0448\u0438\u0441\u044c \u0441 \u043d\u0430\u0448\u0435\u0439 \u0444\u043b\u0435\u0448\u043a\u0438 \u0438 \u0441\u0434\u0435\u043b\u0430\u0432 df -h \u043c\u044b \u0443\u0432\u0438\u0434\u0438\u043c:  Filesystem           Size    Used   Avail Capacity  Mounted on \/dev\/md0              14M     13M    690K    95%    \/ devfs                1.0K    1.0K      0B   100%    \/dev tmpfs                 50M    4.0K     50M     0%    \/tmp \/dev\/gpt\/ca          828K    240K    588K    29%    \/ca \/dev\/gpt\/keys.eli    720K    4.0K    716K     1%    \/ca.keys \/dev\/gpt\/exchange    999K    6.5K    992K     1%    \/ca.certs <\/code><\/pre>\n<p>  <\/p>\n<h3>\u041d\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u044b<\/h3>\n<p>  <\/p>\n<pre><code class=\"bash\"># [keys] \u041d\u0430\u0447\u043d\u0451\u043c \u0441 \u043d\u0435\u0433\u043e, \u0447\u0442\u043e\u0431 \u0440\u0430\u0437\u0432\u044f\u0437\u0430\u0442\u044c\u0441\u044f \u0441 geli. \u0420\u0430\u0437\u0434\u0435\u043b \u043f\u043e\u043a\u0430 \u043f\u0443\u0441\u0442\u043e\u0439, # \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u043b\u044e\u0434\u0438 \u043a\u043b\u044e\u0447\u0438 \u043f\u043e\u0442\u043e\u043c \u0441\u043e\u0437\u0434\u0430\u0434\u0443\u0442 \u0441\u0430\u043c\u0438 $ mount \/dev\/gpt\/keys.eli ${WORKDIR}\/mnt  # \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0441\u0442\u0430\u0432\u0438\u043c \u043c\u0435\u0442\u043a\u0443 &quot;\u0417\u0434\u0435\u0441\u044c \u0431\u044b\u043b \u0412\u0430\u0441\u044f&quot; $ touch ${WORKDIR}\/mnt\/.created-keys.eli  # \u041c\u0435\u043d\u044f\u0435\u043c \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430 \u0440\u0430\u0437\u0434\u0435\u043b\u0430 \u043d\u0430 'ca' $ chown -R ${CA_UID}:${CA_GID} ${WORKDIR}\/mnt  # \u041e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c $ umount ${WORKDIR}\/mnt $ geli detach \/dev\/gpt\/keys.eli  # [exchange]. \u0422\u043e\u0436\u0435 \u043f\u0443\u0441\u0442\u043e\u0439 \u0440\u0430\u0437\u0434\u0435\u043b # -m maximum file permissions for files # -M maximum file permissions for directories $ mount_msdosfs -u ${CA_UID} -g ${CA_GID} -m 0640 -M 0750 -l \/dev\/gpt\/exchange ${WORKDIR}\/mnt  # \u042d\u0442\u043e \u043d\u0435 UFS \u0440\u0430\u0437\u0434\u0435\u043b, \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0430 \u0438 \u043f\u0440\u0430\u0432\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0437\u0430\u0434\u0430\u0451\u043c \u043f\u0440\u0438 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438. # \u0427\u0442\u043e \u0442\u0443\u0442, \u0447\u0442\u043e \u0432 fstab. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u0442\u0430\u0432\u0438\u043c \u043c\u0435\u0442\u043a\u0443 \u0438 \u0440\u0430\u0437\u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c $ touch ${WORKDIR}\/mnt\/.created-exchange $ umount ${WORKDIR}\/mnt  # [ca] \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u043d\u0430\u0448\u0435\u0433\u043e \u0426\u0421 \u0438\u0437 \u0430\u0440\u0445\u0438\u0432\u0430. # \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0438\u043c, \u043e\u043d \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 tools\/ca.tar.gz. $ mount \/dev\/gpt\/ca ${WORKDIR}\/mnt $ tar --extract --gunzip --no-same-permissions --file tools\/ca.tar.gz --directory ${WORKDIR}\/mnt  # \u0412\u0441\u0435\u043c \u0444\u0430\u0439\u043b\u0430\u043c \u043f\u0440\u0430\u0432\u0430 rw-r----- $ chmod -R u=rw,g=r,o= ${WORKDIR}\/mnt\/*  # \u041a\u0430\u0442\u0430\u043b\u043e\u0433\u0443 conf \u043f\u0440\u0430\u0432\u0430 rwxr-x--- $ chmod u=rwx,g=rx,o= ${WORKDIR}\/mnt\/conf  # \u0421\u043a\u0440\u0438\u043f\u0442\u0430\u043c \u043f\u0440\u0430\u0432\u0430 rwxr-x--- $ chmod u=rwx,g=rx,o= ${WORKDIR}\/mnt\/*.sh  $ touch ${WORKDIR}\/mnt\/.created-ca $ chown -R ${CA_UID}:${CA_GID} ${WORKDIR}\/mnt $ umount ${WORKDIR}\/mnt  # [system] \u0413\u043e\u0442\u043e\u0432\u0438\u043c\u0441\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043e\u0431\u0440\u0430\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u044b $ mount \/dev\/gpt\/system ${WORKDIR}\/mnt  # \u041a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0432\u0441\u0451 $ cp -av ${WORKDIR}\/custom\/. ${WORKDIR}\/mnt\/ $ umount ${WORKDIR}\/mnt  # \u0423\u0431\u0438\u0440\u0430\u0435\u043c \u0437\u0430 \u0441\u043e\u0431\u043e\u0439 $ mdconfig -d -u ${MDDEVICE} $ unset MDDEVICE CA_UID CA_GID  # \u0413\u043e\u0442\u043e\u0432\u043e $ ls -l caBSD-10.1-i386.img <\/code><\/pre>\n<p>  <\/p>\n<h2>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b<\/h2>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043c \u043e\u0444\u0444\u043b\u0430\u0439\u043d\u043e\u0432\u043e\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430\u0448\u0435\u0439 FreeBSD \u043d\u0430 \u0444\u043b\u0435\u0448\u043a\u0435. \u041f\u0440\u043e\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u043c \u0432\u0430\u0436\u043d\u043e\u043c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438 \u0437\u0430\u043d\u043e\u0432\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0444\u043b\u0435\u0448\u043a\u0443 \u043f\u043e \u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0443, \u043d\u043e \u044d\u0442\u043e \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043b\u0435\u0433\u043a\u043e, \u043d\u0435 \u043d\u0430\u0448 \u043f\u0443\u0442\u044c.<\/p>\n<p>  \u041f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0432 \u0436\u0438\u0432\u044b\u0445 \u043f\u043e\u0441\u043b\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0444\u043b\u0435\u0448\u043a\u0438 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 ${WORKDIR}. \u041c\u043e\u0436\u043d\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0431\u0435\u0437 \u043d\u0435\u0433\u043e \u2014 \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u0447\u0438\u0441\u0442\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0441 DVD \u2014 \u043d\u043e \u0442\u043e\u0433\u0434\u0430 \u0431\u0443\u0434\u0443\u0442 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u0441\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f, \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c, \u0434\u0430\u0436\u0435 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u0432 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435 \u0434\u043b\u044f \u0444\u043b\u0435\u0448\u043a\u0438 \u043b\u0438\u0431\u043e \u043d\u0435 \u0441\u0442\u0430\u0432\u0438\u043b\u0438, \u043b\u0438\u0431\u043e \u0443\u0434\u0430\u043b\u044f\u043b\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u0443\u0434\u0435\u043c \u0441\u0447\u0438\u0442\u0430\u0442\u044c, \u0447\u0442\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433 ${WORKDIR} \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c.<\/p>\n<p>  \u041f\u043e\u0438\u0441\u043a \u0438 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442\u044c \u0434\u0432\u0443\u043c\u044f \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044f\u043c\u0438 \u2014 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u044f\u0434\u0440\u0430, \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<\/p>\n<p>  \u0418\u043c\u0435\u0435\u0442 \u043c\u0435\u0441\u0442\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u0430\u044f \u043d\u0435\u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e\u0441\u0442\u044c \u2014 freebsd-update \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u044f\u0434\u0440\u0435 \u0438\u0437 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 kern.bootfile, \u0442\u043e \u0435\u0441\u0442\u044c \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b. \u041d\u043e \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u043d\u0438 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u044b \u2014 \u044f\u0434\u0440\u043e GENERIC \u043c\u044b \u043a\u0430\u043a \u0440\u0430\u0437 \u0431\u0440\u0430\u043b\u0438 \u043e\u0442\u0442\u0443\u0434\u0430.<\/p>\n<pre><code class=\"bash\">$ cd ${BASE}  # \u0420\u0430\u0437\u0430\u0440\u0445\u0438\u0432\u0438\u0440\u0443\u0435\u043c GENERIC \u044f\u0434\u0440\u043e, \u0435\u0441\u043b\u0438 \u0441\u0436\u0438\u043c\u0430\u043b\u0438, \u0438\u043d\u0430\u0447\u0435 freebsd-update \u043f\u0440\u043e\u0441\u0442\u043e \u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0439\u0434\u0451\u0442 # gunzip ${WORKDIR}\/custom\/boot\/kernel\/kernel.gz  # \u0412 custom \u0443 \u043d\u0430\u0441 \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \/boot, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f GENERIC \u044f\u0434\u0440\u0430 \u0438 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 # -b basedir - Operate on a system mounted at basedir # -d workdir - Store working files in workdir # -f conffile - Read configuration options from conffile $ freebsd-update fetch -b ${WORKDIR}\/custom -d ${WORKDIR}\/mnt -f ${WORKDIR}\/vanilla\/etc\/freebsd-update.conf  # \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b $ freebsd-update fetch -b ${WORKDIR}\/vanilla -d ${WORKDIR}\/mnt -f ${WORKDIR}\/vanilla\/etc\/freebsd-update.conf <\/code><\/pre>\n<p>  \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e (?), \u0432 \u0432\u0435\u0442\u043a\u0435 FreeBSD 10.1 \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438 \u043d\u0435 \u0431\u044b\u043b\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u044f\u0434\u0440\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043a\u0430\u043a \u043e\u043d\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c. \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043e\u0441\u0442\u0430\u043b\u0441\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0432\u043e\u043f\u0440\u043e\u0441 \u2014 \u043f\u043e \u043a\u0430\u043a\u0438\u043c \u043f\u0443\u0442\u044f\u043c \u0438\u0449\u0443\u0442\u0441\u044f \u043c\u043e\u0434\u0443\u043b\u0438. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u0435\u0449\u0451 \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u0442\u0435\u043b\u043e\u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f, \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u044f, \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u043c\u043e\u0434\u0443\u043b\u0438 \u0432 \u0434\u0432\u0443\u0445 \u043c\u0435\u0441\u0442\u0430\u0445.<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438, \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0432 ${WORKDIR}\/mnt. \u0422\u0430\u043c \u0443 \u043d\u0430\u0441 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 files \u0441 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438, \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043b\u0443\u0436\u0435\u0431\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432, \u0438 \u0434\u0432\u0435 \u0434\u043b\u0438\u043d\u043d\u044b\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0441\u0441\u044b\u043b\u043a\u0438 \u0441 \u0445\u0432\u043e\u0441\u0442\u0438\u043a\u043e\u043c -install. \u0418\u043c\u0435\u043d\u0430 \u044d\u0442\u0438\u0445 \u0441\u0441\u044b\u043b\u043e\u043a \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u043e\u0431\u043e\u0439 SHA256 \u0445\u0435\u0448\u0438 \u043e\u0442 \u0438\u043c\u0451\u043d \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u0432 &quot;${WORKDIR}\/custom&quot; \u0438 &quot;${WORKDIR}\/vanilla&quot;. \u041f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0437\u0430\u043d\u043e\u0432\u043e \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442 \u0445\u0435\u0448\u0438 \u043f\u043e \u0438\u043c\u0435\u043d\u0430\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u0432, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0445 \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0435 &#8216;-b&#8217; \u0438 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043a\u0430\u0442\u044c \u0438\u043d\u0434\u0435\u043a\u0441\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0432 \/mnt \u043f\u043e \u0434\u0430\u043d\u043d\u044b\u043c \u0441\u0441\u044b\u043b\u043a\u0430\u043c. \u041d\u043e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043d\u0430 \u0444\u043b\u0435\u0448\u043a\u0435, \u0433\u0434\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044b \u0441 \u044f\u0434\u0440\u043e\u043c \u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 \u0431\u0443\u0434\u0443\u0442 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0441\u043e\u0432\u0441\u0435\u043c \u0432 \u0434\u0440\u0443\u0433\u0438\u0435 \u043c\u0435\u0441\u0442\u0430, \u0438 \u0445\u0435\u0448\u0438 \u044d\u0442\u0438\u0445 \u0442\u043e\u0447\u0435\u043a \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u0443\u0434\u0443\u0442 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u0442\u044c\u0441\u044f. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code class=\"bash\">$ cd ${WORKDIR}\/mnt  # \u041d\u0430 \u0444\u043b\u0435\u0448\u043a\u0435 \u0440\u0430\u0437\u0434\u0435\u043b \u0441 \u044f\u0434\u0440\u043e\u043c \u0431\u0443\u0434\u0435\u043c \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \/media\/sys # \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0441 \u0438\u043d\u0434\u0435\u043a\u0441\u0430\u043c\u0438 \u0434\u043b\u044f \u044f\u0434\u0440\u0430 $ ln -s `echo ${WORKDIR}\/custom | sha256 -q`-install ${WORKDIR}\/mnt\/`echo \/media\/sys | sha256 -q`-install  # \u0410 \u0440\u0430\u0437\u0434\u0435\u043b \u0441 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 - \u0432 \/media\/mfs $ ln -s `echo ${WORKDIR}\/vanilla | sha256 -q`-install ${WORKDIR}\/mnt\/`echo \/media\/mfs | sha256 -q`-install  # \u0410\u0440\u0445\u0438\u0432\u0438\u0440\u0443\u0435\u043c $ tar -cvf ${BASE}\/update.tar .  $ cd ${BASE} <\/code><\/pre>\n<p>  \u0410\u0440\u0445\u0438\u0432 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043c \u043d\u0430 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u043d\u0443\u044e \u0444\u043b\u0435\u0448\u043a\u0443. \u0411\u0443\u0434\u0435\u043c \u0441\u0447\u0438\u0442\u0430\u0442\u044c, \u0447\u0442\u043e \u043e\u043d\u0430 \u043e\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u043f\u043e\u0434 FAT.<\/p>\n<p>  \u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u0441\u044f \u0441 \u043d\u0430\u0448\u0435\u0439 \u0444\u043b\u0435\u0448\u043a\u0438 \u0441 caBSD, \u0432\u044b\u0431\u0440\u0430\u0432 \u0442\u0440\u0435\u0442\u0438\u0439 \u043f\u0443\u043d\u043a\u0442 \u0432 \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u043e\u043c \u043c\u0435\u043d\u044e \u2014 GENERIC \u044f\u0434\u0440\u043e \u0438 mfs2 \u043e\u0431\u0440\u0430\u0437. \u0412\u043e \u0432\u0442\u043e\u0440\u043e\u043c \u043e\u043a\u043d\u0435 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0432\u0445\u043e\u0434\u0438\u043c \u043a\u0430\u043a root.<\/p>\n<pre><code class=\"bash\"># \u041d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0438 \u0434\u043b\u044f \u0442\u043e\u0447\u0435\u043a \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \/mnt \u0443 \u043d\u0430\u0441 \u0437\u0430\u043d\u044f\u0442 - \u043e\u043d \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d # \u0432 \/etc\/freebsd-update.conf \u043a\u0430\u043a \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \/media $ mkdir \/media\/{sys,mfs,flash}  # \u041c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u0440\u0430\u0437\u0434\u0435\u043b $ mount \/dev\/gpt\/system \/media\/sys  # \u0432 \/media\/sys \u043d\u0430\u043c \u043e\u0442\u043a\u0440\u044b\u043b\u0441\u044f \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \/boot \u0441 \u044f\u0434\u0440\u0430\u043c\u0438 \u0438 \u0434\u0432\u0443\u043c\u044f \u043e\u0431\u0440\u0430\u0437\u0430\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b. # \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0432\u0442\u043e\u0440\u043e\u0439 \u043e\u0431\u0440\u0430\u0437 \u0432 \/dev\/md1 (md0 \u0437\u0430\u043d\u044f\u0442\u043e \u043d\u0430\u0448\u0438\u043c \/) $ mdconfig -a -t vnode -f \/media\/sys\/mfs2 -u 1 $ mount \/dev\/md1 \/media\/mfs  # \u041c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u043d\u0443\u044e \u0444\u043b\u0435\u0448\u043a\u0443 \u0441 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u0432 \/media\/flash $ mount_msdosfs -l \/dev\/da1s1 \/media\/flash  # \u0422\u0430\u043a \u043a\u0430\u043a \u0440\u0430\u0437\u043c\u0435\u0440 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u043c, \u0442\u043e \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0442\u044c \u0438\u0445 \u0431\u0443\u0434\u0435\u043c \u0432 tmpfs # \u041e\u0446\u0435\u043d\u0438\u0432\u0430\u0435\u043c \u0440\u0430\u0437\u043c\u0435\u0440 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 $ du -h \/media\/flash\/update.tar # \u041c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430 $ mount -t tmpfs -o size=100m tmpfs \/mnt  # \u0418\u0437\u0432\u043b\u0435\u043a\u0430\u0435\u043c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0432 \/mnt $ tar -xvf \/media\/flash\/update.tar -C \/mnt  # \u0420\u0430\u0437\u0430\u0440\u0445\u0438\u0432\u0438\u0440\u0443\u0435\u043c \u044f\u0434\u0440\u043e (\u0435\u0441\u043b\u0438 \u0441\u0436\u0438\u043c\u0430\u043b\u0438 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e) # gunzip \/media\/sys\/boot\/kernel\/kernel.gz  # freebsd-update \u0431\u0435\u0440\u0451\u0442 \u043f\u0443\u0442\u044c \u043a \u044f\u0434\u0440\u0443 \u0438\u0437 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u044f\u0434\u0440\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0451 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u0438\u0440\u0443\u0435\u043c $ sysctl kern.bootfile=&quot;\/media\/sys\/boot\/kernel\/kernel&quot;  # \u041e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u044f\u0434\u0440\u043e $ freebsd-update install -b \/media\/sys -d \/mnt  # \u0421\u0436\u0438\u043c\u0430\u0435\u043c \u044f\u0434\u0440\u043e. \u0414\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0440\u0430\u0437\u0430. # \u0425\u043e\u0442\u044f \u043c\u043e\u0436\u043d\u043e \u0438 \u043d\u0435 \u0441\u0436\u0438\u043c\u0430\u0442\u044c - \u043c\u0435\u0441\u0442\u043e \u0432 \u043e\u0431\u0440\u0430\u0437\u0435 \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043e # gzip -9 \/media\/sys\/boot\/kernel\/kernel  # \u041e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u043c\u0438\u0440 $ freebsd-update install -b \/media\/mfs -d \/mnt  # \u0423\u0431\u0438\u0440\u0430\u0435\u043c \u0437\u0430 \u0441\u043e\u0431\u043e\u0439 $ umount \/media\/flash $ umount \/mnt $ umount \/media\/mfs $ mdconfig -d -u 1 $ umount \/media\/sys $ rmdir \/media{sys,mfs}  $ reboot  # \u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u0441\u044f, \u0432\u044b\u0431\u0440\u0430\u0432 \u0442\u0440\u0435\u0442\u0438\u0439 \u043f\u0443\u043d\u043a\u0442 \u043c\u0435\u043d\u044e  # \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c $ freebsd-version  10.1-RELEASE-p12  $ openssl version  OpenSSL 1.0.1l-freebsd 15 Jan 2015 <\/code><\/pre>\n<p>  \u0412\u0441\u0451.<\/p>\n<p>  \u041a\u0430\u0441\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0430\u043c\u043e\u0433\u043e \u0426\u0421 \u2014 \u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0430, \u043f\u0440\u0438\u0432\u043e\u0434\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u044b openssl req &#8230;, openssl ca &#8230;, \u0438 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435 \u043d\u0435 \u0432\u0438\u0436\u0443 \u0441\u043c\u044b\u0441\u043b\u0430. \u041d\u043e \u043c\u043e\u0433\u0443 \u043f\u043e\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u0442\u044c \u043d\u0435\u043f\u043b\u043e\u0445\u043e\u0439 \u0440\u0435\u0441\u0443\u0440\u0441 pki-tutorial, \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u043d\u0438\u0436\u0435.<\/p>\n<p>  \u0421\u0441\u044b\u043b\u043a\u0438 \u043f\u043e \u0442\u0435\u043c\u0435:<\/p>\n<p>  Russian Unicode, <a href=\"https:\/\/wiki.freebsd.org\/Newcons\">wiki.freebsd.org\/Newcons<\/a> \u0438 <a href=\"http:\/\/unix1.jinr.ru\/~lavr\/vt\/vtcons.html\">unix1.jinr.ru\/~lavr\/vt\/vtcons.html<\/a><br \/>  \u0428\u0440\u0438\u0444\u0442\u044b \u0438\u0437 \u0441\u043a\u043b\u0435\u043f\u0430 \u2014 <a href=\"http:\/\/habrahabr.ru\/post\/137544\/\">habrahabr.ru\/post\/137544<\/a><br \/>  OpenSSL PKI Tutorial \u2014 <a href=\"http:\/\/pki-tutorial.readthedocs.org\">pki-tutorial.readthedocs.org<\/a><br \/>  mfsBSD, <a href=\"http:\/\/mfsbsd.vx.sk\/\">mfsbsd.vx.sk<\/a><br \/>  EasyBSD, <a href=\"http:\/\/www.fbsd-dev.org\/\">www.fbsd-dev.org<\/a><br \/>  FreeWDE, <a href=\"https:\/\/rop.gonggri.jp\/?p=269\">rop.gonggri.jp\/?p=269<\/a>             <\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/262151\/\"> http:\/\/habrahabr.ru\/post\/262151\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>             \u041e\u0434\u043d\u0430\u0436\u0434\u044b \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0432 \u043f\u043e\u0434\u0447\u0438\u043d\u0451\u043d\u043d\u043e\u043c, \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u0438\u043c\u0435\u044e\u0449\u0435\u0439\u0441\u044f \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0446\u0435\u043d\u0442\u0440\u0435 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0434\u043b\u044f &#8216;\u0432\u044b\u0435\u0437\u0434\u043d\u043e\u0433\u043e&#8217; \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u2014 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0432 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0440\u0430\u0437\u044a\u0435\u0437\u0434\u043e\u0432. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0431\u044b\u043b\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0433\u043e \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u043c \u0438 \u0440\u0430\u0437\u0443\u043c\u043d\u043e, \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0446\u0435\u043b\u0435\u0439, \u0437\u0430\u0449\u0438\u0449\u0451\u043d\u043d\u044b\u043c. \u041f\u0440\u0438\u0435\u043c\u043b\u0435\u043c\u044b\u043c \u0431\u044b\u043b \u043f\u0440\u0438\u0437\u043d\u0430\u043d \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441 \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u043e\u0439 \u0444\u043b\u0435\u0448\u043a\u043e\u0439 \u0441 \u043a\u0430\u043a\u0438\u043c-\u043d\u0438\u0431\u0443\u0434\u044c *nix + openssl \u0438 \u0442\u0438\u043f\u043e\u0432\u044b\u043c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u2014 \u0438\u043c\u0435\u044e\u0449\u0438\u0439\u0441\u044f \u043f\u043e\u0434 \u0440\u0443\u043a\u043e\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c, \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0444\u043b\u0435\u0448\u043a\u0443, \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u0441\u044f \u0441 \u043d\u0435\u0451, \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c, \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c \u0444\u043b\u0435\u0448\u043a\u0443, \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440. \u0421\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u043a\u043b\u044e\u0447\u0438 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0426\u0421, \u0435\u0433\u043e \u0444\u0430\u0439\u043b\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438, \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0434\u043b\u044f \u0434\u0432\u0443\u0445\u0444\u0430\u043a\u0442\u043e\u0440\u043d\u043e\u0439 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0432\u044b\u043d\u0435\u0441\u0435\u043d\u044b \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u043d\u043e\u0441\u0438\u0442\u0435\u043b\u0438.<\/p>\n<p>  \u041d\u0430\u0447\u0430\u043b\u0441\u044f \u0432\u044b\u0431\u043e\u0440\u0430 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430 *nix. \u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u044b\u043b\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435:<\/p>\n<ul>\n<li>\u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u043c \u0432 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 OpenSSL<\/li>\n<li>\u043d\u0430\u043b\u0438\u0447\u0438\u0435 i386 \u0432\u0435\u0440\u0441\u0438\u0438. \u0413\u0438\u0433\u0430\u0431\u0430\u0439\u0442\u044b \u043f\u0430\u043c\u044f\u0442\u0438 \u043d\u0430\u043c \u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f, \u0430 \u0432\u043e\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043d\u0430 \u043d\u0435\u0442\u0431\u0443\u043a\u0435 \u0441 x86 Intel Atom \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u0430<\/li>\n<li>\u0437\u0430\u043f\u0443\u0441\u043a \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438\u0437 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438, \u043b\u0438\u0431\u043e \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u0438 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 r\/o \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432. \u0412 \u0438\u0434\u0435\u0430\u043b\u0435, \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u0444\u043b\u0435\u0448\u043a\u0438 \u043f\u0440\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0439 \u0437\u0430\u0449\u0438\u0442\u0435 \u043e\u0442 \u0437\u0430\u043f\u0438\u0441\u0438 (\u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 Qumo \u0441\u0435\u0440\u0438\u0438 Yin &#038; Yan)<\/li>\n<li>\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u043e\u0439 \u0438\u043d\u0441\u0442\u0430\u043b\u043b\u044f\u0446\u0438\u0438<\/li>\n<li>\u0436\u0435\u043b\u0430\u0442\u0435\u043b\u0435\u043d \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u0440\u043e\u043a \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0440\u0435\u043b\u0438\u0437\u0430<\/li>\n<\/ul>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0432 \u0444\u0438\u043d\u0430\u043b \u0432\u044b\u0448\u043b\u0438 \u0434\u0432\u0430 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430 \u2014 Alpine Linux \u0438 OpenBSD. \u0412\u0441\u0451 \u0431\u044b \u0445\u043e\u0440\u043e\u0448\u043e, \u0438 \u043d\u0435 \u0431\u044b\u043b\u043e \u0431\u044b \u0441\u043c\u044b\u0441\u043b\u0430 \u043f\u0438\u0441\u0430\u0442\u044c \u044d\u0442\u0443 \u0441\u0442\u0430\u0442\u044c\u044e, \u043a\u0430\u043a \u0412\u041d\u0415\u0417\u0410\u041f\u041d\u041e \u0443\u0442\u043e\u0447\u043d\u0438\u043b\u0438\u0441\u044c \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u043a \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u2014 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u043f\u043e\u043b\u043d\u0430\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430 \u0432 Unicode \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u0438. \u041d\u0430 \u0432\u0432\u043e\u0434 \u0438 \u043d\u0430 \u0432\u044b\u0432\u043e\u0434.<\/p>\n<p>  \u041d\u0443 \u0432\u0441\u0451, \u043f\u0440\u0438\u043f\u043b\u044b\u043b\u0438. \u041e\u0431\u0430 \u0444\u0438\u043d\u0430\u043b\u0438\u0441\u0442\u0430 \u0432\u044b\u0431\u044b\u043b\u0438 \u0438\u0437 \u0441\u043e\u0440\u0435\u0432\u043d\u043e\u0432\u0430\u043d\u0438\u044f. Alpine Linux \u0432 \u0441\u0438\u043b\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0439 \u0432 \u043d\u0451\u043c \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 C, \u0430 OpenBSD\u2026 \u043d\u0443, \u0443 \u043d\u0435\u0451 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u0438\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u044b. \u041e\u0434\u043d\u0430\u043a\u043e \u044d\u0442\u043e \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b\u043e \u0438\u043d\u0430\u0447\u0435 \u0432\u0437\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u043d\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u044b, \u0438 \u0432 \u0444\u0430\u0432\u043e\u0440\u0438\u0442\u0430\u0445 \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c FreeBSD. \u041a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0439 \u0434\u0440\u0430\u0439\u0432\u0435\u0440 vt (\u0440\u0430\u043d\u0435\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u043a\u0430\u043a newcons) \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 Unicode \u00ab\u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438\u00bb, \u0440\u0443\u0441\u0441\u043a\u0438\u0435 \u0448\u0440\u0438\u0444\u0442\u044b \u0438\u0434\u0443\u0442 \u0432 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0435, \u0432\u044b\u0448\u0435\u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043a\u0440\u0438\u0442\u0435\u0440\u0438\u0438 \u0432 \u0441\u0443\u043c\u043c\u0435 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u043e\u043b\u043d\u043e. \u0411\u043e\u043d\u0443\u0441\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043e\u0444\u0444\u043b\u0430\u0439\u043d\u043e\u0432\u043e\u0433\u043e \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0433\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043d\u0430 \u0444\u043b\u0435\u0448\u043a\u0435.<\/p>\n<p>  \u041d\u0430\u0447\u0430\u043b\u043e\u0441\u044c \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u043e\u0439 \u0438\u043d\u0441\u0442\u0430\u043b\u043b\u044f\u0446\u0438\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438. \u0413\u043e\u0442\u043e\u0432\u044b\u0435 \u043d\u0430\u0431\u043e\u0440\u044b \u2014 tinybsd, nanobsd, picobsd \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u043b\u0438 \u0432\u043f\u0435\u0447\u0430\u0442\u043b\u0435\u043d\u0438\u0435 \u00ab\u0441\u0442\u0430\u0440\u044b\u0439, \u0434\u0440\u0435\u0432\u043d\u0438\u0439, \u0435\u0449\u0451 \u0434\u0440\u0435\u0432\u043d\u0435\u0435\u00bb. \u041e\u0434\u043d\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0441\u0447\u0451\u0442\u044b \u0441\u0435\u043a\u0442\u043e\u0440\u043e\u0432, \u0433\u043e\u043b\u043e\u0432\u043e\u043a, \u0446\u0438\u043b\u0438\u043d\u0434\u0440\u043e\u0432 \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u0442\u0438\u043f\u043e\u0432 \u0444\u043b\u0435\u0448\u0435\u043a \u0432 picobsd\u2026 \u041f\u0440\u044f\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0430 MFM, RLL, ST-506\u2026<\/p>\n<p>  \u0422\u0432\u043e\u0440\u0435\u043d\u0438\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u044d\u043d\u0442\u0443\u0437\u0438\u0430\u0441\u0442\u043e\u0432, \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 miniBSD, easyBSD, mfsBSD \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u0438 \u043f\u043e\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0435, \u043d\u043e \u0432 \u0438\u0442\u043e\u0433\u0435 \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u043f\u043e\u0438\u0433\u0440\u0430\u0442\u044c \u0432 \u0434\u043e\u0431\u0440\u043e\u0433\u043e \u0434\u043e\u043a\u0442\u043e\u0440\u0430 \u0424\u0440\u0430\u043d\u043a\u0435\u043d\u0448\u0442\u0435\u0439\u043d\u0430.<\/p>\n<p>  \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043c\u044b \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u0443\u044e \u0444\u043b\u0435\u0448\u043a\u0443 \u0441:<\/p>\n<ul>\n<li>\u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u043e\u0439 \u0438\u043d\u0441\u0442\u0430\u043b\u043b\u044f\u0446\u0438\u0435\u0439 FreeBSD 10.1<\/li>\n<li>\u0440\u0443\u0441\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u044e \u0432 Unicode<\/li>\n<li>\u043a\u043e\u0440\u043d\u0435\u0432\u044b\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u043c, \u043c\u043e\u043d\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u043c\u0441\u044f \u0432 \u043f\u0430\u043c\u044f\u0442\u0438<\/li>\n<li>\u0440\u0430\u0437\u0434\u0435\u043b\u043e\u043c \u0434\u043b\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043d\u0430\u0448\u0435\u0433\u043e \u0426\u0421<\/li>\n<li>\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u043c \u0434\u043b\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u043a\u043b\u044e\u0447\u0435\u0439 \u0426\u0421<\/li>\n<li>FAT \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u043c \u0434\u043b\u044f \u043e\u0431\u043c\u0435\u043d\u0430 \u0441 \u0432\u043d\u0435\u0448\u043d\u0438\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u043c\u0438 \u043d\u0430 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442 \u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u043c\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u0430\u043c\u0438<\/li>\n<li>\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u0444\u0444\u043b\u0430\u0439\u043d\u043e\u0432\u043e\u0433\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b<\/li>\n<li>\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0432\u044b\u0431\u043e\u0440\u0430 \u044f\u0434\u0440\u0430 \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 (\u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 + GENERIC)<\/li>\n<li>\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0432\u044b\u0431\u043e\u0440\u0430 \u043e\u0431\u0440\u0430\u0437\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 (\u044d\u0442\u0430\u043b\u043e\u043d\u043d\u044b\u0439 + \u043e\u0431\u043d\u043e\u0432\u043b\u0451\u043d\u043d\u044b\u0439 \u0434\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 FreeBSD)<\/li>\n<\/ul>\n<p>  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-261025","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/261025","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=261025"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/261025\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=261025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=261025"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=261025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}